diff --git a/app/index.html b/app/index.html index 5f7924c..fd1d26d 100644 --- a/app/index.html +++ b/app/index.html @@ -1068,7 +1068,7 @@ function addLine() { 0.00 + style="font-size:var(--fs-base);font-weight:600">0.00 `; tbody.appendChild(div); @@ -1526,7 +1526,8 @@ function buildPDF() { if (sPh) parts.push(`${td("sender-phone")}: ${sPh}`); if (sEm) parts.push(`${td("sender-email")}: ${sEm}`); if (sTax) parts.push(`${td("vat-id")}: ${sTax}`); - fn(8); tc(107,114,128); tL(parts.join(" "), ML, ly); ly += 5; + fn(8); tc(107,114,128); + sp(parts.join(" "), LW).forEach(l => { tL(l, ML, ly); ly += 4; }); ly += 1; } fb(24); tc(30,45,69); tR(td("invoice"), XR, ry); ry += 10; @@ -1557,7 +1558,10 @@ function buildPDF() { if (ctEm) ctParts.push(`${td("charge-to-email")}: ${ctEm}`); if (ctVat) ctParts.push(`${td("vat-id")}: ${ctVat}`); if (ctReg) ctParts.push(`${td("registration-no")}: ${ctReg}`); - if (ctParts.length) { fn(8); tc(107,114,128); tL(ctParts.join(" "), ML, ly2); ly2 += 5; } + if (ctParts.length) { + fn(8); tc(107,114,128); + sp(ctParts.join(" "), LW).forEach(l => { tL(l, ML, ly2); ly2 += 4; }); ly2 += 1; + } } if (pTerm > 0 || showBank) {