29 lines
693 B
PHP
29 lines
693 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\TransportePaciente;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\Http\Response;
|
|
use App\Services\TransportePaciente\ReimpressaoProtocoloService;
|
|
|
|
class ReimpressaoProtocoloController extends Controller
|
|
{
|
|
protected $modulo = 'transporte-paciente';
|
|
|
|
protected $funcionalidade = 'reimpressao-protocolo';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(ReimpressaoProtocoloService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function search()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(ReimpressaoProtocoloService::search(), Response::HTTP_OK);
|
|
}
|
|
}
|