Function line misplaced.
[fa-stable.git] / gl / gl_bank.php
index 3d3f86e64e33643671549e348713a60ad0a0e7fd..71e2c0450f74f8ed5383589b8ad0c55b0f8235e3 100644 (file)
@@ -185,7 +185,6 @@ function create_cart($type, $trans_no)
                                        // so we have to restore it from original gl amounts
                                        $ex_rate = $bank_trans['amount']/$row['amount'];
                                } else {
-                                       $date = $row['tran_date'];
                                        $cart->add_gl_item( $row['account'], $row['dimension_id'],
                                                $row['dimension2_id'], $row['amount'], $row['memo_']);
                                }