Added Customer Payment Attachments and Supplier Payment Attachments after operation.
authorJoe <joe.hunt.consulting@gmail.com>
Sun, 5 Feb 2023 15:03:18 +0000 (16:03 +0100)
committerJoe <joe.hunt.consulting@gmail.com>
Sun, 5 Feb 2023 15:03:18 +0000 (16:03 +0100)
purchasing/supplier_payment.php
sales/customer_payments.php

index 32f4020b5f3765f6839343e2d68b3d781a50223b..2421bdfd4e1dd5ef836356a2c38257ce23eb6858 100644 (file)
@@ -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();
 }
index be442b1c993f2aec3b244c67637fed001fbd57df..b9f945f8d34bdae28866d33714059c6cb2fb4c0c 100644 (file)
@@ -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();
 }