From: Joe Hunt Date: Sun, 19 Oct 2008 08:22:13 +0000 (+0000) Subject: Warning text included in front of GRNs that can be removed. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=b199d1b6f0dc68eb224de6d26deabe6aa39b3684;p=textcart.git Warning text included in front of GRNs that can be removed. --- 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"),