Fixed location changes in Direct Invoice.
[fa-stable.git] / sales / includes / ui / sales_order_ui.inc
index 7ececedb4e6aeb5f93940ab71dcc01b13a3711ac..370894df2d86ff3e993039c2ef0e4d5ffd3bed23 100644 (file)
@@ -583,6 +583,8 @@ function display_delivery_details(&$order)
                start_table(TABLESTYLE2, "width=60%");
 
                locations_list_row(_("Deliver from Location:"), 'Location', null, false, true);
+               if (list_updated('Location'))
+                       $Ajax->activate('items_table');
                label_row(_("Cash account:"), $order->pos['bank_account_name']);
                textarea_row(_("Comments:"), "Comments", $order->Comments, 31, 5);
                end_table();