+ HTML;
+ }
+}
diff --git a/config/app.php b/config/app.php
index 585fa599..958990f5 100644
--- a/config/app.php
+++ b/config/app.php
@@ -177,9 +177,10 @@ return [
App\Setting\SettingServiceProvider::class,
// App\Dashboard\DashboardServiceProvider::class,
App\Providers\PluginServiceProvider::class,
+ App\Providers\BaseServiceProvider::class,
Modules\Dashboard\DashboardServiceProvider::class,
Modules\Module\ModuleServiceProvider::class,
- App\Providers\BaseServiceProvider::class,
+ Modules\Invoice\InvoiceServiceProvider::class,
],
/*
diff --git a/modules/Invoice/Components/SettingView.php b/modules/Invoice/Components/SettingView.php
new file mode 100644
index 00000000..bf1899c8
--- /dev/null
+++ b/modules/Invoice/Components/SettingView.php
@@ -0,0 +1,53 @@
+settings = app(InvoiceSettings::class);
+ }
+
+ public function save(): void
+ {
+ $this->settings->save();
+ $this->dispatch('success', 'Einstellungen gespeichert.');
+ }
+
+ public function render()
+ {
+ return <<<'HTML'
+