projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
163b02e
)
Feature 5623: link to new supplier invoice after supplier payment, option to have...
author
Joe
<joe.hunt.consulting@gmail.com>
Sun, 26 Jun 2022 15:29:04 +0000
(17:29 +0200)
committer
Joe
<joe.hunt.consulting@gmail.com>
Sun, 26 Jun 2022 15:29:04 +0000
(17:29 +0200)
purchasing/supplier_payment.php
patch
|
blob
|
history
diff --git
a/purchasing/supplier_payment.php
b/purchasing/supplier_payment.php
index ab98b662a5f9c5951378033d102eac1cce9ee4b0..c597c7e700a64f79240ea3a480ee04e5ec0a5053 100644
(file)
--- a/
purchasing/supplier_payment.php
+++ b/
purchasing/supplier_payment.php
@@
-96,6
+96,11
@@
if (isset($_GET['AddedID'])) {
display_note(get_gl_view_str(ST_SUPPAYMENT, $payment_id, _("View the GL &Journal Entries for this Payment")), 0, 1);
submenu_option(_("Enter another supplier &payment"), "/purchasing/supplier_payment.php?supplier_id=".$_POST['supplier_id']);
display_note(get_gl_view_str(ST_SUPPAYMENT, $payment_id, _("View the GL &Journal Entries for this Payment")), 0, 1);
submenu_option(_("Enter another supplier &payment"), "/purchasing/supplier_payment.php?supplier_id=".$_POST['supplier_id']);
+
+ if (isset($_POST['supplier_id']))
+ set_global_supplier($_POST['supplier_id']);
+ submenu_option(_("Enter &another direct &Invoice"), "/purchasing/po_entry_items.php?NewInvoice=Yes");
+
submenu_option(_("Enter Other &Payment"), "/gl/gl_bank.php?NewPayment=Yes");
submenu_option(_("Enter &Customer Payment"), "/sales/customer_payments.php");
submenu_option(_("Enter Other &Deposit"), "/gl/gl_bank.php?NewDeposit=Yes");
submenu_option(_("Enter Other &Payment"), "/gl/gl_bank.php?NewPayment=Yes");
submenu_option(_("Enter &Customer Payment"), "/sales/customer_payments.php");
submenu_option(_("Enter Other &Deposit"), "/gl/gl_bank.php?NewDeposit=Yes");