From: Joe Hunt Date: Fri, 26 Jun 2009 19:45:46 +0000 (+0000) Subject: Minor bug X-Git-Tag: v2.4.2~19^2~1353 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=310a0d3ae5aeacbdaa0069546cc2652ac7518e6b;p=fa-stable.git Minor bug --- diff --git a/sales/includes/db/payment_db.inc b/sales/includes/db/payment_db.inc index 6f079fd7..8ae5bdf3 100644 --- a/sales/includes/db/payment_db.inc +++ b/sales/includes/db/payment_db.inc @@ -73,7 +73,7 @@ function write_customer_payment($trans_no, $customer_id, $branch_id, $bank_accou /*now enter the bank_trans entry */ add_bank_trans(12, $payment_no, $bank_account, $ref, - $date_, $amount, payment_person_types::customer(), $customer_id, + $date_, $amount - $charge, payment_person_types::customer(), $customer_id, get_customer_currency($customer_id)); add_comments(12, $payment_no, $date_, $memo_);