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