mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 13:54:34 -04:00
Fixes for demo mode
This commit is contained in:
parent
b94bfacc19
commit
ade36d591c
@ -331,7 +331,7 @@ class DemoMode extends Command
|
|||||||
|
|
||||||
private function createVendor($client, $assigned_user_id = null)
|
private function createVendor($client, $assigned_user_id = null)
|
||||||
{
|
{
|
||||||
Vendor::factory()->count(1)->create([
|
$vendor = Vendor::factory()->create([
|
||||||
'user_id' => $client->user_id,
|
'user_id' => $client->user_id,
|
||||||
'company_id' => $client->company_id,
|
'company_id' => $client->company_id,
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user