X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_payments.php;h=be442b1c993f2aec3b244c67637fed001fbd57df;hb=b7c034de13e029ab5a189b083096908af36b91f9;hp=1e1b55628037617eb5a7ed7b74bd20b9f94d438d;hpb=0dfa3ce0411c9d123d25d6a0079668e551a88b14;p=fa-stable.git diff --git a/sales/customer_payments.php b/sales/customer_payments.php index 1e1b5562..be442b1c 100644 --- a/sales/customer_payments.php +++ b/sales/customer_payments.php @@ -262,7 +262,7 @@ function read_customer_data() $myrow = get_customer_habit($_POST['customer_id']); $_POST['HoldAccount'] = !$myrow ? false : $myrow["dissallow_invoices"]; - $_POST['pymt_discount'] = !$myrow ? 0 : $myrow["pymt_descount"]; + $_POST['pymt_discount'] = !$myrow ? 0 : $myrow["pymt_discount"]; // To support Edit feature // If page is called first time and New entry fetch the nex reference number if (!$_SESSION['alloc']->trans_no && !isset($_POST['charge']))