Fixed point of sale handling and terms selection
[fa-stable.git] / reporting / rep601.php
index 42c9ef30007820078c328edb8e9f12aadafe6df0..1d47bc78a1510ca4e201862ab6cdff147e2709bb 100644 (file)
@@ -104,11 +104,11 @@ function print_bank_transactions()
                $rep->Font();
                $total = $prev_balance;
                $rep->NewLine(2);
+               $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))
                        {