projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed duplicated groups in list selectors.
[fa-stable.git]
/
manufacturing
/
work_order_entry.php
diff --git
a/manufacturing/work_order_entry.php
b/manufacturing/work_order_entry.php
index 32ba8e8c52e67610131e1395d2d841ef54037136..e6a18026d9e4907a6a2ac0cbe25f7262a325038f 100644
(file)
--- a/
manufacturing/work_order_entry.php
+++ b/
manufacturing/work_order_entry.php
@@
-395,12
+395,11
@@
textarea_row(_("Memo:"), 'memo_', null, 40, 5);
end_table(1);
end_table(1);
-submit_add_or_update_center(!isset($selected_id), '', true);
-
if (isset($selected_id))
{
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);
if (isset($_POST['released']))
{
submit_cells('close', _("Close This Work Order"),'','',true);
@@
-409,6
+408,10
@@
if (isset($selected_id))
echo "</tr></table>";
}
echo "</tr></table>";
}
+else
+{
+ submit_center('ADD_ITEM', _("Add Workorder"), true, '', true);
+}
end_form();
end_page();
end_form();
end_page();