X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep108.php;h=2f20bb6394d7de623eba46d9ef0b682006e84f8b;hb=35859a9eeec414240fe0bb94af128ab84ee4e278;hp=b47995418ed70f2ec718226f293d6dd0d3cf4470;hpb=95ff74b5722826544743a01daf527aa3c9efe11a;p=fa-stable.git diff --git a/reporting/rep108.php b/reporting/rep108.php index b4799541..2f20bb63 100644 --- a/reporting/rep108.php +++ b/reporting/rep108.php @@ -137,7 +137,8 @@ function print_statements() $rep->TextCol(2, 3, sql2date($myrow2['tran_date']), -2); if ($myrow2['type'] == ST_SALESINVOICE) $rep->TextCol(3, 4, sql2date($myrow2['due_date']), -2); - if ($myrow2['type'] == ST_SALESINVOICE || $myrow2['type'] == ST_BANKPAYMENT) + if ($myrow2['type'] == ST_SALESINVOICE || $myrow2['type'] == ST_BANKPAYMENT || + ($myrow2['type'] == ST_JOURNAL && $myrow2["TotalAmount"] > 0.0)) $rep->TextCol(4, 5, $DisplayTotal, -2); else $rep->TextCol(5, 6, $DisplayTotal, -2);