This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Imunizacao;
|
||||
|
||||
use App\Services\Imunizacao\RelatorioConsolidadoAplicacaoService;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Response;
|
||||
|
||||
class RelatorioConsolidadoAplicacaoController extends Controller
|
||||
{
|
||||
protected $modulo = 'imunizacao';
|
||||
protected $funcionalidade = 'relatorio-consolidado-aplicacao';
|
||||
|
||||
public function index()
|
||||
{
|
||||
return response()->json(RelatorioConsolidadoAplicacaoService::index(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function getSalasVacinacao()
|
||||
{
|
||||
return response()->json(RelatorioConsolidadoAplicacaoService::getSalasVacinacao(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function getVacinas()
|
||||
{
|
||||
return response()->json(RelatorioConsolidadoAplicacaoService::getVacinas(), Response::HTTP_OK);
|
||||
}
|
||||
|
||||
public function list()
|
||||
{
|
||||
return response()->json(RelatorioConsolidadoAplicacaoService::list(), Response::HTTP_OK);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user