@@ -62,7 +62,7 @@ |
||
62 | 62 | 'paymentMethodsList' => $paymentMethodsList)); |
63 | 63 | } |
64 | 64 | |
65 | - return view('frontend.checkout.login')->with(array( 'sendingMethodsList' => $sendingMethodsList, 'paymentMethodsList' => $paymentMethodsList)); |
|
65 | + return view('frontend.checkout.login')->with(array( 'sendingMethodsList' => $sendingMethodsList, 'paymentMethodsList' => $paymentMethodsList)); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | $user = auth('web')->user(); |
@@ -209,7 +209,7 @@ |
||
209 | 209 | |
210 | 210 | Notification::error('wachtwoord vergeten is mislukt'); |
211 | 211 | return redirect()->to('account/forgot-password') |
212 | - ->withErrors(true, 'forgot')->withInput(); |
|
212 | + ->withErrors(true, 'forgot')->withInput(); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | public function postResetPassword(Request $request, $confirmationCode, $email) |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | ->addColumn('status', function ($order) { |
48 | 48 | if ($order->orderStatus) { |
49 | - return $order->orderStatus->title; |
|
49 | + return $order->orderStatus->title; |
|
50 | 50 | } |
51 | 51 | }) |
52 | 52 |
@@ -47,6 +47,6 @@ |
||
47 | 47 | public function store($productId, Request $request) |
48 | 48 | { |
49 | 49 | $result = ProductExtraFieldValueService::create($request->all(), $productId); |
50 | - return ProductExtraFieldValueService::notificationRedirect(array('product.product-extra-field-value.index', $productId), $result, 'The product extra fields are updated.'); |
|
50 | + return ProductExtraFieldValueService::notificationRedirect(array('product.product-extra-field-value.index', $productId), $result, 'The product extra fields are updated.'); |
|
51 | 51 | } |
52 | 52 | } |
@@ -259,9 +259,9 @@ |
||
259 | 259 | { |
260 | 260 | $order = OrderService::find($orderId); |
261 | 261 | if($order->orderLabel()->count()) { |
262 | - header("Content-type: application/octet-stream"); |
|
263 | - header("Content-disposition: attachment;filename=label.pdf"); |
|
264 | - echo $order->orderLabel->data; |
|
262 | + header("Content-type: application/octet-stream"); |
|
263 | + header("Content-disposition: attachment;filename=label.pdf"); |
|
264 | + echo $order->orderLabel->data; |
|
265 | 265 | } |
266 | 266 | } |
267 | 267 |
@@ -68,7 +68,7 @@ |
||
68 | 68 | function ($query) use ($keyword) { |
69 | 69 | $query->whereRaw("product.title like ?", ["%{$keyword}%"]); |
70 | 70 | $query->orWhereRaw("product.reference_code like ?", ["%{$keyword}%"]); |
71 | - $query->orWhereRaw("brand.title like ?", ["%{$keyword}%"]); |
|
71 | + $query->orWhereRaw("brand.title like ?", ["%{$keyword}%"]); |
|
72 | 72 | ; |
73 | 73 | } |
74 | 74 | ); |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | { |
19 | 19 | public function index(Request $request, $productId) |
20 | 20 | { |
21 | - $product = ProductService::find($productId); |
|
21 | + $product = ProductService::find($productId); |
|
22 | 22 | if ($request->wantsJson()) { |
23 | 23 | |
24 | 24 | $query = ProductService::getImageModel()->where('product_id', '=', $productId); |
@@ -96,8 +96,8 @@ discard block |
||
96 | 96 | foreach ($newProductAttributes as $key => $productAttribute) { |
97 | 97 | $newArray = array(); |
98 | 98 | foreach ($productAttribute as $keyNew => $valueNew) { |
99 | - $newArray[] = $keyNew.': '.$valueNew['value']; |
|
100 | - $attributesList[$valueNew['id']] = $valueNew['value']; |
|
99 | + $newArray[] = $keyNew.': '.$valueNew['value']; |
|
100 | + $attributesList[$valueNew['id']] = $valueNew['value']; |
|
101 | 101 | } |
102 | 102 | $productAttributesList[$key] = implode(', ', $newArray); |
103 | 103 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | }) |
49 | 49 | ->addColumn('bill', function ($addresses) { |
50 | 50 | if ($addresses->clientBillAddress()->count()) { |
51 | - return '<span class="glyphicon glyphicon-ok icon-green"></span>'; |
|
51 | + return '<span class="glyphicon glyphicon-ok icon-green"></span>'; |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | return '<span class="glyphicon glyphicon-remove icon-red"></span>'; |