[0000281] Filename saitization added
[fa-stable.git] / sales / sales_order_entry.php
index 8c6ab770d6c83b0817aceb78bb860ed72d59dd4a..4a47369598f7e7659418d1b91d96931416657f51 100644 (file)
@@ -109,6 +109,8 @@ if (isset($_GET['AddedID'])) {
        submenu_option(_("Make &Delivery Against This Order"),
                "/sales/customer_delivery.php?OrderNumber=$order_no");
 
+       submenu_option(_("Work &Order Entry"),  "/manufacturing/work_order_entry.php?");
+
        submenu_option(_("Enter a &New Order"), "/sales/sales_order_entry.php?NewOrder=0");
 
        display_footer_exit();
@@ -494,6 +496,7 @@ function handle_update_item()
                 input_num('qty'), input_num('price'),
                 input_num('Disc') / 100, $_POST['item_description'] );
        }
+       page_modified();
   line_start_focus();
 }
 
@@ -521,6 +524,7 @@ function handle_new_item()
                input_num('price'), input_num('Disc') / 100, get_post('stock_id_text'));
 
        unset($_POST['_stock_id_edit'], $_POST['stock_id']);
+       page_modified();
        line_start_focus();
 }