33 lines
876 B
PHP
33 lines
876 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Farmacia;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Farmacia\RelatorioAltoCustoEstatisticoCidService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioAltoCustoEstatisticoCidController extends Controller
|
|
{
|
|
protected $modulo = 'farmacia';
|
|
protected $funcionalidade = 'relatorio-alto-custo-estatistico-cid';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioAltoCustoEstatisticoCidService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioAltoCustoEstatisticoCidService::list(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function autocompleteCid()
|
|
{
|
|
return datatables()->of(RelatorioAltoCustoEstatisticoCidService::autocompleteCid())->make(true);
|
|
}
|
|
}
|