From 18af2955a97f922c9a83b627a06293b995667cc2 Mon Sep 17 00:00:00 2001 From: marsalva Date: Sun, 2 Aug 2026 18:46:42 +0000 Subject: [PATCH] Actualizar contabilidad.html --- contabilidad.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contabilidad.html b/contabilidad.html index e72a652..ebe4f25 100644 --- a/contabilidad.html +++ b/contabilidad.html @@ -1022,8 +1022,8 @@ document.getElementById('pdf-client-address').innerText = budget.client_address || "-"; const itemsHtml = (budget.items || []).map(item => ` - - ${item.concept} + + ${item.concept.replace(/\n/g, '
')} ${item.qty} ${parseFloat(item.price).toFixed(2)} € ${(item.qty * item.price).toFixed(2)} € @@ -1059,7 +1059,7 @@ const element = document.getElementById('pdf-content'); const opt = { - margin: 0, + margin: [0.5, 0, 0.5, 0], filename: `Presupuesto_PRE${budget.id}_${budget.client_name.replace(/\s+/g, '_')}.pdf`, image: { type: 'jpeg', quality: 1 }, html2canvas: { scale: 2, useCORS: true, logging: false },