X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg.pm;h=638e707c4e23f297e809e96eb19a56becf6e1dba;hp=62c0d583a491639bbfda84c5079b41b78924eb34;hb=efc68f41987d007de5e792b88df1c63bf3dedf4c;hpb=6038f6fe5fe3590bcc8063f15ba8ce4cb6a985dc diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index 62c0d583a..638e707c4 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -285,6 +285,8 @@ sub details { } if $format eq 'latex'; + $format_sub = $opt{format_function} if $opt{format_function}; + map { ( $_->format eq 'C' ? &{$format_sub}( $_->detail ) : &{$escape_function}( $_->detail )