Work on SSL and Host accounts
This commit is contained in:
@@ -6,9 +6,14 @@ use Leenooks\Carbon as Carbon;
|
||||
$factory->define(App\Models\InvoiceItem::class, function (Faker $faker) {
|
||||
return [
|
||||
'id'=>1,
|
||||
'price_base'=>100,
|
||||
];
|
||||
});
|
||||
|
||||
$factory->afterMaking(App\Models\InvoiceItem::class, function ($item,$faker) {
|
||||
$item->exists = TRUE;
|
||||
});
|
||||
|
||||
// Weekly
|
||||
$factory->state(App\Models\InvoiceItem::class,'week',[
|
||||
'date_start'=>Carbon::now()->startOfWeek(),
|
||||
|
Reference in New Issue
Block a user