Added order query result reload after change of template option.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 20 Jun 2008 07:59:20 +0000 (07:59 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Fri, 20 Jun 2008 07:59:20 +0000 (07:59 +0000)
CHANGELOG.txt
sales/inquiry/sales_orders_view.php

index cf098e715b7d9e2f4fb38bf0e271a83d4414c8ba..0646ea662fce1341a51ac6c5375083f9274b5f7b 100644 (file)
@@ -28,6 +28,8 @@ $ /includes/errors.inc
   /includes/ui/ui_lists.inc
 # Layout fixes to customer edition.
   /sales/manage/customers.php
+# Added order table reload after template option change
+  /sales/inquiry/sales_orders_view.php
 
 19-Jun-2008 Janusz Dobrowolski
 + Added ajax improvements
index 3711fc9b8a142f9fcc7dfa898bbf34eaea330a35..e797863cb4ddb8e90823246ad1610e30f1ff35c4 100644 (file)
@@ -115,6 +115,7 @@ if (isset($_POST['ChangeTmpl']) && $_POST['ChangeTmpl'] != 0)
        $sql = "UPDATE ".TB_PREF."sales_orders SET type = !type WHERE order_no=".$_POST['ChangeTmpl'];
 
        db_query($sql, "Can't change sales order type");
+       $Ajax->activate('orders_tbl');
 }
 //---------------------------------------------------------------------------------------------