No description
Find a file
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
.pnpm-store/v10
.vscode
actions
app
components
lib fix: prevent page overlap in delivery reports 2026-07-21 13:49:36 +02:00
public
scripts
tmp fix: prevent page overlap in delivery reports 2026-07-21 13:49:36 +02:00
.dockerignore
.gitignore
AGENTS.md
CLAUDE.md
diag.mjs
Dockerfile
eslint.config.mjs
next.config.ts
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
postcss.config.mjs
README.md
tsconfig.json

RJ Bulk — Web App

See the root README.md for the full picture.

Develop

pnpm dev

Runs on http://localhost:4004.

PB schema

pnpm pb:setup

Idempotent — re-run anytime to bring the schema in line with the spec.

Build

pnpm build