X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_payment.php;h=2421bdfd4e1dd5ef836356a2c38257ce23eb6858;hb=HEAD;hp=c597c7e700a64f79240ea3a480ee04e5ec0a5053;hpb=220540b2103fda7f7a4bf073be6bfcc252400592;p=fa-stable.git diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index c597c7e7..2421bdfd 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -97,14 +97,14 @@ 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"); 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(); }