summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-11-29 08:18:24 +0000
committerivan <ivan>2003-11-29 08:18:24 +0000
commitde08197ed45235e439096c957fab467d3af7b095 (patch)
treeba391968fdc55b2f9d2b68e2c153c9abaf951acc
parent4737626da2e42d6fb3ebbfcb6c70469b917569b3 (diff)
also set default latex template for late bill templates
-rw-r--r--FS/FS/part_bill_event.pm6
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') )
+ );
+ }
}
'';