summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-11-29 08:18:23 +0000
committerivan <ivan>2003-11-29 08:18:23 +0000
commit98fc23b80dbc4935ff7a6efeb49fd3876b96f029 (patch)
tree6b892d33bafde1d4a1201d0da6d32941b10b16df /FS
parent23ec9b00410224868d6be1e47a0d72a6c8b3f6f5 (diff)
also set default latex template for late bill templates
Diffstat (limited to 'FS')
-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 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;