From e202198ab2a701ac6f6bfcfb67171b97801ab976 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 21 Jan 2004 22:00:34 +0000 Subject: fix multi-page typeset invoices --- FS/FS/Conf.pm | 7 +++++++ FS/FS/cust_bill.pm | 1 + 2 files changed, 8 insertions(+) (limited to 'FS') diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 467a856c1..ec1bf5574 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -490,6 +490,13 @@ httemplate/docs/config.html 'type' => 'textarea', }, + { + 'key' => 'invoice_latexsmallfooter', + 'section' => 'billing', + 'description' => 'Optional small footer for multi-page LaTeX typeset PostScript invoices.', + 'type' => 'textarea', + }, + { 'key' => 'invoice_default_terms', 'section' => 'billing', diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 3c941ca6f..9f1d7a6fc 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -941,6 +941,7 @@ sub print_latex { 'zip' => _latex_escape($cust_main->zip), 'country' => _latex_escape($cust_main->country), 'footer' => join("\n", $conf->config('invoice_latexfooter') ), + 'smallfooter' => $conf->config('invoice_latexsmallfooter'), 'quantity' => 1, 'terms' => $conf->config('invoice_default_terms') || 'Payable upon receipt', #'notes' => join("\n", $conf->config('invoice_latexnotes') ), -- cgit v1.2.1