diff --git a/account/application/views/accounts/pl_new.php b/account/application/views/accounts/pl_new.php index 4924e44..262e5b3 100644 --- a/account/application/views/accounts/pl_new.php +++ b/account/application/views/accounts/pl_new.php @@ -245,6 +245,15 @@ $BIBAccounts = new BIBAccounts(); + posting_side == "DR") ? $group->opening_balance : 0; + $incomes_totalOpeningCr += ($group->posting_side == "CR") ? $group->opening_balance : 0; + $incomes_totalThisYearDr += ($group->posting_side == "DR") ? $group->regular_balance : 0; + $incomes_totalThisYearCr += ($group->posting_side == "CR") ? $group->regular_balance : 0; + $incomes_totalClosingDr += ($group->posting_side == "DR") ? $group->closing_balance : 0; + $incomes_totalClosingCr += ($group->posting_side == "CR") ? $group->closing_balance : 0; + ?> @@ -252,7 +261,7 @@ $BIBAccounts = new BIBAccounts();
- +