This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user