+ //$prev = get_balance(null, $dimension, $dimension2, $begin, $from, false, false);
+ //$curr = get_balance(null, $dimension, $dimension2, $from, $to, true, true);
+ //$tot = get_balance(null, $dimension, $dimension2, $begin, $to, false, true);
+
+ if ($balances == 0)
+ {
+ $rep->TextCol(0, 2, _("Total"));
+ $rep->AmountCol(2, 3, $pdeb, $dec);
+ $rep->AmountCol(3, 4, $pcre, $dec);
+ $rep->AmountCol(4, 5, $cdeb, $dec);
+ $rep->AmountCol(5, 6, $ccre, $dec);
+ $rep->AmountCol(6, 7, $tdeb, $dec);
+ $rep->AmountCol(7, 8, $tcre, $dec);
+ $rep->NewLine();
+ }