Feature. Add Supplier Invoice Menu after Supplier Payment. Fixed.
[fa-stable.git] / purchasing / supplier_payment.php
index c597c7e700a64f79240ea3a480ee04e5ec0a5053..32f4020b5f3765f6839343e2d68b3d781a50223b 100644 (file)
@@ -97,9 +97,8 @@ 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 &Supplier Invoice"), "/purchasing/supplier_invoice.php?New=1");
+       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");