*** empty log message ***
[fa-stable.git] / manufacturing / work_order_entry.php
index 32ba8e8c52e67610131e1395d2d841ef54037136..e6a18026d9e4907a6a2ac0cbe25f7262a325038f 100644 (file)
@@ -395,12 +395,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 "<br><br><table align=center><tr>";
+       echo "<table align=center><tr>";
 
+       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 +408,10 @@ if (isset($selected_id))
 
        echo "</tr></table>";
 }
+else
+{
+       submit_center('ADD_ITEM', _("Add Workorder"), true, '', true);
+}
 
 end_form();
 end_page();