First Aid list, amount list and kitchen list PDF download implemented
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\EventParticipantRepository;
|
||||
use App\Repositories\EventRepository;
|
||||
use App\Repositories\InvoiceRepository;
|
||||
use App\Repositories\PageTextRepository;
|
||||
@@ -19,6 +20,7 @@ abstract class CommonController {
|
||||
|
||||
protected InvoiceRepository $invoices;
|
||||
protected EventRepository $events;
|
||||
protected EventParticipantRepository $eventParticipants;
|
||||
|
||||
public function __construct() {
|
||||
$this->tenant = app('tenant');
|
||||
@@ -27,6 +29,7 @@ abstract class CommonController {
|
||||
$this->pageTexts = new PageTextRepository();
|
||||
$this->invoices = new InvoiceRepository();
|
||||
$this->events = new EventRepository();
|
||||
$this->eventParticipants = new EventParticipantRepository();
|
||||
}
|
||||
|
||||
protected function checkAuth() {
|
||||
|
||||
Reference in New Issue
Block a user