projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added POS and cash sale support.
[fa-stable.git]
/
sales
/
includes
/
db
/
payment_db.inc
diff --git
a/sales/includes/db/payment_db.inc
b/sales/includes/db/payment_db.inc
index 5197a9965064e2a2f9c1f2be240c7ba5bdbe88e9..74054b06965669e886c5e6389b6fa44a6286a4cd 100644
(file)
--- a/
sales/includes/db/payment_db.inc
+++ b/
sales/includes/db/payment_db.inc
@@
-13,10
+13,10
@@
function write_customer_payment($trans_no, $customer_id, $branch_id, $bank_accou
$customer_id, $branch_id, $date_, $ref, $amount, $discount);
if ($trans_no != 0) {
$customer_id, $branch_id, $date_, $ref, $amount, $discount);
if ($trans_no != 0) {
- delete_comments(12, $
invoice
_no);
- void_bank_trans(12, $t
ype
_no, true);
+ delete_comments(12, $
trans
_no);
+ void_bank_trans(12, $t
rans
_no, true);
void_gl_trans(12, $trans_no, true);
void_gl_trans(12, $trans_no, true);
- void_cust_allocations(12, $trans_no);
+ void_cust_allocations(12, $trans_no
, $date_
);
}
/* Bank account entry first */
}
/* Bank account entry first */