db->query($t);
$LiabilitiesAccounts = $this->acc->getAccountsByGroup(2);
$EquityAccounts = $this->acc->getAccountsByGroup(5);
$AssetsAccounts = $this->acc->getAccountsByGroup(1);
$LiabilitiesTotal = $this->acc->getAccountBalanceByGroup(2);
$EquityTotal = $this->acc->getAccountBalanceByGroup(5);
$AssetsTotal = $this->acc->getAccountBalanceByGroup(1, false);
$IncomeAccounts = $this->acc->getAccountsByGroup(3);
$ExpenseAccounts = $this->acc->getAccountsByGroup(4);
$IncomesTotal = $this->acc->getAccountBalanceByGroup(3);
$ExpensesTotal = $this->acc->getAccountBalanceByGroup(4);
$PL = $IncomesTotal - $ExpensesTotal;
$LiabilitiesTotal = $LiabilitiesTotal + $EquityTotal + $PL;
?>
Balance Sheet Statement |
Liabilities |
Amount |
Assets |
Amount |
acc->showTable($LiabilitiesAccounts); ?>
acc->showTable($EquityAccounts); ?>
|
acc->showTable($AssetsAccounts, false); ?>
|
Net Profit: |
|
|
|
Total Liabilities: |
|
Total Assets: |
|