- usage metric fix

- ui fix
- index:usage artisan command
- demo payment settings
This commit is contained in:
Čarodej
2022-01-10 15:43:55 +01:00
parent 5de2b8b0e0
commit 08139c8f96
47 changed files with 88 additions and 50 deletions

View File

@@ -13,6 +13,10 @@ class SeedDefaultSettingsAction
): void {
collect(
config('content.content.' . strtolower($license))
)->each(fn ($content) => Setting::forceCreate($content));
)->each(fn ($content) => Setting::updateOrCreate([
'name' => $content['name'],
], [
'value' => $content['value'],
]));
}
}