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:
@@ -160,7 +160,7 @@ class ShopCouponController
|
||||
'Dodaj kupon'
|
||||
);
|
||||
|
||||
return \Tpl::view('shop-coupon/coupons-list', [
|
||||
return \Shared\Tpl\Tpl::view('shop-coupon/coupons-list', [
|
||||
'viewModel' => $viewModel,
|
||||
]);
|
||||
}
|
||||
@@ -175,7 +175,7 @@ class ShopCouponController
|
||||
$coupon = $this->repository->find((int)\Shared\Helpers\Helpers::get('id'));
|
||||
$categories = $this->repository->categoriesTree(null);
|
||||
|
||||
return \Tpl::view('shop-coupon/coupon-edit-new', [
|
||||
return \Shared\Tpl\Tpl::view('shop-coupon/coupon-edit-new', [
|
||||
'form' => $this->buildFormViewModel($coupon, $categories),
|
||||
]);
|
||||
}
|
||||
@@ -315,7 +315,7 @@ class ShopCouponController
|
||||
'label' => 'Dotyczy rowniez produktow przecenionych',
|
||||
'tab' => 'settings',
|
||||
]),
|
||||
FormField::custom('coupon_categories', \Tpl::view('shop-coupon/coupon-categories-selector', [
|
||||
FormField::custom('coupon_categories', \Shared\Tpl\Tpl::view('shop-coupon/coupon-categories-selector', [
|
||||
'label' => 'Ogranicz promocje do wybranych kategorii',
|
||||
'inputName' => 'categories[]',
|
||||
'categories' => $categories,
|
||||
|
||||
Reference in New Issue
Block a user