mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
43e57d0117
* minor fix for payment notifications * styleci * Limit Self updating to self hosters only : * Fixes for designs * Minor fixes for self-update
18 lines
492 B
PHP
18 lines
492 B
PHP
<?php
|
|
|
|
use App\DataMapper\ClientSettings;
|
|
use App\DataMapper\CompanySettings;
|
|
use App\Models\Payment;
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(App\Models\Payment::class, function (Faker $faker) {
|
|
return [
|
|
'is_deleted' => false,
|
|
'amount' => $faker->numberBetween(1, 10),
|
|
'date' => $faker->date(),
|
|
'transaction_reference' => $faker->text(10),
|
|
'type_id' => Payment::TYPE_CREDIT_CARD,
|
|
'status_id' => Payment::STATUS_COMPLETED
|
|
];
|
|
});
|