Creation and editing of events
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user