diff options
author | ivan <ivan> | 2003-11-29 08:18:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-11-29 08:18:24 +0000 |
commit | de08197ed45235e439096c957fab467d3af7b095 (patch) | |
tree | ba391968fdc55b2f9d2b68e2c153c9abaf951acc | |
parent | 4737626da2e42d6fb3ebbfcb6c70469b917569b3 (diff) |
also set default latex template for late bill templates
-rw-r--r-- | FS/FS/part_bill_event.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/part_bill_event.pm b/FS/FS/part_bill_event.pm index a75a011b0..2638328ea 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') ) + ); + } } ''; |