Feature 5623. Link to new supplier invoice. Clean up. Bad link text. Fixed.
authorJoe <joe.hunt.consulting@gmail.com>
Mon, 27 Jun 2022 09:28:02 +0000 (11:28 +0200)
committerJoe <joe.hunt.consulting@gmail.com>
Mon, 27 Jun 2022 09:28:02 +0000 (11:28 +0200)
purchasing/supplier_payment.php

index c597c7e700a64f79240ea3a480ee04e5ec0a5053..8202016bc6fa32f73a034e9d3c9e44ef71d442d4 100644 (file)
@@ -97,9 +97,7 @@ if (isset($_GET['AddedID'])) {
 
        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 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");