mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-18 00:53:10 +01:00
Added random font to test account
This commit is contained in:
parent
1676064fbf
commit
c12514b07f
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
|
use App\Models\Font;
|
||||||
use App\Models\Account;
|
use App\Models\Account;
|
||||||
use App\Models\Company;
|
use App\Models\Company;
|
||||||
use App\Models\Affiliate;
|
use App\Models\Affiliate;
|
||||||
@ -33,6 +34,8 @@ class UserTableSeeder extends Seeder
|
|||||||
'work_phone' => $faker->phoneNumber,
|
'work_phone' => $faker->phoneNumber,
|
||||||
'work_email' => $faker->safeEmail,
|
'work_email' => $faker->safeEmail,
|
||||||
'invoice_design_id' => min(InvoiceDesign::all()->random()->id, 10),
|
'invoice_design_id' => min(InvoiceDesign::all()->random()->id, 10),
|
||||||
|
'header_font_id' => Font::all()->random()->id,
|
||||||
|
'body_font_id' => Font::all()->random()->id,
|
||||||
'primary_color' => $faker->hexcolor,
|
'primary_color' => $faker->hexcolor,
|
||||||
'timezone_id' => 1,
|
'timezone_id' => 1,
|
||||||
'company_id' => $company->id,
|
'company_id' => $company->id,
|
||||||
|
Loading…
Reference in New Issue
Block a user