Files
rkm-conectasus-ci-sandbox/api/app/Http/Controllers/Bpa/RelatorioInconsistenciaController.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

40 lines
966 B
PHP

<?php
namespace App\Http\Controllers\Bpa;
use App\Http\Controllers\Controller;
use App\Services\Bpa\RelatorioInconsistenciaService;
use Illuminate\Http\Response;
class RelatorioInconsistenciaController extends Controller
{
protected $modulo = 'bpa';
protected $funcionalidade = 'relatorio-inconsistencia';
public function index()
{
$this->auth(__FUNCTION__);
return response()->json(RelatorioInconsistenciaService::index(), Response::HTTP_OK);
}
public function list()
{
$this->auth(__FUNCTION__);
return response()->json(RelatorioInconsistenciaService::list(), Response::HTTP_OK);
}
public function show($id)
{
$this->auth(__FUNCTION__);
return response()->json(RelatorioInconsistenciaService::show($id), Response::HTTP_OK);
}
public function datatable()
{
return datatables()->of(RelatorioInconsistenciaService::datatable())->make(true);
}
}