@@ -25,14 +25,14 @@ |
||
25 | 25 | public function boot() |
26 | 26 | { |
27 | 27 | // Service provider to customize form inputs |
28 | - Form::component('bsText', 'components.form.text', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
28 | + Form::component('bsText', 'components.form.text', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
29 | 29 | Form::component('bsPassword', 'components.form.password', ['name', 'label', 'value' => null, 'attributes' => []]); |
30 | - Form::component('bsNumber', 'components.form.number', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
31 | - Form::component('bsEmail', 'components.form.email', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
32 | - Form::component('bsDate', 'components.form.date', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
30 | + Form::component('bsNumber', 'components.form.number', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
31 | + Form::component('bsEmail', 'components.form.email', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
32 | + Form::component('bsDate', 'components.form.date', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
33 | 33 | Form::component('bsTextarea', 'components.form.textarea', ['name', 'label', 'value' => null, 'attributes' => []]); |
34 | 34 | Form::component('bsCheckbox', 'components.form.checkbox', ['name', 'label', 'value' => 'on', 'checked' => false, 'attributes' => []]); |
35 | - Form::component('bsSelect', 'components.form.select', ['name', 'label', 'list', 'selected' => null, 'attributes' => []]); |
|
35 | + Form::component('bsSelect', 'components.form.select', ['name', 'label', 'list', 'selected' => null, 'attributes' => []]); |
|
36 | 36 | |
37 | 37 | // Custom Submit button |
38 | 38 | Form::component('bsSubmit', 'components.form.submit', ['name']); |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use App\TechTipFiles; |
6 | 6 | |
7 | -$factory->define(TechTipFiles::class, function () { |
|
7 | +$factory->define(TechTipFiles::class, function() { |
|
8 | 8 | return [ |
9 | 9 | 'tip_id' => factory(App\TechTips::class)->create()->tip_id, |
10 | 10 | 'file_id' => factory(App\Files::class)->create()->file_id, |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use App\TechTipSystems; |
6 | 6 | |
7 | -$factory->define(TechTipSystems::class, function () { |
|
7 | +$factory->define(TechTipSystems::class, function() { |
|
8 | 8 | return [ |
9 | 9 | 'tip_id' => factory(App\TechTips::class)->create()->tip_id, |
10 | 10 | 'sys_id' => factory(App\SystemTypes::class)->create()->sys_id, |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use App\TechTips; |
6 | 6 | use Faker\Generator as Faker; |
7 | 7 | |
8 | -$factory->define(TechTips::class, function (Faker $faker) { |
|
8 | +$factory->define(TechTips::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | 'user_id' => factory(App\User::class)->create()->user_id, |
11 | 11 | 'public' => 0, |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use App\CustomerFileTypes; |
6 | 6 | use Faker\Generator as Faker; |
7 | 7 | |
8 | -$factory->define(CustomerFileTypes::class, function (Faker $faker) { |
|
8 | +$factory->define(CustomerFileTypes::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | 'description' => $faker->unique()->name(), |
11 | 11 | ]; |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use App\CustomerContacts; |
6 | 6 | use Faker\Generator as Faker; |
7 | 7 | |
8 | -$factory->define(CustomerContacts::class, function (Faker $faker) { |
|
8 | +$factory->define(CustomerContacts::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | 'cust_id' => factory(App\Customers::class)->create(), |
11 | 11 | 'name' => $faker->name(), |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use App\SystemCategories; |
6 | 6 | use Faker\Generator as Faker; |
7 | 7 | |
8 | -$factory->define(SystemCategories::class, function (Faker $faker) { |
|
8 | +$factory->define(SystemCategories::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | 'name' => $faker->unique()->text(15) |
11 | 11 | ]; |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use App\CustomerNotes; |
6 | 6 | use Faker\Generator as Faker; |
7 | 7 | |
8 | -$factory->define(CustomerNotes::class, function (Faker $faker) { |
|
8 | +$factory->define(CustomerNotes::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | 'cust_id' => factory(App\Customers::class)->create()->cust_id, |
11 | 11 | 'user_id' => factory(App\User::class)->create()->user_id, |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use App\TechTipComments; |
6 | 6 | use Faker\Generator as Faker; |
7 | 7 | |
8 | -$factory->define(TechTipComments::class, function (Faker $faker) { |
|
8 | +$factory->define(TechTipComments::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | 'tip_id' => factory(App\TechTips::class)->create()->tip_id, |
11 | 11 | 'user_id' => factory(App\User::class)->create()->user_id, |