From b199d1b6f0dc68eb224de6d26deabe6aa39b3684 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 19 Oct 2008 08:22:13 +0000 Subject: [PATCH] Warning text included in front of GRNs that can be removed. --- purchasing/supplier_invoice_grns.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/purchasing/supplier_invoice_grns.php b/purchasing/supplier_invoice_grns.php index 11c8a63..1b2d25b 100644 --- a/purchasing/supplier_invoice_grns.php +++ b/purchasing/supplier_invoice_grns.php @@ -139,6 +139,9 @@ function display_grn_items_for_selection() /*Set up a table to show the outstanding GRN items for selection */ display_heading2(_("Items Received Yet to be Invoiced")); + if ($_SESSION["wa_current_user"]->access == 2) // Added 2008-10-18 by Joe Hunt. Only admins can remove GRNs + display_note(_("WARNING! Be careful with removal. The operation is executed immediately and cannot be undone !!!"), 0, 0, "class='overduefg'"); + //function display_note($msg, $br=0, $br2=0, $extra="") //div_start('grn_table'); start_table("$table_style colspan=7 width=95%"); $th = array(_("Delivery"), _("Sequence #"), _("P.O."), _("Item"), _("Description"), -- 2.30.2