projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[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 cec7ce78cdb067ecfa034f732a1b216b99af242e..43072682cbab2e1e777fa0392c14fbf7e0f3f4b0 100644
(file)
--- a/
manufacturing/work_order_add_finished.php
+++ b/
manufacturing/work_order_add_finished.php
@@
-182,8
+182,8
@@
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_MANUISSUE);
date_row(_("Date:"), 'date_');
date_row(_("Date:"), 'date_');
+ref_row(_("Reference:"), 'ref', '', $Refs->get_next(ST_MANURECEIVE, null, get_post('date_')), false, ST_MANURECEIVE);
if (!isset($_POST['ProductionType']))
$_POST['ProductionType'] = 1;
if (!isset($_POST['ProductionType']))
$_POST['ProductionType'] = 1;