Added Total Equities and Liabilities
This commit is contained in:
@@ -26,6 +26,7 @@ $result_accounts = mysqli_query($mysqli, $sql_accounts);
|
||||
$total_assets = 0;
|
||||
$total_liabilities = 0;
|
||||
$total_equity = 0;
|
||||
$currency = $session_company_currency;
|
||||
?>
|
||||
|
||||
<div class="card card-dark">
|
||||
@@ -121,6 +122,18 @@ $total_equity = 0;
|
||||
<th class="text-uppercase">Total Equity</th>
|
||||
<th class="text-right"><?php echo $formatted_total_equity; ?></th>
|
||||
</tr>
|
||||
<!-- Total Equity and Liabilities -->
|
||||
|
||||
<?php
|
||||
$total_liabilities_and_equity = $total_liabilities + $total_equity;
|
||||
$formatted_total_liabilities_and_equity = numfmt_format_currency($currency_format, $total_liabilities_and_equity, $currency);
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<th></th>
|
||||
<th class="text-uppercase">Total Liabilities and Equity</th>
|
||||
<th class="text-right"><?php echo $formatted_total_liabilities_and_equity; ?></th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user