X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_costs.php;h=b52590f4a072094d6d3636a39e47acfd0ed29e22;hb=8251cfa8dedaf1091e063989259db33f2f0f1a28;hp=ef40fc9373080b9bd08a11524f4810af744f4374;hpb=ac2fa9c17e43534e519b3d93aced2d58d6e52736;p=fa-stable.git diff --git a/manufacturing/work_order_costs.php b/manufacturing/work_order_costs.php index ef40fc93..b52590f4 100644 --- a/manufacturing/work_order_costs.php +++ b/manufacturing/work_order_costs.php @@ -118,7 +118,7 @@ display_wo_details($_POST['selected_id']); //------------------------------------------------------------------------------------- if (!isset($_POST['ref'])) - $_POST['ref'] = $Refs->get_next(ST_JOURNAL, null, get_post('date_')); + $_POST['ref'] = $Refs->get_next(ST_JOURNAL, null, Today()); start_form();