MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security = 1;
-$path_to_root="../..";
+$page_security = 'SA_ITEMSTRANSVIEW';
+$path_to_root = "../..";
include($path_to_root . "/includes/session.inc");
-page(_("View Inventory Adjustment"), true);
+page(_($help_context = "View Inventory Adjustment"), true);
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/includes/ui.inc");
$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);
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;
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