+ if ($no_zeros && db_num_rows($res) == 0) continue;
+
+ $rep->fontSize += 2;
+ $rep->TextCol(0, 2, $myrow['name']);
+ if ($convert) $rep->TextCol(2, 3, $myrow['curr_code']);
+ $rep->fontSize -= 2;
+ $rep->TextCol(3, 4, _("Open Balance"));
+ $rep->AmountCol(4, 5, $init[0], $dec);
+ $rep->AmountCol(5, 6, $init[1], $dec);
+ $rep->AmountCol(6, 7, $init[2], $dec);
+ $rep->AmountCol(7, 8, $init[3], $dec);
+ $rep->NewLine(1, 2);
+ if (db_num_rows($res)==0) continue;
+