Rewrite to use db_pager.
[fa-stable.git] / manufacturing / work_order_add_finished.php
index 0bd89bd7d5648dfa5a8b5f2b7da24be8a85f3035..dd76e35cd347dec98146d299e447f865ee624855 100644 (file)
@@ -30,7 +30,7 @@ if (isset($_GET['AddedID']))
 
        display_note(_("The manufacturing process has been entered."));
 
-       hyperlink_no_params("search_work_orders.php", _("Select another Work Order to Process"));
+       hyperlink_no_params("search_work_orders.php", _("Select another &Work Order to Process"));
 
        end_page();
        exit;
@@ -154,7 +154,7 @@ if (!isset($_POST['ProductionType']))
 yesno_list_row(_("Type:"), 'ProductionType', $_POST['ProductionType'],
        _("Produce Finished Items"), _("Return Items to Work Order"));
 
-text_row(_("Quantity:"), 'quantity', $_POST['quantity'], 13, 15);
+small_qty_row(_("Quantity:"), 'quantity', null, null, null, get_qty_dec($wo_details["stock_id"]));
 
 date_row(_("Date:"), 'date_');
 
@@ -162,8 +162,8 @@ textarea_row(_("Memo:"), 'memo_', null, 40, 3);
 
 end_table(1);
 
-submit_center_first('Process', _("Process"));
-submit_center_last('ProcessAndClose', _("Process And Close Order"));
+submit_center_first('Process', _("Process"), '', true);
+submit_center_last('ProcessAndClose', _("Process And Close Order"), '', true);
 
 end_form();