28 lines
711 B
PHP
28 lines
711 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\ExameLaboratorial;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\ExameLaboratorial\RelatorioPacienteAtendidoService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioPacienteAtendidoController extends Controller
|
|
{
|
|
protected $modulo = 'exame-laboratorial';
|
|
protected $funcionalidade = 'relatorio-paciente-atendido';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioPacienteAtendidoService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioPacienteAtendidoService::list(), Response::HTTP_OK);
|
|
}
|
|
}
|