@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | ->where('shop_id', '=', auth('hideyobackend')->user()->selected_shop_id); |
28 | 28 | |
29 | 29 | $datatables = DataTables::of($query) |
30 | - ->addColumn('action', function ($query) { |
|
30 | + ->addColumn('action', function($query) { |
|
31 | 31 | $deleteLink = Form::deleteajax(url()->route('content-group.destroy', $query->id), 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
32 | 32 | $links = '<a href="'.url()->route('content-group.edit', $query->id).'" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
33 | 33 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | public function store(Request $request) |
49 | 49 | { |
50 | - $result = ContentService::createGroup($request->all()); |
|
50 | + $result = ContentService::createGroup($request->all()); |
|
51 | 51 | return ContentService::notificationRedirect('content-group.index', $result, 'The content group was inserted.'); |
52 | 52 | } |
53 | 53 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | public function update(Request $request, $contentGroupId) |
60 | 60 | { |
61 | - $result = ContentService::updateGroupById($request->all(), $contentGroupId); |
|
61 | + $result = ContentService::updateGroupById($request->all(), $contentGroupId); |
|
62 | 62 | return ContentService::notificationRedirect('content-group.index', $result, 'The content group was updated.'); |
63 | 63 | } |
64 | 64 | |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public function destroy($contentGroupId) |
71 | 71 | { |
72 | - $result = ContentService::destroyGroup($contentGroupId); |
|
72 | + $result = ContentService::destroyGroup($contentGroupId); |
|
73 | 73 | |
74 | 74 | if ($result) { |
75 | 75 | Notification::success('The content was deleted.'); |
@@ -26,14 +26,14 @@ discard block |
||
26 | 26 | |
27 | 27 | $datatables = DataTables::of($query) |
28 | 28 | |
29 | - ->addColumn('active', function ($query) { |
|
29 | + ->addColumn('active', function($query) { |
|
30 | 30 | if ($query->active) { |
31 | 31 | return '<a href="#" class="change-active" data-url="/admin/html-block/change-active/'.$query->id.'"><span class="glyphicon glyphicon-ok icon-green"></span></a>'; |
32 | 32 | } |
33 | 33 | |
34 | 34 | return '<a href="#" class="change-active" data-url="/admin/html-block/change-active/'.$query->id.'"><span class="glyphicon glyphicon-remove icon-red"></span></a>'; |
35 | 35 | }) |
36 | - ->addColumn('action', function ($query) use ($productId) { |
|
36 | + ->addColumn('action', function($query) use ($productId) { |
|
37 | 37 | $deleteLink = Form::deleteajax(url()->route('product.product-amount-series.destroy', array('productId' => $productId, 'id' => $query->id)), 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
38 | 38 | $links = '<a href="'.url()->route('product.product-amount-series.edit', array('productId' => $productId, 'id' => $query->id)).'" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
39 | 39 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | public function store(Request $request, $productId) |
51 | 51 | { |
52 | - $result = ProductAmountSeriesService::create($request->all(), $productId); |
|
52 | + $result = ProductAmountSeriesService::create($request->all(), $productId); |
|
53 | 53 | return ProductService::notificationRedirect(array('product.product-amount-series.index', $productId), $result, 'The product amount series is inserted.'); |
54 | 54 | } |
55 | 55 | |
@@ -68,13 +68,13 @@ discard block |
||
68 | 68 | |
69 | 69 | public function update(Request $request, $productId, $id) |
70 | 70 | { |
71 | - $result = ProductAmountSeriesService::updateById($request->all(), $productId, $id); |
|
71 | + $result = ProductAmountSeriesService::updateById($request->all(), $productId, $id); |
|
72 | 72 | return ProductService::notificationRedirect(array('product.product-amount-series.index', $productId), $result, 'The product amount series is updated.'); |
73 | 73 | } |
74 | 74 | |
75 | 75 | public function destroy($productId, $id) |
76 | 76 | { |
77 | - $result = ProductAmountSeriesService::destroy($id); |
|
77 | + $result = ProductAmountSeriesService::destroy($id); |
|
78 | 78 | |
79 | 79 | if ($result) { |
80 | 80 | Notification::success('The product amount series is deleted.'); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | if ($request->wantsJson()) { |
26 | 26 | $query = SendingMethodService::getModel()->where('shop_id', '=', auth('hideyobackend')->user()->selected_shop_id); |
27 | 27 | |
28 | - $datatables = DataTables::of($query)->addColumn('action', function ($query) { |
|
28 | + $datatables = DataTables::of($query)->addColumn('action', function($query) { |
|
29 | 29 | $deleteLink = Form::deleteajax(url()->route('sending-method.destroy', $query->id), 'Delete', '', array('class'=>'btn btn-sm btn-danger'), $query->title); |
30 | 30 | $links = '<a href="'.url()->route('sending-method.country-prices.index', $query->id).'" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Country prices ('.$query->countryPrices()->count().')</a> <a href="/admin/sending-method/'.$query->id.'/edit" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
31 | 31 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | public function store(Request $request) |
51 | 51 | { |
52 | - $result = SendingMethodService::create($request->all()); |
|
52 | + $result = SendingMethodService::create($request->all()); |
|
53 | 53 | return SendingMethodService::notificationRedirect('sending-method.index', $result, 'The sending method was inserted.'); |
54 | 54 | } |
55 | 55 | |
@@ -66,13 +66,13 @@ discard block |
||
66 | 66 | |
67 | 67 | public function update(Request $request, $sendingMethodId) |
68 | 68 | { |
69 | - $result = SendingMethodService::updateById($request->all(), $sendingMethodId); |
|
69 | + $result = SendingMethodService::updateById($request->all(), $sendingMethodId); |
|
70 | 70 | return SendingMethodService::notificationRedirect('sending-method.index', $result, 'The sending method was updated.'); |
71 | 71 | } |
72 | 72 | |
73 | 73 | public function destroy($sendingMethodId) |
74 | 74 | { |
75 | - $result = SendingMethodService::destroy($sendingMethodId); |
|
75 | + $result = SendingMethodService::destroy($sendingMethodId); |
|
76 | 76 | |
77 | 77 | if ($result) { |
78 | 78 | Notification::success('The sending method was deleted.'); |
@@ -27,13 +27,13 @@ discard block |
||
27 | 27 | |
28 | 28 | $datatables = DataTables::of($productCategory) |
29 | 29 | |
30 | - ->addColumn('image', function ($productCategory) { |
|
30 | + ->addColumn('image', function($productCategory) { |
|
31 | 31 | if ($productCategory->productCategoryImages->count()) { |
32 | 32 | return '<img src="/files/product_category/100x100/'.$productCategory->id.'/'.$productCategory->productCategoryImages->first()->file.'" />'; |
33 | 33 | } |
34 | 34 | }) |
35 | 35 | |
36 | - ->addColumn('title', function ($productCategory) { |
|
36 | + ->addColumn('title', function($productCategory) { |
|
37 | 37 | |
38 | 38 | $categoryTitle = $productCategory->title; |
39 | 39 | if ($productCategory->refProductCategory) { |
@@ -47,17 +47,17 @@ discard block |
||
47 | 47 | return $categoryTitle; |
48 | 48 | }) |
49 | 49 | |
50 | - ->addColumn('products', function ($productCategory) { |
|
50 | + ->addColumn('products', function($productCategory) { |
|
51 | 51 | return $productCategory->products->count(); |
52 | 52 | }) |
53 | - ->addColumn('parent', function ($productCategory) { |
|
53 | + ->addColumn('parent', function($productCategory) { |
|
54 | 54 | |
55 | 55 | if ($productCategory->parent()->count()) { |
56 | 56 | return $productCategory->parent()->first()->title; |
57 | 57 | } |
58 | 58 | }) |
59 | 59 | |
60 | - ->addColumn('active', function ($product) { |
|
60 | + ->addColumn('active', function($product) { |
|
61 | 61 | if ($product->active) { |
62 | 62 | return '<a href="#" class="change-active" data-url="/admin/product-category/change-active/'.$product->id.'"><span class="glyphicon glyphicon-ok icon-green"></span></a>'; |
63 | 63 | } |
@@ -66,12 +66,12 @@ discard block |
||
66 | 66 | }) |
67 | 67 | |
68 | 68 | |
69 | - ->addColumn('seo', function ($productCategory) { |
|
69 | + ->addColumn('seo', function($productCategory) { |
|
70 | 70 | if ($productCategory->meta_title && $productCategory->meta_description) { |
71 | 71 | return '<i class="fa fa-check"></i>'; |
72 | 72 | } |
73 | 73 | }) |
74 | - ->addColumn('action', function ($productCategory) { |
|
74 | + ->addColumn('action', function($productCategory) { |
|
75 | 75 | $deleteLink = Form::deleteajax(url()->route('product-category.destroy', $productCategory->id), 'Delete', '', array('class'=>'btn btn-sm btn-danger'), $productCategory->title); |
76 | 76 | $links = '<a href="'.url()->route('product-category.edit', $productCategory->id).'" class="btn btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
77 | 77 | |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | |
133 | 133 | public function store(Request $request) |
134 | 134 | { |
135 | - $result = ProductCategoryService::create($this->generateInput($request->all())); |
|
135 | + $result = ProductCategoryService::create($this->generateInput($request->all())); |
|
136 | 136 | return ProductCategoryService::notificationRedirect('product-category.index', $result, 'The product category was inserted.'); |
137 | 137 | } |
138 | 138 | |
@@ -154,13 +154,13 @@ discard block |
||
154 | 154 | |
155 | 155 | public function update(Request $request, $productCategoryId) |
156 | 156 | { |
157 | - $result = ProductCategoryService::updateById($this->generateInput($request->all()), $productCategoryId); |
|
157 | + $result = ProductCategoryService::updateById($this->generateInput($request->all()), $productCategoryId); |
|
158 | 158 | return ProductCategoryService::notificationRedirect('product-category.index', $result, 'The product category was updated.'); |
159 | 159 | } |
160 | 160 | |
161 | 161 | public function destroy($productCategoryId) |
162 | 162 | { |
163 | - $result = ProductCategoryService::destroy($productCategoryId); |
|
163 | + $result = ProductCategoryService::destroy($productCategoryId); |
|
164 | 164 | |
165 | 165 | if ($result) { |
166 | 166 | Notification::success('Category was deleted.'); |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | } elseif ($parent->children()->count()) { |
231 | 231 | $node->makeLastChildOf($parent); |
232 | 232 | foreach ($parent->children()->get() as $key => $row) { |
233 | - $positionKey = $position - 1; |
|
233 | + $positionKey = $position - 1; |
|
234 | 234 | if ($key == $positionKey) { |
235 | 235 | $node->moveToRightOf($row); |
236 | 236 | } |
@@ -26,10 +26,10 @@ discard block |
||
26 | 26 | |
27 | 27 | $datatables = DataTables::of($image) |
28 | 28 | |
29 | - ->addColumn('thumb', function ($image) { |
|
29 | + ->addColumn('thumb', function($image) { |
|
30 | 30 | return '<img src="/files/news/100x100/'.$image->news_id.'/'.$image->file.'" />'; |
31 | 31 | }) |
32 | - ->addColumn('action', function ($image) use ($newsId) { |
|
32 | + ->addColumn('action', function($image) use ($newsId) { |
|
33 | 33 | $deleteLink = Form::deleteajax(url()->route('news-images.destroy', array('newsId' => $newsId, 'id' => $image->id)), 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
34 | 34 | $links = '<a href="'.url()->route('news-images.edit', array('newsId' => $newsId, 'id' => $image->id)).'" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
35 | 35 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | public function store(Request $request, $newsId) |
52 | 52 | { |
53 | - $result = NewsService::createImage($request->all(), $newsId); |
|
53 | + $result = NewsService::createImage($request->all(), $newsId); |
|
54 | 54 | return NewsService::notificationRedirect(array('news-images.index', $newsId), $result, 'The news image was inserted.'); |
55 | 55 | } |
56 | 56 | |
@@ -62,13 +62,13 @@ discard block |
||
62 | 62 | |
63 | 63 | public function update(Request $request, $newsId, $newsImageId) |
64 | 64 | { |
65 | - $result = NewsService::updateImageById($request->all(), $newsId, $newsImageId); |
|
65 | + $result = NewsService::updateImageById($request->all(), $newsId, $newsImageId); |
|
66 | 66 | return NewsService::notificationRedirect(array('news-images.index', $newsId), $result, 'The news image was updated.'); |
67 | 67 | } |
68 | 68 | |
69 | 69 | public function destroy($newsId, $newsImageId) |
70 | 70 | { |
71 | - $result = NewsService::destroyImage($newsImageId); |
|
71 | + $result = NewsService::destroyImage($newsImageId); |
|
72 | 72 | |
73 | 73 | if ($result) { |
74 | 74 | Notification::success('The file was deleted.'); |
@@ -22,10 +22,10 @@ discard block |
||
22 | 22 | if ($request->wantsJson()) { |
23 | 23 | |
24 | 24 | $query = ProductTagGroupService::getModel() |
25 | - ->select(['id','tag']) |
|
25 | + ->select(['id', 'tag']) |
|
26 | 26 | ->where('shop_id', '=', auth('hideyobackend')->user()->selected_shop_id); |
27 | 27 | |
28 | - $datatables = \DataTables::of($query)->addColumn('action', function ($query) { |
|
28 | + $datatables = \DataTables::of($query)->addColumn('action', function($query) { |
|
29 | 29 | $deleteLink = \Form::deleteajax(url()->route('product-tag-group.destroy', $query->id), 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
30 | 30 | $links = '<a href="'.url()->route('product-tag-group.edit', $query->id).'" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
31 | 31 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | public function store(Request $request) |
49 | 49 | { |
50 | - $result = ProductTagGroupService::create($request->all()); |
|
50 | + $result = ProductTagGroupService::create($request->all()); |
|
51 | 51 | return ProductTagGroupService::notificationRedirect('product-tag-group.index', $result, 'The product group tag was inserted.'); |
52 | 52 | } |
53 | 53 | |
@@ -63,13 +63,13 @@ discard block |
||
63 | 63 | |
64 | 64 | public function update(Request $request, $productTagGroupId) |
65 | 65 | { |
66 | - $result = ProductTagGroupService::updateById($request->all(), $productTagGroupId); |
|
66 | + $result = ProductTagGroupService::updateById($request->all(), $productTagGroupId); |
|
67 | 67 | return ProductTagGroupService::notificationRedirect('product-tag-group.index', $result, 'The product group tag was updated.'); |
68 | 68 | } |
69 | 69 | |
70 | 70 | public function destroy($productTagGroupId) |
71 | 71 | { |
72 | - $result = ProductTagGroupService::destroy($productTagGroupId); |
|
72 | + $result = ProductTagGroupService::destroy($productTagGroupId); |
|
73 | 73 | |
74 | 74 | if ($result) { |
75 | 75 | Notification::success('The product group tag was deleted.'); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | if ($request->wantsJson()) { |
31 | 31 | $query = AttributeService::getGroupModel()->where('shop_id', '=', auth('hideyobackend')->user()->selected_shop_id); |
32 | 32 | |
33 | - $datatables = DataTables::of($query)->addColumn('action', function ($query) { |
|
33 | + $datatables = DataTables::of($query)->addColumn('action', function($query) { |
|
34 | 34 | $deleteLink = Form::deleteajax(url()->route('attribute-group.destroy', $query->id), 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
35 | 35 | $links = ' |
36 | 36 | <a href="'.url()->route('attribute.index', $query->id).'" class="btn btn-sm btn-info"><i class="entypo-pencil"></i>'.$query->attributes->count().' Attributes</a> |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | public function store(Request $request) |
54 | 54 | { |
55 | - $result = AttributeService::createGroup($request->all()); |
|
55 | + $result = AttributeService::createGroup($request->all()); |
|
56 | 56 | return AttributeService::notificationRedirect('attribute-group.index', $result, 'The attribute group was inserted.'); |
57 | 57 | } |
58 | 58 | |
@@ -63,13 +63,13 @@ discard block |
||
63 | 63 | |
64 | 64 | public function update(Request $request, $attributeGroupId) |
65 | 65 | { |
66 | - $result = AttributeService::updateGroupById($request->all(), $attributeGroupId); |
|
66 | + $result = AttributeService::updateGroupById($request->all(), $attributeGroupId); |
|
67 | 67 | return AttributeService::notificationRedirect('attribute-group.index', $result, 'The attribute group was updated.'); |
68 | 68 | } |
69 | 69 | |
70 | 70 | public function destroy($attributeGroupId) |
71 | 71 | { |
72 | - $result = AttributeService::destroyGroup($attributeGroupId); |
|
72 | + $result = AttributeService::destroyGroup($attributeGroupId); |
|
73 | 73 | |
74 | 74 | if ($result) { |
75 | 75 | Notification::success('Attribute group was deleted.'); |
@@ -25,11 +25,11 @@ discard block |
||
25 | 25 | $query = RedirectService::selectAll(); |
26 | 26 | $datatables = \DataTables::of($query) |
27 | 27 | |
28 | - ->addColumn('url', function ($query) { |
|
28 | + ->addColumn('url', function($query) { |
|
29 | 29 | return '<a href="'.$query->url.'" target="_blank">'.$query->url.'</a>'; |
30 | 30 | }) |
31 | 31 | |
32 | - ->addColumn('action', function ($query) { |
|
32 | + ->addColumn('action', function($query) { |
|
33 | 33 | $deleteLink = \Form::deleteajax(url()->route('redirect.destroy', $query->id), 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
34 | 34 | $links = '<a href="'.url()->route('redirect.edit', $query->id).'" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$deleteLink; |
35 | 35 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | public function store() |
53 | 53 | { |
54 | - $result = RedirectService::create(Request::all()); |
|
54 | + $result = RedirectService::create(Request::all()); |
|
55 | 55 | return RedirectService::notificationRedirect('redirect.index', $result, 'The redirect was inserted.'); |
56 | 56 | } |
57 | 57 | |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | public function postImport() |
73 | 73 | { |
74 | 74 | $file = Request::file('file'); |
75 | - Excel::load($file, function ($reader) { |
|
75 | + Excel::load($file, function($reader) { |
|
76 | 76 | |
77 | 77 | $results = $reader->get(); |
78 | 78 | |
@@ -91,11 +91,11 @@ discard block |
||
91 | 91 | |
92 | 92 | public function getExport() |
93 | 93 | { |
94 | - $result = RedirectService::selectAll(); |
|
94 | + $result = RedirectService::selectAll(); |
|
95 | 95 | |
96 | - Excel::create('redirects', function ($excel) use ($result) { |
|
96 | + Excel::create('redirects', function($excel) use ($result) { |
|
97 | 97 | |
98 | - $excel->sheet('Redirects', function ($sheet) use ($result) { |
|
98 | + $excel->sheet('Redirects', function($sheet) use ($result) { |
|
99 | 99 | $newArray = array(); |
100 | 100 | foreach ($result as $row) { |
101 | 101 | $newArray[$row->id] = array( |
@@ -112,13 +112,13 @@ discard block |
||
112 | 112 | |
113 | 113 | public function update($redirectId) |
114 | 114 | { |
115 | - $result = RedirectService::updateById(Request::all(), $redirectId); |
|
115 | + $result = RedirectService::updateById(Request::all(), $redirectId); |
|
116 | 116 | return RedirectService::notificationRedirect('redirect.index', $result, 'The redirect was updated.'); |
117 | 117 | } |
118 | 118 | |
119 | 119 | public function destroy($redirectId) |
120 | 120 | { |
121 | - $result = RedirectService::destroy($redirectId); |
|
121 | + $result = RedirectService::destroy($redirectId); |
|
122 | 122 | |
123 | 123 | if ($result) { |
124 | 124 | Notification::success('Redirect item is deleted.'); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | 'name'] |
31 | 31 | )->where('sending_method_id', '=', $sendingMethodId); |
32 | 32 | |
33 | - $datatables = \DataTables::of($users)->addColumn('action', function ($users) use ($sendingMethodId) { |
|
33 | + $datatables = \DataTables::of($users)->addColumn('action', function($users) use ($sendingMethodId) { |
|
34 | 34 | $delete = \Form::deleteajax(url()->route('sending-method.country-prices.destroy', array('sendingMethodId' => $sendingMethodId, 'id' => $users->id)), 'Delete', '', array('class'=>'btn btn-default btn-sm btn-danger')); |
35 | 35 | $link = '<a href="'.url()->route('sending-method.country-prices.edit', array('sendingMethodId' => $sendingMethodId, 'id' => $users->id)).'" class="btn btn-default btn-sm btn-success"><i class="entypo-pencil"></i>Edit</a> '.$delete; |
36 | 36 | |
@@ -65,8 +65,8 @@ discard block |
||
65 | 65 | $countries = \Excel::load($file, function($reader) { |
66 | 66 | })->get(); |
67 | 67 | |
68 | - if($countries) { |
|
69 | - $result = SendingMethodService::importCountries($countries, $request->get('tax_rate_id'), $sendingMethodId); |
|
68 | + if ($countries) { |
|
69 | + $result = SendingMethodService::importCountries($countries, $request->get('tax_rate_id'), $sendingMethodId); |
|
70 | 70 | Notification::success('The countries are inserted.'); |
71 | 71 | return redirect()->route('sending-method.country-prices.index', $sendingMethodId); |
72 | 72 | } |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | public function store(Request $request, $sendingMethodId) |
76 | 76 | { |
77 | - $result = SendingMethodService::createCountry($request->all(), $sendingMethodId); |
|
77 | + $result = SendingMethodService::createCountry($request->all(), $sendingMethodId); |
|
78 | 78 | return SendingMethodService::notificationRedirect(array('sending-method.country-prices.index', $sendingMethodId), $result, 'The country was inserted.'); |
79 | 79 | } |
80 | 80 | |
@@ -89,13 +89,13 @@ discard block |
||
89 | 89 | |
90 | 90 | public function update(Request $request, $sendingMethodId, $id) |
91 | 91 | { |
92 | - $result = SendingMethodService::updateCountryById($request->all(), $id); |
|
92 | + $result = SendingMethodService::updateCountryById($request->all(), $id); |
|
93 | 93 | return SendingMethodService::notificationRedirect(array('sending-method.country-prices.index', $sendingMethodId), $result, 'The country was updated.'); |
94 | 94 | } |
95 | 95 | |
96 | 96 | public function destroy($sendingMethodId, $id) |
97 | 97 | { |
98 | - $result = SendingMethodService::destroyCountry($id); |
|
98 | + $result = SendingMethodService::destroyCountry($id); |
|
99 | 99 | |
100 | 100 | if ($result) { |
101 | 101 | Notification::success('The country price was deleted.'); |