fix(statements): set envelope geometry for #9 double-window
Reset the statement window positions to the app's proven #9 (9x4) double-window geometry, mirroring sales_invoice_ns.html — recipient window at top:1.5in/left:1.125in. It previously copied the dunning format's 1.9in, which sits too low for a #9. Tighten the body padding-top to keep clearance below the higher window, and correct the stale #10 references in the template comment and docs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{# One customer account statement = one printed page.
|
||||
Envelope geometry (recipient window at top:1.9in / left:1.125in) mirrors the
|
||||
existing double-window print formats so the same #10 double-window envelopes
|
||||
work. Rendered via frappe.render_template with context key `s`
|
||||
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). #}
|
||||
{% set fmt = frappe.utils.fmt_money %}
|
||||
<div class="statement-page">
|
||||
|
||||
Reference in New Issue
Block a user