+ if ($typeno != 0)
+ {
+ $rep->Line($rep->row += 6);
+ $rep->NewLine();
+ $rep->AmountCol(4, 5, $debit, $dec);
+ $rep->AmountCol(5, 6, abs($credit), $dec);
+ $totdeb += $debit;
+ $totcre += $credit;
+ $rep->Line($rep->row -= 4);
+ $rep->NewLine();
+ $rep->TextCol(0, 4, _("Total"));
+ $rep->AmountCol(4, 5, $totdeb, $dec);
+ $rep->AmountCol(5, 6, abs($totcre), $dec);
+ $rep->Line($rep->row -= 4);
+ }