summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2004-01-21 22:00:34 +0000
committerivan <ivan>2004-01-21 22:00:34 +0000
commite202198ab2a701ac6f6bfcfb67171b97801ab976 (patch)
treec116dbe869f42d4bab234f13b4a71f365d3b955e /FS
parent0c0cb89fbf23c575cab2cac5519b6051288a7d3f (diff)
fix multi-page typeset invoices
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Conf.pm7
-rw-r--r--FS/FS/cust_bill.pm1
2 files changed, 8 insertions, 0 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 467a856..ec1bf55 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 3c941ca..9f1d7a6 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') ),