@@ -83,7 +83,7 @@ |
||
| 83 | 83 | public function filterFields($fields) |
| 84 | 84 | { |
| 85 | 85 | $fields->amount_exact->hidden = $this->is_percentage; |
| 86 | - $fields->amount_percentage->hidden = ! $this->is_percentage; |
|
| 86 | + $fields->amount_percentage->hidden = !$this->is_percentage; |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_promotions', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_promotions', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->string('name')->default(''); |