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:
+1
-1
@@ -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() {
|
||||
|
||||
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user