2019-05-03 09:57:55 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use App\DataMapper\ClientSettings;
|
|
|
|
use App\DataMapper\CompanySettings;
|
2019-08-19 08:50:33 +02:00
|
|
|
use App\Models\Payment;
|
2019-05-03 09:57:55 +02:00
|
|
|
use Faker\Generator as Faker;
|
|
|
|
|
|
|
|
$factory->define(App\Models\Payment::class, function (Faker $faker) {
|
|
|
|
return [
|
2019-05-03 10:28:48 +02:00
|
|
|
'is_deleted' => false,
|
2019-05-03 09:57:55 +02:00
|
|
|
'amount' => $faker->numberBetween(1,10),
|
|
|
|
'payment_date' => $faker->date(),
|
|
|
|
'transaction_reference' => $faker->text(10),
|
2019-08-19 08:50:33 +02:00
|
|
|
'payment_type_id' => Payment::TYPE_CREDIT_CARD,
|
|
|
|
'status_id' => Payment::STATUS_COMPLETED
|
2019-05-03 09:57:55 +02:00
|
|
|
];
|
|
|
|
});
|
|
|
|
|
|
|
|
|