X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_payments.php;h=b9f945f8d34bdae28866d33714059c6cb2fb4c0c;hb=24fb0a10f96e0ffba9b877c662ae2bf9dc79256b;hp=1e1b55628037617eb5a7ed7b74bd20b9f94d438d;hpb=92f26ce5c76266a8b6e96a6b086aa919095e7316;p=fa-stable.git diff --git a/sales/customer_payments.php b/sales/customer_payments.php index 1e1b5562..b9f945f8 100644 --- a/sales/customer_payments.php +++ b/sales/customer_payments.php @@ -107,14 +107,14 @@ if (isset($_GET['AddedID'])) { submenu_print(_("&Email This Receipt"), ST_CUSTPAYMENT, $payment_no."-".ST_CUSTPAYMENT, null, 1); submenu_view(_("&View this Customer Payment"), ST_CUSTPAYMENT, $payment_no); + display_note(get_gl_view_str(ST_CUSTPAYMENT, $payment_no, _("&View the GL Journal Entries for this Customer Payment")), 0, 1); submenu_option(_("Enter Another &Customer Payment"), "/sales/customer_payments.php"); submenu_option(_("Enter Other &Deposit"), "/gl/gl_bank.php?NewDeposit=Yes"); submenu_option(_("Enter Payment to &Supplier"), "/purchasing/supplier_payment.php"); submenu_option(_("Enter Other &Payment"), "/gl/gl_bank.php?NewPayment=Yes"); submenu_option(_("Bank Account &Transfer"), "/gl/bank_transfer.php"); - - display_note(get_gl_view_str(ST_CUSTPAYMENT, $payment_no, _("&View the GL Journal Entries for this Customer Payment"))); + submenu_option(_("Add an Attachment"), "/admin/attachments.php?filterType=".ST_CUSTPAYMENT."&trans_no=$payment_no"); display_footer_exit(); } @@ -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']))