@@ -17,13 +17,13 @@ |
||
17 | 17 | */ |
18 | 18 | public function boot() |
19 | 19 | { |
20 | - $this->publishes([ |
|
21 | - __DIR__.'/../database/migrations/' => database_path('migrations') |
|
22 | - ], 'migrations'); |
|
20 | + $this->publishes([ |
|
21 | + __DIR__.'/../database/migrations/' => database_path('migrations') |
|
22 | + ], 'migrations'); |
|
23 | 23 | |
24 | - $this->publishes([ |
|
25 | - __DIR__.'/../database/seeds/' => database_path('seeds') |
|
26 | - ], 'seeds'); |
|
24 | + $this->publishes([ |
|
25 | + __DIR__.'/../database/seeds/' => database_path('seeds') |
|
26 | + ], 'seeds'); |
|
27 | 27 | |
28 | 28 | } |
29 | 29 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $html = array(); |
58 | 58 | if (is_array($selected)) { |
59 | 59 | foreach ($selected as $key => $value) { |
60 | - $selected[$value] = $value; |
|
60 | + $selected[$value] = $value; |
|
61 | 61 | } |
62 | 62 | } |
63 | 63 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $sendingMethod->save(); |
25 | 25 | |
26 | 26 | $sendingMethod2 = new SendingMethod; |
27 | - $sendingMethod2->active = 1; |
|
27 | + $sendingMethod2->active = 1; |
|
28 | 28 | $sendingMethod2->title = 'Netherlands'; |
29 | 29 | $sendingMethod2->tax_rate_id = $taxRate->id; |
30 | 30 | $sendingMethod2->price = '30'; |
@@ -14,31 +14,31 @@ |
||
14 | 14 | DB::table($productRelatedProduct->getTable())->delete(); |
15 | 15 | |
16 | 16 | for ($x = 1; $x <= 10; $x++) { |
17 | - $productRelatedProduct = new ProductRelatedProduct; |
|
18 | - $productRelatedProduct->product_id = $x; |
|
19 | - $productRelatedProduct->related_product_id = $x + 1; |
|
20 | - $productRelatedProduct->save(); |
|
21 | - } |
|
17 | + $productRelatedProduct = new ProductRelatedProduct; |
|
18 | + $productRelatedProduct->product_id = $x; |
|
19 | + $productRelatedProduct->related_product_id = $x + 1; |
|
20 | + $productRelatedProduct->save(); |
|
21 | + } |
|
22 | 22 | |
23 | 23 | for ($x = 2; $x <= 10; $x++) { |
24 | - $productRelatedProduct = new ProductRelatedProduct; |
|
25 | - $productRelatedProduct->product_id = $x; |
|
26 | - $productRelatedProduct->related_product_id = $x + 1; |
|
27 | - $productRelatedProduct->save(); |
|
28 | - } |
|
24 | + $productRelatedProduct = new ProductRelatedProduct; |
|
25 | + $productRelatedProduct->product_id = $x; |
|
26 | + $productRelatedProduct->related_product_id = $x + 1; |
|
27 | + $productRelatedProduct->save(); |
|
28 | + } |
|
29 | 29 | |
30 | 30 | for ($x = 3; $x <= 10; $x++) { |
31 | - $productRelatedProduct = new ProductRelatedProduct; |
|
32 | - $productRelatedProduct->product_id = $x; |
|
33 | - $productRelatedProduct->related_product_id = $x + 1; |
|
34 | - $productRelatedProduct->save(); |
|
35 | - } |
|
31 | + $productRelatedProduct = new ProductRelatedProduct; |
|
32 | + $productRelatedProduct->product_id = $x; |
|
33 | + $productRelatedProduct->related_product_id = $x + 1; |
|
34 | + $productRelatedProduct->save(); |
|
35 | + } |
|
36 | 36 | |
37 | 37 | for ($x = 4; $x <= 10; $x++) { |
38 | - $productRelatedProduct = new ProductRelatedProduct; |
|
39 | - $productRelatedProduct->product_id = $x; |
|
40 | - $productRelatedProduct->related_product_id = $x + 1; |
|
41 | - $productRelatedProduct->save(); |
|
42 | - } |
|
38 | + $productRelatedProduct = new ProductRelatedProduct; |
|
39 | + $productRelatedProduct->product_id = $x; |
|
40 | + $productRelatedProduct->related_product_id = $x + 1; |
|
41 | + $productRelatedProduct->save(); |
|
42 | + } |
|
43 | 43 | } |
44 | 44 | } |
@@ -34,6 +34,6 @@ |
||
34 | 34 | */ |
35 | 35 | public function down() |
36 | 36 | { |
37 | - // |
|
37 | + // |
|
38 | 38 | } |
39 | 39 | } |
@@ -60,6 +60,6 @@ |
||
60 | 60 | */ |
61 | 61 | public function down() |
62 | 62 | { |
63 | - // |
|
63 | + // |
|
64 | 64 | } |
65 | 65 | } |
@@ -47,6 +47,6 @@ |
||
47 | 47 | */ |
48 | 48 | public function down() |
49 | 49 | { |
50 | - // |
|
50 | + // |
|
51 | 51 | } |
52 | 52 | } |
@@ -35,6 +35,6 @@ |
||
35 | 35 | */ |
36 | 36 | public function down() |
37 | 37 | { |
38 | - // |
|
38 | + // |
|
39 | 39 | } |
40 | 40 | } |
@@ -84,6 +84,6 @@ |
||
84 | 84 | */ |
85 | 85 | public function down() |
86 | 86 | { |
87 | - // |
|
87 | + // |
|
88 | 88 | } |
89 | 89 | } |