diff --git a/report_balance_sheet.php b/report_balance_sheet.php
index 1495d79a..b048c7ca 100644
--- a/report_balance_sheet.php
+++ b/report_balance_sheet.php
@@ -26,6 +26,7 @@ $result_accounts = mysqli_query($mysqli, $sql_accounts);
$total_assets = 0;
$total_liabilities = 0;
$total_equity = 0;
+$currency = $session_company_currency;
?>
@@ -107,7 +108,7 @@ $total_equity = 0;
mysqli_data_seek($result_accounts, 0); // Reset the result pointer to the start
while ($row = mysqli_fetch_array($result_accounts)) {
$balance = $row['opening_balance'] + $row['total_payments'] + $row['total_revenues'] - $row['total_expenses'];
- $account_type = $row['account_type'];
+ $account_type = $row['account_type'];
if ($account_type >= 30) {
// Display equity account row
echoAccountRow($row, $balance);
@@ -121,6 +122,18 @@ $total_equity = 0;
Total Equity |
|
+
+
+
+
+
+ |
+ Total Liabilities and Equity |
+ |
+