X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep602.php;h=5c9b324ff5c6ca3523f0d3f83bc58dccf3375312;hb=b0c4c9777f9574e9c2805fddc2a12576d75d94ce;hp=79b3387b3a1dbea64463eae9021c41e4c730947a;hpb=1571869d54be48452fdbe08f25130972ff0a7b5a;p=fa-stable.git diff --git a/reporting/rep602.php b/reporting/rep602.php index 79b3387b..5c9b324f 100644 --- a/reporting/rep602.php +++ b/reporting/rep602.php @@ -108,11 +108,11 @@ function print_bank_transactions_reconcile() $rep->Font(); $total = $prev_balance; $rep->NewLine(2); + // Keep a running total as we loop through + // the transactions. + $total_debit = $total_credit = 0; if ($rows > 0) { - // Keep a running total as we loop through - // the transactions. - $total_debit = $total_credit = 0; while ($myrow=db_fetch($trans)) { @@ -217,4 +217,3 @@ function print_bank_transactions_reconcile() $rep->End(); } -?> \ No newline at end of file