diff --git a/public/js/app.js b/public/js/app.js index d6ee308..3c39603 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -87,7 +87,7 @@ function renderHeader() { const a = state.account; if (!a) return; document.getElementById('company-name').textContent = a.company1 || 'ezcheck'; - document.getElementById('current-check-no').textContent = (a.current_check_no + 1).toLocaleString(); + document.getElementById('current-check-no').textContent = a.current_check_no + 1; } function renderTable() { diff --git a/src/services/pdfService.js b/src/services/pdfService.js index 04c7ca2..8921d7a 100644 --- a/src/services/pdfService.js +++ b/src/services/pdfService.js @@ -138,7 +138,7 @@ function generateCheckPdf(account, checks, fields) { for (let slot = 0; slot < 3; slot++) { const check = checks[page * 3 + slot] || null; - const slotOriginY = slot * SLOT_HEIGHT_IN; + const slotOriginY = slot * SLOT_HEIGHT_IN + (slot === 0 ? -0.25 : 0); // Helper: convert inches (relative to slot) to PDF points (absolute page) const pt = (xIn, yIn) => ({