RJBULK-APP/lib
SJCoetz 4a18b8789e fix: prevent page overlap in delivery reports
Add an ensureSpace check in the customer delivery PDF report function to force page breaks when there isn't enough room for a full customer group, preventing content overlap between consecutive customer sections. The check accounts for customer header, table header, data rows, and subtotal elements.

Add two diagnostic scripts in the tmp/ directory:
- diag-customer-report.mjs: generates a synthetic dataset to reproduce the page overlap bug
- render-all-pages.mjs: renders each page of a generated PDF to PNG images for testing
2026-07-21 13:49:36 +02:00
..
pdf fix: prevent page overlap in delivery reports 2026-07-21 13:49:36 +02:00
auth.ts feat: initial setup of rj bulk supplies backoffice app 2026-07-19 20:38:16 +02:00
delivery-notes.ts feat: initial setup of rj bulk supplies backoffice app 2026-07-19 20:38:16 +02:00
pb.ts feat: initial setup of rj bulk supplies backoffice app 2026-07-19 20:38:16 +02:00
pocketbase.ts feat: initial setup of rj bulk supplies backoffice app 2026-07-19 20:38:16 +02:00
types.ts feat: initial setup of rj bulk supplies backoffice app 2026-07-19 20:38:16 +02:00
utils.ts feat: initial setup of rj bulk supplies backoffice app 2026-07-19 20:38:16 +02:00