@@ -8,7 +8,7 @@ |
||
8 | 8 | * |
9 | 9 | * @version 1.0 |
10 | 10 | */ |
11 | -$factory->define(App\Models\TransactionStatus::class, function (Faker\Generator $faker) { |
|
11 | +$factory->define(App\Models\TransactionStatus::class, function(Faker\Generator $faker) { |
|
12 | 12 | |
13 | 13 | /* |
14 | 14 | * $StatusArrayDesc = array ("None", "Reconciled", "Void", "Follow Up", "Duplicate"); |
@@ -8,12 +8,12 @@ |
||
8 | 8 | * |
9 | 9 | * @version 1.0 |
10 | 10 | */ |
11 | -$factory->define(App\Models\Transaction::class, function (Faker\Generator $faker) { |
|
11 | +$factory->define(App\Models\Transaction::class, function(Faker\Generator $faker) { |
|
12 | 12 | return [ |
13 | - 'status_id' => function () { |
|
13 | + 'status_id' => function() { |
|
14 | 14 | return factory(App\Models\TransactionStatus::class)->create()->id; |
15 | 15 | }, |
16 | - 'type_id' => function () { |
|
16 | + 'type_id' => function() { |
|
17 | 17 | return factory(App\Models\TransactionType::class)->create()->id; |
18 | 18 | }, |
19 | 19 | 'account_name' => $faker->word, |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * |
9 | 9 | * @version 1.0 |
10 | 10 | */ |
11 | -$factory->define(App\Models\TransactionType::class, function (Faker\Generator $faker) { |
|
11 | +$factory->define(App\Models\TransactionType::class, function(Faker\Generator $faker) { |
|
12 | 12 | // $TypeArrayDesc = array ("Withdrawal", "Deposit", "Transfer"); |
13 | 13 | return [ |
14 | 14 | 'name' => $faker->word, |
@@ -28,7 +28,7 @@ |
||
28 | 28 | 'Amount' => floatval($item->amount), |
29 | 29 | 'Notes' => $item->notes, |
30 | 30 | 'Attachments' => $item->getMedia('attachments') |
31 | - ->map(function ($mediaItem) { |
|
31 | + ->map(function($mediaItem) { |
|
32 | 32 | return $mediaItem->file_name; |
33 | 33 | })->implode(','), ]; |
34 | 34 | } |