diff --git a/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/resumen.js b/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/resumen.js index cf35b450..3999c4ce 100644 --- a/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/resumen.js +++ b/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/resumen.js @@ -290,7 +290,7 @@ class Resumen { if (typeof $('#tableOfDireccionesEnvio').DataTable() !== 'undefined' && $('#tableOfDireccionesEnvio').DataTable().rows().count() > 0) { $('#tableOfDireccionesEnvio').DataTable().rows().every(function (rowIdx, tableLoop, rowLoop) { // el primer envio es el base, y no se debe de cobrar - if (rowIdx != 0) { + if (rowIdx != 0 || (rowIdx == 0 && $('#noEnvioBase').val() == 1)) { let data = this.data() totalEnvios += parseFloat(data.precio)