From e5a8b8af0a1787ebcd2d52e7141dce424669ab87 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 16 Jul 2020 15:50:02 +1000 Subject: [PATCH] Fixes for dem --- app/Console/Commands/DemoMode.php | 2 +- database/factories/CompanyFactory.php | 1 + resources/views/index/index.blade.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/DemoMode.php b/app/Console/Commands/DemoMode.php index b878949ce9..e468b3f1c6 100644 --- a/app/Console/Commands/DemoMode.php +++ b/app/Console/Commands/DemoMode.php @@ -86,7 +86,7 @@ class DemoMode extends Command private function createSmallAccount() { - $this->count = 100; + $this->count = 10; $this->info('Creating Small Account and Company'); diff --git a/database/factories/CompanyFactory.php b/database/factories/CompanyFactory.php index 7f60c849b5..8d087de9e4 100644 --- a/database/factories/CompanyFactory.php +++ b/database/factories/CompanyFactory.php @@ -10,6 +10,7 @@ $factory->define(App\Models\Company::class, function (Faker $faker) { 'ip' => $faker->ipv4, 'db' => config('database.default'), 'settings' => CompanySettings::defaults(), + 'is_large' => true, 'custom_fields' => (object) [ //'invoice1' => 'Custom Date|date', // 'invoice2' => '2|switch', diff --git a/resources/views/index/index.blade.php b/resources/views/index/index.blade.php index c67d7d8cb5..0f79a0238a 100644 --- a/resources/views/index/index.blade.php +++ b/resources/views/index/index.blade.php @@ -5,7 +5,7 @@ Invoice Ninja - + @@ -75,7 +75,7 @@