$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');
}
//---------------------------------------------------------------------------------------------