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 },