ver. 0.285: Tpl → Shared\Tpl namespace, CurlServer removal, thumb.php fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -150,7 +150,7 @@ class ShopOrderController
|
||||
'Brak danych w tabeli.'
|
||||
);
|
||||
|
||||
return \Tpl::view('shop-order/orders-list', [
|
||||
return \Shared\Tpl\Tpl::view('shop-order/orders-list', [
|
||||
'viewModel' => $viewModel,
|
||||
]);
|
||||
}
|
||||
@@ -170,7 +170,7 @@ class ShopOrderController
|
||||
$coupon = new \shop\Coupon((int)$order['coupon_id']);
|
||||
}
|
||||
|
||||
return \Tpl::view('shop-order/order-details', [
|
||||
return \Shared\Tpl\Tpl::view('shop-order/order-details', [
|
||||
'order' => $order,
|
||||
'coupon' => $coupon,
|
||||
'order_statuses' => $this->service->statuses(),
|
||||
@@ -188,7 +188,7 @@ class ShopOrderController
|
||||
{
|
||||
$orderId = (int)\Shared\Helpers\Helpers::get('order_id');
|
||||
|
||||
return \Tpl::view('shop-order/order-edit', [
|
||||
return \Shared\Tpl\Tpl::view('shop-order/order-edit', [
|
||||
'order' => $this->service->details($orderId),
|
||||
'order_statuses' => $this->service->statuses(),
|
||||
'transport' => \shop\Transport::transport_list(),
|
||||
|
||||
Reference in New Issue
Block a user