X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_add_finished.php;h=43072682cbab2e1e777fa0392c14fbf7e0f3f4b0;hb=da7df35c61205d0b1af47d286be591b8a3194b0c;hp=cec7ce78cdb067ecfa034f732a1b216b99af242e;hpb=e9ad9e87f5eb2682d2e91c93134250fd8a8d2ad9;p=fa-stable.git diff --git a/manufacturing/work_order_add_finished.php b/manufacturing/work_order_add_finished.php index cec7ce78..43072682 100644 --- 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(); -ref_row(_("Reference:"), 'ref', '', $Refs->get_next(29, null, get_post('date_')), false, ST_MANUISSUE); 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;