X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_bill_event.pm;h=86f929424eeba519415af9185493cbb3360472a0;hb=23c97b258b9b60d558af333166940f11c229f71c;hp=9e5d82161b3c7d957aab771b67da9bab8695ff80;hpb=58d44fbe5eb9ab32e6d87063a4a3b22ddba9a828;p=freeside.git 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;