diff options
| author | ivan <ivan> | 2005-05-04 00:41:00 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2005-05-04 00:41:00 +0000 |
| commit | b6343424437589018faba310159efaff6cecac18 (patch) | |
| tree | a6c156a059a3efed598ffbf8e62cde95e4e0816b /FS | |
| parent | 89b9309553e8a1d6c197011962e7e15e4c22aaa6 (diff) | |
great new invoice template from kristian!
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/Conf.pm | 7 | ||||
| -rw-r--r-- | FS/FS/cust_bill.pm | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 8ca2c1ba2..be282971e 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -561,6 +561,13 @@ httemplate/docs/config.html }, { + 'key' => 'invoice_latexreturnaddress', + 'section' => 'billing', + 'description' => 'Return address for LaTeX typeset PostScript invoices.', + 'type' => 'textarea', + }, + + { 'key' => 'invoice_latexsmallfooter', 'section' => 'billing', 'description' => 'Optional small footer for multi-page LaTeX typeset PostScript invoices.', diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index db4cbf0c9..8aadb73aa 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1137,9 +1137,11 @@ sub print_latex { 'country' => _latex_escape($cust_main->country), 'footer' => join("\n", $conf->config('invoice_latexfooter') ), 'smallfooter' => join("\n", $conf->config('invoice_latexsmallfooter') ), + 'returnaddress' => join("\n", $conf->config('invoice_latexreturnaddress') ), 'quantity' => 1, 'terms' => $conf->config('invoice_default_terms') || 'Payable upon receipt', #'notes' => join("\n", $conf->config('invoice_latexnotes') ), + 'conf_dir' => "$FS::UID::conf_dir/conf.$FS::UID::datasrc", ); my $countrydefault = $conf->config('countrydefault') || 'US'; |
