0003667: supplier payment link after entering supplier invoice resultes in erro....
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 18 Nov 2016 13:30:11 +0000 (14:30 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 18 Nov 2016 13:30:11 +0000 (14:30 +0100)
purchasing/supplier_invoice.php

index 73a3dfbcb5ff3980f2710bef0c8812227d8d0288..e527a980b8fc39011d5012dcb17eaf2593cf4a18 100644 (file)
@@ -69,7 +69,7 @@ if (isset($_GET['AddedID']))
        display_note(get_gl_view_str($trans_type, $invoice_no, _("View the GL Journal Entries for this Invoice")), 1);
 
        hyperlink_params("$path_to_root/purchasing/supplier_payment.php", _("Entry supplier &payment for this invoice"),
-               "PInvoice=".$invoice_no);
+               "PInvoice=".$invoice_no."&trans_type=".$trans_type);
 
        hyperlink_params($_SERVER['PHP_SELF'], _("Enter Another Invoice"), "New=1");