reparando bugs

This commit is contained in:
jaimejimenezortega
2024-05-22 16:22:55 +02:00
parent 1063c95fc0
commit e4f6295597
7 changed files with 10995 additions and 338 deletions

View File

@ -132,7 +132,7 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
endif;
$id = filter_var($requestedId, FILTER_SANITIZE_URL);
$presupuestoEntity = $this->model->find($id);
if ($presupuestoEntity == false) :
$message = lang('Basic.global.notFoundWithIdErr', [mb_strtolower(lang('Presupuestos.presupuesto')), $id]);
return $this->redirect2listView('sweet-error', $message);
@ -173,7 +173,7 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
if($presupuestoEntity->estado_id == 2){
$this->generarResumen($presupuestoEntity);
}
$this->viewData['formAction'] = route_to('updateCosidotapablanda', $id);
$this->viewData['paisList'] = $this->getPaisListItems();