X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_entry.php;h=40484ea3e65e075d0542de20e155baaa4adf2572;hb=b32d16b2c0c6c43e569ebe87e2a13ceb892b5788;hp=28d00f2935a3786cf0f84a02efb6a9096641f04b;hpb=99730b8d6deb7e81d2f1ebeb2ce7066d27729485;p=fa-stable.git diff --git a/manufacturing/work_order_entry.php b/manufacturing/work_order_entry.php index 28d00f29..40484ea3 100644 --- a/manufacturing/work_order_entry.php +++ b/manufacturing/work_order_entry.php @@ -289,6 +289,7 @@ start_table($table_style2); $existing_comments = ""; +$dec = 0; if (isset($selected_id)) { $myrow = get_work_order($selected_id); @@ -365,7 +366,7 @@ if (get_post('type') == wo_types::advanced()) { qty_row(_("Quantity Required:"), 'quantity', null, null, null, $dec); if ($_POST['released']) - label_row(_("Quantity Manufactured:"), qty_format($_POST['units_issued'], $_POST['stock_id'])); + label_row(_("Quantity Manufactured:"), number_format($_POST['units_issued'], get_qty_dec($_POST['stock_id']))); date_row(_("Date") . ":", 'date_'); date_row(_("Date Required By") . ":", 'RequDate', '', null, sys_prefs::default_wo_required_by()); }