Atualizando finanial_movements_resume.php

This commit is contained in:
Kenio 2025-08-25 11:48:23 -03:00
parent d79381c310
commit e8eac8dddf

View file

@ -193,7 +193,10 @@ try{
'10' => 'outubro',
'11' => 'novembro',
'12' => 'dezembro'
];
];
// Armazena o total de saídas pendetens/futuras
$totalOutputs = null;
?>
@ -375,6 +378,8 @@ try{
$ProductsCompaniesResult = $FinancialMovements->OutputsNotPaidAll();
foreach($ProductsCompaniesResult as $ProductsCompaniesKey => $Result){
$totalOutputs += $Result->movement_value;
?>
<tr>
@ -387,7 +392,18 @@ try{
<?php } } ?>
<tbody>
</tbody>
<tfoot>
<tr>
<td colspan="4">
Total de saídas R$ <?php echo number_format($Result->totalOutputs, 2, ',', '.');?>
</td>
</tr>
</tfoot>
</table>
</div>