X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_release.php;h=18bae33da5e64400e3c3d3a163abcd577d77188f;hb=6183e9450dcd7e4c747889c10903f6ff1b0add33;hp=6b4effc264d70040a9439286b7cdbbbd94e57ae3;hpb=b0a033a1a2db727664018c496730a8be240879ec;p=fa-stable.git diff --git a/manufacturing/work_order_release.php b/manufacturing/work_order_release.php index 6b4effc2..18bae33d 100644 --- a/manufacturing/work_order_release.php +++ b/manufacturing/work_order_release.php @@ -36,6 +36,7 @@ function can_process($myrow) if ($myrow['released']) { display_error(_("This work order has already been released.")); + set_focus('released'); return false; } @@ -43,6 +44,7 @@ function can_process($myrow) if (!has_bom($myrow['stock_id'])) { display_error(_("This Work Order cannot be released. The selected item to manufacture does not have a bom.")); + set_focus('stock_id'); return false; }