X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=purchasing%2Fsupplier_invoice.php;h=15a6529f1667438d4cb72d32503b4779ac153ef6;hb=262bd1ad81de77261f55c4eff87dc1c7fa6e7bfe;hp=07b41b282fc1f991eb7c1aae436c6bb7cc12e5ab;hpb=2f913081e40eeec834129c27caf26ff129e1e284;p=fa-stable.git diff --git a/purchasing/supplier_invoice.php b/purchasing/supplier_invoice.php index 07b41b28..15a6529f 100644 --- a/purchasing/supplier_invoice.php +++ b/purchasing/supplier_invoice.php @@ -1,7 +1,16 @@ . +***********************************************************************/ +$page_security = 'SA_SUPPLIERINVOICE'; +$path_to_root = ".."; include_once($path_to_root . "/purchasing/includes/purchasing_db.inc"); @@ -18,7 +27,6 @@ if ($use_date_picker) $js .= get_js_date_picker(); page(_("Enter Supplier Invoice"), false, false, "", $js); - //---------------------------------------------------------------------------------------- check_db_has_suppliers(_("There are no suppliers defined in the system.")); @@ -28,7 +36,7 @@ check_db_has_suppliers(_("There are no suppliers defined in the system.")); if (isset($_GET['AddedID'])) { $invoice_no = $_GET['AddedID']; - $trans_type = 20; + $trans_type = ST_SUPPINVOICE; echo "