auth(__FUNCTION__); return response()->json(RelatorioDispensacaoPacienteService::index(), Response::HTTP_OK); } public function create() { return response()->json(RelatorioDispensacaoPacienteService::create(), Response::HTTP_OK); } public function list() { $this->auth(__FUNCTION__); return response()->json(RelatorioDispensacaoPacienteService::list(), Response::HTTP_OK); } public function autocompletePaciente() { return datatables()->of(RelatorioDispensacaoPacienteService::autocompletePaciente())->toJson(); } public function autocompleteMaterial() { return datatables()->of(RelatorioDispensacaoPacienteService::autocompleteMaterial())->toJson(); } }