X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fview%2Fview_adjustment.php;h=1db792698fc8e7ed34d7a0c610a5f3b123f84393;hb=80dd97a37f674cc3691fa04af4c29607067566b2;hp=4aad5a4825665fcda8def791567f050df3a43b95;hpb=a5242af68e65661edb7175412444dce536a7f311;p=fa-stable.git diff --git a/inventory/view/view_adjustment.php b/inventory/view/view_adjustment.php index 4aad5a48..1db79269 100644 --- a/inventory/view/view_adjustment.php +++ b/inventory/view/view_adjustment.php @@ -9,8 +9,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 1; -$path_to_root="../.."; +$page_security = 'SA_ITEMSTRANSVIEW'; +$path_to_root = "../.."; include($path_to_root . "/includes/session.inc"); @@ -25,7 +25,7 @@ if (isset($_GET["trans_no"])) $trans_no = $_GET["trans_no"]; } -display_heading(systypes::name(systypes::inventory_adjustment()) . " #$trans_no"); +display_heading($systypes_array[ST_INVADJUST] . " #$trans_no"); br(1); $adjustment_items = get_stock_adjustment_items($trans_no); @@ -45,7 +45,7 @@ while ($adjustment = db_fetch($adjustment_items)) label_cells(_("Date"), sql2date($adjustment['tran_date']), "class='tableheader2'"); label_cells(_("Adjustment Type"), $adjustment_type['name'], "class='tableheader2'"); end_row(); - comments_display_row(systypes::inventory_adjustment(), $trans_no); + comments_display_row(ST_INVADJUST, $trans_no); end_table(); $header_shown = true; @@ -70,7 +70,7 @@ while ($adjustment = db_fetch($adjustment_items)) end_table(1); -is_voided_display(systypes::inventory_adjustment(), $trans_no, _("This adjustment has been voided.")); +is_voided_display(ST_INVADJUST, $trans_no, _("This adjustment has been voided.")); end_page(true); ?> \ No newline at end of file