// BugFix with order states change and warehouse

This commit is contained in:
mDeflotte
2011-10-24 14:32:57 +00:00
parent f20c8f5fc0
commit 22898f3bc0
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -32,12 +32,15 @@
$('#warehouse').show();
{/literal}{/if}{literal}
}
function hideWarehouseList()
{
$('#warehouse').hide();
}
hideWarehouseList();
$(document).ready(function()
{
hideWarehouseList();
});
{/literal}
</script>
+1 -1
View File
@@ -503,7 +503,7 @@ class AdminOrdersControllerCore extends AdminController
'carrier' => $carrier = new Carrier($order->id_carrier),
'history' => $order->getHistory($this->context->language->id),
'states' => OrderState::getOrderStates($this->context->language->id),
'warehouse_list' => Warehouse::getWarehouseList(),
'warehouse_list' => Warehouse::getWarehouseList(false, $order->id_shop),
'sources' => ConnectionsSource::getOrderSources($order->id),
'currentState' => OrderHistory::getLastOrderState($order->id),
'currency' => new Currency($order->id_currency),