30 lines
836 B
PHP
30 lines
836 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\AtencaoBasica;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\AtencaoBasica\RelatorioEstatisticoAtendimentoService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioEstatisticoAtendimentoController extends Controller
|
|
{
|
|
protected $modulo = 'atencao-basica';
|
|
protected $funcionalidade = 'relatorio-estatistico-atendimento';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
return response()->json(RelatorioEstatisticoAtendimentoService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioEstatisticoAtendimentoService::list(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function search()
|
|
{
|
|
return response()->json(RelatorioEstatisticoAtendimentoService::search(), Response::HTTP_OK);
|
|
}
|
|
}
|