Typo on line 265. Fixed.
authorJoe <joe.hunt.consulting@gmail.com>
Thu, 20 Oct 2022 07:14:06 +0000 (09:14 +0200)
committerJoe <joe.hunt.consulting@gmail.com>
Thu, 20 Oct 2022 07:14:06 +0000 (09:14 +0200)
sales/customer_payments.php

index 1e1b55628037617eb5a7ed7b74bd20b9f94d438d..be442b1c993f2aec3b244c67637fed001fbd57df 100644 (file)
@@ -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']))