X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fview%2Fwo_issue_view.php;h=cbad96a01986c498508fbb80be8a63ad96f4b4a0;hb=efa2530a7c385a329c3fc76f4560b28ba97c3efe;hp=6787dee678c24d8b62c734b7f6f6b583551a7258;hpb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;p=fa-stable.git diff --git a/manufacturing/view/wo_issue_view.php b/manufacturing/view/wo_issue_view.php index 6787dee6..cbad96a0 100644 --- a/manufacturing/view/wo_issue_view.php +++ b/manufacturing/view/wo_issue_view.php @@ -19,7 +19,6 @@ if ($SysPrefs->use_popup_windows) page(_($help_context = "View Work Order Issue"), true, false, "", $js); include_once($path_to_root . "/includes/date_functions.inc"); -include_once($path_to_root . "/includes/manufacturing.inc"); include_once($path_to_root . "/includes/data_checks.inc"); include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc"); @@ -54,11 +53,11 @@ function display_wo_issue($issue_no) label_cell(sql2date($myrow["issue_date"])); end_row(); - comments_display_row(28, $issue_no); + comments_display_row(ST_MANUISSUE, $issue_no); end_table(1); - is_voided_display(28, $issue_no, _("This issue has been voided.")); + is_voided_display(ST_MANUISSUE, $issue_no, _("This issue has been voided.")); } //------------------------------------------------------------------------------------------------- @@ -74,7 +73,7 @@ function display_wo_issue_details($issue_no) else { start_table(TABLESTYLE); - $th = array(_("Component"), _("Quantity"), _("Units")); + $th = array(_("Component"), _("Quantity"), _("Units"), _("Unit Cost")); table_header($th); @@ -91,7 +90,8 @@ function display_wo_issue_details($issue_no) label_cell($myrow["stock_id"] . " - " . $myrow["description"]); qty_cell($myrow["qty_issued"], false, get_qty_dec($myrow["stock_id"])); label_cell($myrow["units"]); - end_row();; + amount_cell($myrow["unit_cost"]); + end_row(); $j++; If ($j == 12)