Atualizando finanial_movements_resume.php
This commit is contained in:
parent
d79381c310
commit
e8eac8dddf
1 changed files with 18 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue