The average material cost test for either qoh > 0 and qoh + qty > 0 has changed to...
[fa-stable.git] / reporting / rep602.php
index 788bedbb302eb516f3b610e40de436f3f5f406a5..2c4021f00aa3be36e6ab90e63671dba20f83d4cf 100644 (file)
@@ -51,6 +51,7 @@ function get_bank_transactions($from, $to, $account)
                WHERE trans.bank_act = '$account'
                AND trans_date >= '$from'
                AND trans_date <= '$to'
+               AND trans.amount <> 0
                ORDER BY trans_date,trans.id";
 
        return db_query($sql,"The transactions for '$account' could not be retrieved");
@@ -73,7 +74,7 @@ function print_bank_transactions_reconcile()
        $rep = new FrontReport(_('Bank Statement w/Reconcile'), "BankStatementReconcile", user_pagesize(), 9, "L");
        $dec = user_price_dec();
 
-       $cols = array(0, 90, 110, 170, 225, 450, 500, 550, 600, 660, 700);
+       $cols = array(0, 90, 120, 170, 225, 450, 500, 550, 600, 660, 700);
 
        $aligns = array('left', 'left', 'left', 'left', 'left', 'right', 'right', 'right', 'center', 'left');