From 58e51273b851d6c58d1cc2270d4d8f58dd686e2b Mon Sep 17 00:00:00 2001 From: Jaime Jimenez Date: Thu, 28 Nov 2024 10:08:59 +0100 Subject: [PATCH 1/2] =?UTF-8?q?a=C3=B1adido=20deleted=20at=20en=20la=20bus?= =?UTF-8?q?queda=20de=20servicios=20defecto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Models/Presupuestos/TipoPresupuestoServiciosDefectoModel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ci4/app/Models/Presupuestos/TipoPresupuestoServiciosDefectoModel.php b/ci4/app/Models/Presupuestos/TipoPresupuestoServiciosDefectoModel.php index 1cc1f9e9..8979b058 100755 --- a/ci4/app/Models/Presupuestos/TipoPresupuestoServiciosDefectoModel.php +++ b/ci4/app/Models/Presupuestos/TipoPresupuestoServiciosDefectoModel.php @@ -79,6 +79,7 @@ class TipoPresupuestoServiciosDefectoModel extends \App\Models\BaseModel $where = "(t1.solapas IS NULL OR t1.solapas='" . $solapas . "')"; $builder->where($where); + $builder->where("t1.is_deleted", 0); $builder->where("t2.is_deleted", 0); $builder->select("t1.tarifa_id AS tarifa_id, t2.nombre AS tarifa_nombre"); From 54092fb29b4baf8b3b67fe5ccf999aa6d9e104f6 Mon Sep 17 00:00:00 2001 From: Jaime Jimenez Date: Thu, 28 Nov 2024 10:39:29 +0100 Subject: [PATCH 2/2] corregido typo en presupuesto admin --- .../vuexy/form/presupuestos/admin/_datosServiciosItems.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosServiciosItems.js b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosServiciosItems.js index 130adab0..f1871aef 100644 --- a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosServiciosItems.js +++ b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_datosServiciosItems.js @@ -777,7 +777,7 @@ function convertirTiempo(horas){ // se convierte a formato hh:mm:ss const h = Math.floor(seconds / 3600); const minutos = Math.floor((seconds % 3600) / 60); - const segundos = round(seconds % 60, 0); + const segundos = Math.round(seconds % 60, 0); return h + ':' + minutos + ':' + segundos; } else{