From a0e36794a39ed024175b216413ee80cbeced2946 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 5 Feb 2023 16:03:18 +0100 Subject: [PATCH] Added Customer Payment Attachments and Supplier Payment Attachments after operation. --- purchasing/supplier_payment.php | 1 + sales/customer_payments.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index 32f4020b..2421bdfd 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -104,6 +104,7 @@ if (isset($_GET['AddedID'])) { submenu_option(_("Enter &Customer Payment"), "/sales/customer_payments.php"); submenu_option(_("Enter Other &Deposit"), "/gl/gl_bank.php?NewDeposit=Yes"); submenu_option(_("Bank Account &Transfer"), "/gl/bank_transfer.php"); + submenu_option(_("Add an Attachment"), "/admin/attachments.php?filterType=".ST_SUPPAYMENT."&trans_no=$payment_id"); display_footer_exit(); } diff --git a/sales/customer_payments.php b/sales/customer_payments.php index be442b1c..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(); } -- 2.30.2