diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-12-04 14:30:07 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-12-04 14:49:40 -0500 |
commit | eb3541f27fdb17dc1582af335c641b0185869c41 (patch) | |
tree | 1505877ef0021ff57d508a68301526543bd633d9 /FS/FS/Template_Mixin.pm | |
parent | 7a24befdb65751f552247abf42df94276bcfa12f (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.pm | 1 |
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", |