diff --git a/ci4/app/Models/Configuracion/PapelFormatoModel.php b/ci4/app/Models/Configuracion/PapelFormatoModel.php index 7c4d2464..c92364d4 100755 --- a/ci4/app/Models/Configuracion/PapelFormatoModel.php +++ b/ci4/app/Models/Configuracion/PapelFormatoModel.php @@ -91,6 +91,6 @@ class PapelFormatoModel extends \App\Models\GoBaseModel ->table($this->table . " t1") ->select( "t1.id AS id, CONCAT(t1.ancho, ' x ', t1.alto) AS tamanio" - )->get()->getResultObject(); + )->where('is_deleted', 0)->get()->getResultObject(); } } diff --git a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosServiciosItems.js b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosServiciosItems.js index 38ffc232..50e9bfab 100644 --- a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosServiciosItems.js +++ b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_datosServiciosItems.js @@ -664,8 +664,8 @@ async function get_tarifas_enc(tipo=null, tarifa_id = -1){ if(tipo != null){ datos['tipo'] = tipo; - datos['tipo_impresion_id'] = parseInt($('#tipo_impresion').val()) - } + datos['tipo_impresion_id'] = parseInt($('#tipo_impresion_id').val()) + } $.ajax({ type: "POST", @@ -953,7 +953,7 @@ async function get_tarifas_manipulado(tipo=null, tarifa_id = -1){ if(tipo != null){ datos['tipo'] = tipo; datos['solapas'] = $('#solapas').is(':checked')?1:0; - datos['tipo_impresion_id'] = parseInt($('#tipo_impresion').val()); + datos['tipo_impresion_id'] = parseInt($('#tipo_impresion_id').val()); }