mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Añadidos permisos
This commit is contained in:
@ -42,11 +42,16 @@ class FestivoController extends BaseController
|
||||
|
||||
public function index()
|
||||
{
|
||||
|
||||
checkPermission('festivos.menu');
|
||||
|
||||
return view($this->viewPath . $this->indexRoute);
|
||||
}
|
||||
|
||||
public function store_festivo_date()
|
||||
{
|
||||
checkPermission('festivos.edit');
|
||||
|
||||
$bodyData = $this->request->getPost();
|
||||
$date = $bodyData['date'];
|
||||
$count = $this->model->where('date',$date)->countAllResults();
|
||||
|
||||
Reference in New Issue
Block a user