$grandtotal[$i] += $init[$i];
}
- if (db_num_rows($res) == 0 && !no_zeros)
+ if (db_num_rows($res) == 0 && !$no_zeros)
{
$rep->TextCol(0, 2, $myrow['name']);
$rep->AmountCol(3, 4, $init[3], $dec);
}
elseif ($dim == 1)
{
- $cols = array(0, 65, 105, 125, 175, 230, 230, 345, 405, 465, 525);
+ $cols = array(0, 65, 105, 125, 175, 260, 260, 345, 405, 465, 525);
//------------0--1---2----3----4----5----6----7----8----9----10-------
//------------------------dim1----------------------------------------
$headers = array(_('Type'), _('Ref'), _('#'), _('Date'), _('Dimension'), "", _('Person/Item'),