From 74ea4f1d66ea167ef6b1fff5c1f91f40dc8088f1 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 31 Dec 2010 11:44:56 +0000 Subject: [PATCH] Added link for viewing GL Delivery if clearing account --- purchasing/po_receive_items.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/purchasing/po_receive_items.php b/purchasing/po_receive_items.php index d5fb35d..85acc0a 100644 --- a/purchasing/po_receive_items.php +++ b/purchasing/po_receive_items.php @@ -34,6 +34,10 @@ if (isset($_GET['AddedID'])) display_notification_centered(_("Purchase Order Delivery has been processed")); display_note(get_trans_view_str($trans_type, $grn, _("&View this Delivery"))); + + $clearing_act = get_company_pref('grn_clearing_act'); + if ($clearing_act) + display_note(get_gl_view_str($trans_type, $grn, _("View the GL Journal Entries for this Delivery")), 1); hyperlink_params("$path_to_root/purchasing/supplier_invoice.php", _("Entry purchase &invoice for this receival"), "New=1"); -- 2.30.2