X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FTemplate_Mixin.pm;h=c6a9b9fd229ad6d913ab51e83e38c260e894b8a2;hp=675dcfacb9f3f142dd54188755926bb2969705eb;hb=8ddf2ae7b5e02463c87599186f0279b86ddaeaac;hpb=27bace7e53b5259e4694d8a5aea394fd1d88dc42 diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 675dcfacb..c6a9b9fd2 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",