Cost units can be edited
This commit is contained in:
@@ -3,13 +3,16 @@
|
||||
namespace App\Scopes;
|
||||
|
||||
use App\Providers\AuthCheckProvider;
|
||||
use App\Repositories\CostUnitRepository;
|
||||
use App\Repositories\UserRepository;
|
||||
|
||||
abstract class CommonController {
|
||||
protected UserRepository $users;
|
||||
protected CostUnitRepository $costUnits;
|
||||
|
||||
public function __construct() {
|
||||
$this->users = new UserRepository();
|
||||
$this->costUnits = new CostUnitRepository();
|
||||
}
|
||||
|
||||
protected function checkAuth() {
|
||||
|
||||
Reference in New Issue
Block a user