mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
fix bugs sk-7
This commit is contained in:
@ -363,6 +363,7 @@ class Maquinas extends \App\Controllers\BaseResourceController
|
||||
$r = $this->model->getSelectQuery($this->request->getGet("q"));
|
||||
return $this->response->setJSON($r);
|
||||
}
|
||||
|
||||
protected function getMaquinaListItems($selId = null)
|
||||
{
|
||||
$data = ['' => lang('Basic.global.pleaseSelectA', [mb_strtolower(lang('Maquinas.maquina'))])];
|
||||
@ -402,5 +403,9 @@ class Maquinas extends \App\Controllers\BaseResourceController
|
||||
}
|
||||
|
||||
}
|
||||
public function find_maquina(int $maquina_id){
|
||||
$maquinaEntity = $this->model->find($maquina_id);
|
||||
return $this->response->setJSON($maquinaEntity);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user