mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
ya se filtra bien
This commit is contained in:
@ -308,8 +308,8 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
||||
|
||||
return $this->respond(Collection::datatable(
|
||||
$resourceData,
|
||||
$this->model->getListaPresupuestosCliente("", $clienteId)->countAllResults(),
|
||||
$this->model->getListaPresupuestosCliente($search, $clienteId)->countAllResults()
|
||||
$this->model->getListaPresupuestosCliente([], $clienteId)->countAllResults(),
|
||||
$this->model->getListaPresupuestosCliente($searchValues, $clienteId)->countAllResults()
|
||||
));
|
||||
} else {
|
||||
return $this->failUnauthorized('Invalid request', 403);
|
||||
|
||||
Reference in New Issue
Block a user