Invoice Widgets completed
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Scopes;
|
||||
|
||||
use App\Providers\AuthCheckProvider;
|
||||
use App\Repositories\CostUnitRepository;
|
||||
use App\Repositories\InvoiceRepository;
|
||||
use App\Repositories\PageTextRepository;
|
||||
use App\Repositories\UserRepository;
|
||||
|
||||
@@ -13,10 +14,13 @@ abstract class CommonController {
|
||||
|
||||
protected PageTextRepository $pageTexts;
|
||||
|
||||
protected InvoiceRepository $invoices;
|
||||
|
||||
public function __construct() {
|
||||
$this->users = new UserRepository();
|
||||
$this->costUnits = new CostUnitRepository();
|
||||
$this->pageTexts = new PageTextRepository();
|
||||
$this->invoices = new InvoiceRepository();
|
||||
}
|
||||
|
||||
protected function checkAuth() {
|
||||
|
||||
Reference in New Issue
Block a user