X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fwork_order_entry.php;h=c4d3dd5d1a64054dc5d6db0589ee7921faee10f2;hb=2e181b13aa722a43e78b897404912d6b13a0a937;hp=32ba8e8c52e67610131e1395d2d841ef54037136;hpb=afaf451d002765ddea2de980a163ddf02283aea5;p=fa-stable.git diff --git a/manufacturing/work_order_entry.php b/manufacturing/work_order_entry.php index 32ba8e8c..c4d3dd5d 100644 --- a/manufacturing/work_order_entry.php +++ b/manufacturing/work_order_entry.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 10; $path_to_root=".."; @@ -395,12 +404,11 @@ textarea_row(_("Memo:"), 'memo_', null, 40, 5); end_table(1); -submit_add_or_update_center(!isset($selected_id), '', true); - if (isset($selected_id)) { - echo "

"; + echo "
"; + submit_cells('UPDATE_ITEM', _("Update"), '', _('Save changes to work order'), true); if (isset($_POST['released'])) { submit_cells('close', _("Close This Work Order"),'','',true); @@ -409,6 +417,10 @@ if (isset($selected_id)) echo "
"; } +else +{ + submit_center('ADD_ITEM', _("Add Workorder"), true, '', true); +} end_form(); end_page();