mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
resolviendo el problema
This commit is contained in:
@ -307,7 +307,7 @@ class Resumen {
|
||||
precio_u_text = precio_u_text.replace('€/ud', '');
|
||||
|
||||
const base = tarjetaPrecio.find('.tarjeta-tiradas-precios-precio').attr('data');
|
||||
let base_text = this.#changeDecimalFormat(base);
|
||||
let base_text = this.#changeDecimalFormat(parseFloat(base).toFixed(2));
|
||||
|
||||
const iva_porcentaje = parseInt(this.datosGenerales.ivaReducido.find('option:selected').val()) == 1 ? 0.04 : 0.21;
|
||||
const iva = (parseFloat(base) * iva_porcentaje).toFixed(2);
|
||||
|
||||
Reference in New Issue
Block a user