X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=manufacturing%2Fview%2Fwo_production_view.php;h=ae486646ec19b04334e9defe110f7715b1e15903;hb=ddadb47f2620ce6902ad4694ce6512568862ba05;hp=d469d2816a76211c6c451ed473dad55943dae2db;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/manufacturing/view/wo_production_view.php b/manufacturing/view/wo_production_view.php index d469d281..ae486646 100644 --- a/manufacturing/view/wo_production_view.php +++ b/manufacturing/view/wo_production_view.php @@ -1,16 +1,16 @@ . + See the License here . ***********************************************************************/ -$page_security = 10; -$path_to_root="../.."; +$page_security = 'SA_MANUFTRANSVIEW'; +$path_to_root = "../.."; include_once($path_to_root . "/includes/session.inc"); @@ -50,22 +50,22 @@ function display_wo_production($prod_id) start_row(); label_cell($myrow["id"]); label_cell($myrow["reference"]); - label_cell(get_trans_view_str(systypes::work_order(),$myrow["workorder_id"])); + label_cell(get_trans_view_str(ST_WORKORDER,$myrow["workorder_id"])); label_cell($myrow["stock_id"] . " - " . $myrow["StockDescription"]); qty_cell($myrow["quantity"], false, get_qty_dec($myrow["stock_id"])); label_cell(sql2date($myrow["date_"])); end_row(); - comments_display_row(29, $prod_id); + comments_display_row(ST_MANURECEIVE, $prod_id); end_table(1); - is_voided_display(29, $prod_id, _("This production has been voided.")); + is_voided_display(ST_MANURECEIVE, $prod_id, _("This production has been voided.")); } //------------------------------------------------------------------------------------------------- -display_heading(systypes::name(29) . " # " . $wo_production); +display_heading($systypes_array[ST_MANURECEIVE] . " # " . $wo_production); display_wo_production($wo_production);