0003667: supplier payment link after entering supplier invoice result. Fixed.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Nov 2016 22:14:44 +0000 (23:14 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Nov 2016 22:14:44 +0000 (23:14 +0100)
purchasing/supplier_invoice.php

index c4b91de93164aca359a267a50f7c5bd6f376c1ac..1fa3cb96b6c66c0527650331c0e2bc97b06cbfe3 100644 (file)
@@ -46,7 +46,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");