From: ivan Date: Sat, 29 Nov 2003 08:18:23 +0000 (+0000) Subject: also set default latex template for late bill templates X-Git-Tag: NET_WHOIS_RAW_0_31~242 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=98fc23b80dbc4935ff7a6efeb49fd3876b96f029 also set default latex template for late bill templates --- diff --git a/FS/FS/part_bill_event.pm b/FS/FS/part_bill_event.pm index 9e5d82161..86f929424 100644 --- a/FS/FS/part_bill_event.pm +++ b/FS/FS/part_bill_event.pm @@ -160,6 +160,12 @@ sub check { join("\n", $conf->config('invoice_template') ) ); } + unless ( $conf->exists("invoice_latex_$name") ) { + $conf->set( + "invoice_latex_$name" => + join("\n", $conf->config('invoice_latex') ) + ); + } } $self->SUPER::check;