Ejemplo n.º 1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     // Workaround para ordenar por nome do cliente (relation field)
     $agendas = Agenda::getActiveAgenda();
     return view('operacional.agenda.index', compact('agendas'));
 }
Ejemplo n.º 2
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $this->authorize('coordenador');
     $agendas = Agenda::getActiveAgenda();
     return view('operacional.os.index', compact('agendas'));
 }
Ejemplo n.º 3
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $agendas = Agenda::getActiveAgenda();
     return view('operacional.processos.index', compact('agendas'));
 }