Creation and editing of events

This commit is contained in:
2026-02-16 21:59:21 +01:00
parent 2b458eccd7
commit fcf41c5d13
61 changed files with 3002 additions and 380 deletions

View File

@@ -5,6 +5,7 @@ namespace App\Scopes;
use App\Models\Tenant;
use App\Providers\AuthCheckProvider;
use App\Repositories\CostUnitRepository;
use App\Repositories\EventRepository;
use App\Repositories\InvoiceRepository;
use App\Repositories\PageTextRepository;
use App\Repositories\UserRepository;
@@ -17,6 +18,7 @@ abstract class CommonController {
protected PageTextRepository $pageTexts;
protected InvoiceRepository $invoices;
protected EventRepository $events;
public function __construct() {
$this->tenant = app('tenant');
@@ -24,6 +26,7 @@ abstract class CommonController {
$this->costUnits = new CostUnitRepository();
$this->pageTexts = new PageTextRepository();
$this->invoices = new InvoiceRepository();
$this->events = new EventRepository();
}
protected function checkAuth() {