1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fixes for dem

This commit is contained in:
David Bomba 2020-07-16 15:50:02 +10:00
parent b4ad18bfe9
commit e5a8b8af0a
3 changed files with 4 additions and 3 deletions

View File

@ -86,7 +86,7 @@ class DemoMode extends Command
private function createSmallAccount()
{
$this->count = 100;
$this->count = 10;
$this->info('Creating Small Account and Company');

View File

@ -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',

View File

@ -5,7 +5,7 @@
<title>Invoice Ninja</title>
<meta name="report_errors" content="{{ $report_errors }}">
<meta name="google-signin-client_id" content="{{ config('services.google.client_id') }}">
<link rel="manifest" href="manifest.json">
<link rel="manifest" href="manifest.json?v={{sha1(time())}}">
</head>
<body style="background-color:#888888;">
@ -75,7 +75,7 @@
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('/flutter_service_worker.js');
navigator.serviceWorker.register('/flutter_service_worker.js?v={{sha1(time())}}');
});
}