Check 1 position fix; remove comma from next check number display

- Move check slot 0 up 0.25" to match physical stock alignment;
  slots 1 and 2 are unaffected
- Remove toLocaleString() from next check number header display
  so no comma appears in the thousands place
This commit is contained in:
2026-03-18 12:36:23 -06:00
parent 2f2646fb78
commit 964823c8b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ function renderHeader() {
const a = state.account; const a = state.account;
if (!a) return; if (!a) return;
document.getElementById('company-name').textContent = a.company1 || 'ezcheck'; 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() { function renderTable() {
+1 -1
View File
@@ -138,7 +138,7 @@ function generateCheckPdf(account, checks, fields) {
for (let slot = 0; slot < 3; slot++) { for (let slot = 0; slot < 3; slot++) {
const check = checks[page * 3 + slot] || null; 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) // Helper: convert inches (relative to slot) to PDF points (absolute page)
const pt = (xIn, yIn) => ({ const pt = (xIn, yIn) => ({