summaryrefslogtreecommitdiff
path: root/FS/FS/Template_Mixin.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-12-04 14:30:07 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-12-04 14:49:40 -0500
commiteb3541f27fdb17dc1582af335c641b0185869c41 (patch)
tree1505877ef0021ff57d508a68301526543bd633d9 /FS/FS/Template_Mixin.pm
parent7a24befdb65751f552247abf42df94276bcfa12f (diff)
RT# 81822 - Added new config for remittance coupon location, updated invoice_latex and invoice_latexcoupon to use new config
Conflicts: conf/invoice_latex
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r--FS/FS/Template_Mixin.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 2b518d9..657b583 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -597,6 +597,7 @@ sub print_generic {
'amountenclosedsep' => scalar($conf->config('invoice_latexcouponamountenclosedsep', $agentnum)),
'coupontoaddresssep' => scalar($conf->config('invoice_latexcoupontoaddresssep', $agentnum)),
'addcompanytoaddress' => $conf->exists('invoice_latexcouponaddcompanytoaddress', $agentnum),
+ 'couponlocation' => (scalar($conf->config('invoice_latexcouponlocation', $agentnum)) eq "top") ? 'top' : 'bottom',
# better hang on to conf_dir for a while (for old templates)
'conf_dir' => "$FS::UID::conf_dir/conf.$FS::UID::datasrc",