fix(statements): nudge envelope windows to printed-proof positions

Company (return) address down 0.25in (to 0.8in) and customer address
down 1.5in (to 3.0in) to line up with the #9 double-window envelope,
per a printed proof. Push the body padding-top to clear the lower
customer window.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 08:06:37 -04:00
parent 0aefdeb5ff
commit ccc3fac69d
2 changed files with 9 additions and 12 deletions

View File

@@ -1,9 +1,7 @@
{# One customer account statement = one printed page.
Envelope geometry (recipient window at top:1.5in / left:1.125in) mirrors the
app's proven #9 (9x4) double-window print format (sales_invoice_ns.html) so
the same #9 double-window envelopes work. Rendered via
frappe.render_template with context key `s`
(see ns_app.api.statements.get_statement_data). #}
Envelope geometry (window positions in _wrap_document) is field-tuned to the
#9 (9x4) double-window envelope. Rendered via frappe.render_template with
context key `s` (see ns_app.api.statements.get_statement_data). #}
{% set fmt = frappe.utils.fmt_money %}
<div class="statement-page">