From eb3541f27fdb17dc1582af335c641b0185869c41 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 4 Dec 2018 14:30:07 -0500 Subject: RT# 81822 - Added new config for remittance coupon location, updated invoice_latex and invoice_latexcoupon to use new config Conflicts: conf/invoice_latex --- FS/FS/Template_Mixin.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'FS/FS/Template_Mixin.pm') 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", -- cgit v1.1