-
- $payment_no = write_customer_trans(ST_CUSTPAYMENT, $trans_no, $customer_id, $branch_id,
- $date_, $ref, $amount, $discount, 0, 0, 0, 0, 0, 0, "", 0, $rate);
-
- $bank_gl_account = get_bank_gl_account($bank_account);
-
+
+ //Chaitanya : 13_OCT_2011 : Voiding Tasks first
+ //Reason : After modifying the customer trans, it was getting voided later