X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_payments.php;fp=sales%2Fcustomer_payments.php;h=1f49461c400f3d13f488295e31789b49061eb769;hb=6ae59a0b8741ce89f30b64c2d0f376835eb0a778;hp=7b3b117f90fc4a76e4edf20234faad62ca4ffd90;hpb=24b3085fffc89795238b82a393b5a8d64e35b576;p=fa-stable.git diff --git a/sales/customer_payments.php b/sales/customer_payments.php index 7b3b117f..1f49461c 100644 --- 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']) {