projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New Company Setup 'Barcodes On Stock' implemented. Rep303 shows barcodes if set.
[fa-stable.git]
/
manufacturing
/
work_order_add_finished.php
diff --git
a/manufacturing/work_order_add_finished.php
b/manufacturing/work_order_add_finished.php
index 8a9947a401a9e16e2e61f731a39cc3161e78773f..757f304ce4128df7f2b5befe80179412ad462adf 100644
(file)
--- a/
manufacturing/work_order_add_finished.php
+++ b/
manufacturing/work_order_add_finished.php
@@
-69,7
+69,7
@@
if (strlen($wo_details[0]) == 0)
function can_process($wo_details)
{
function can_process($wo_details)
{
- global $SysPrefs
, $Refs
;
+ global $SysPrefs;
if (!check_reference($_POST['ref'], ST_MANURECEIVE))
{
if (!check_reference($_POST['ref'], ST_MANURECEIVE))
{
@@
-174,7
+174,6
@@
display_wo_details($_POST['selected_id']);
start_form();
hidden('selected_id', $_POST['selected_id']);
start_form();
hidden('selected_id', $_POST['selected_id']);
-//hidden('WOReqQuantity', $_POST['WOReqQuantity']);
$dec = get_qty_dec($wo_details["stock_id"]);
if (!isset($_POST['quantity']) || $_POST['quantity'] == '')
$dec = get_qty_dec($wo_details["stock_id"]);
if (!isset($_POST['quantity']) || $_POST['quantity'] == '')
@@
-183,7
+182,7
@@
if (!isset($_POST['quantity']) || $_POST['quantity'] == '')
start_table(TABLESTYLE2);
br();
start_table(TABLESTYLE2);
br();
-ref_row(_("Reference:"), 'ref', '', $Refs->get_next(
29, null, get_post('date_')), false, ST_MANUISSU
E);
+ref_row(_("Reference:"), 'ref', '', $Refs->get_next(
ST_MANURECEIVE, null, get_post('date_')), false, ST_MANURECEIV
E);
date_row(_("Date:"), 'date_');
if (!isset($_POST['ProductionType']))
date_row(_("Date:"), 'date_');
if (!isset($_POST['ProductionType']))