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"); 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{