projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee58357
)
Minor bug
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 26 Jun 2009 19:45:46 +0000
(19:45 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 26 Jun 2009 19:45:46 +0000
(19:45 +0000)
sales/includes/db/payment_db.inc
patch
|
blob
|
history
diff --git
a/sales/includes/db/payment_db.inc
b/sales/includes/db/payment_db.inc
index 6f079fd7c957ac5ffe321b5fb2dc1b8ce0fd36d7..8ae5bdf3c1d3e0f4fd7227f1f80b11c0ce2fe70f 100644
(file)
--- 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_);