if ($dim >= 1)
$rep->TextCol(3, 4, get_dimension_string($myrow['dimension_id']));
if ($dim > 1)
$rep->TextCol(4, 5, get_dimension_string($myrow['dimension2_id']));
$rep->TextCol(5, 6, payment_person_types::person_name($myrow["person_type_id"],$myrow["person_id"], false));
if ($myrow['amount'] > 0.0)
if ($dim >= 1)
$rep->TextCol(3, 4, get_dimension_string($myrow['dimension_id']));
if ($dim > 1)
$rep->TextCol(4, 5, get_dimension_string($myrow['dimension2_id']));
$rep->TextCol(5, 6, payment_person_types::person_name($myrow["person_type_id"],$myrow["person_id"], false));
if ($myrow['amount'] > 0.0)