31 lines
819 B
PHP
31 lines
819 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\ExameImagem;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\ExameImagem\RelatorioCotaProfissionalService;
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioCotaProfissionalController extends Controller
|
|
{
|
|
protected $modulo = 'exame-imagem';
|
|
protected $funcionalidade = 'relatorio-cota-profissional';
|
|
|
|
public function index()
|
|
{
|
|
return response()->json(RelatorioCotaProfissionalService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioCotaProfissionalService::list(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function datatable(Request $request)
|
|
{
|
|
return response()->json(RelatorioCotaProfissionalService::datatable($request), Response::HTTP_OK);
|
|
}
|
|
|
|
}
|