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:
24b3085
)
Pressing the link -Entry customer payment for this invoice- now shows correct branch...
author
Joe
<unknown>
Tue, 6 Jan 2015 11:02:48 +0000
(12:02 +0100)
committer
Joe
<unknown>
Tue, 6 Jan 2015 11:02:48 +0000
(12:02 +0100)
sales/customer_payments.php
patch
|
blob
|
history
diff --git
a/sales/customer_payments.php
b/sales/customer_payments.php
index 7b3b117f90fc4a76e4edf20234faad62ca4ffd90..1f49461c400f3d13f488295e31789b49061eb769 100644
(file)
--- a/
sales/customer_payments.php
+++ b/
sales/customer_payments.php
@@
-54,6
+54,7
@@
if (!isset($_POST['bank_account'])) { // first page call
if($inv) {
$_SESSION['alloc']->person_id = $_POST['customer_id'] = $inv['debtor_no'];
$_SESSION['alloc']->read();
+ $_POST['BranchID'] = $inv['branch_code'];
$_POST['DateBanked'] = sql2date($inv['tran_date']);
foreach($_SESSION['alloc']->allocs as $line => $trans) {
if ($trans->type == ST_SALESINVOICE && $trans->type_no == $_GET['SInvoice']) {