X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep602.php;h=5c9b324ff5c6ca3523f0d3f83bc58dccf3375312;hb=9a1b3abd5371ad7f6315db1d56f8356587444314;hp=79b3387b3a1dbea64463eae9021c41e4c730947a;hpb=264c09696d65efe4532c197f317162daf8c24f32;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