diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2014-11-24 10:31:46 -0500 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2014-11-24 10:31:46 -0500 |
commit | 4a56e0d606cb6071a5830966687284b277f1fd2d (patch) | |
tree | 8cf43de98eacc00f1e8b35e71197e8861da2b487 | |
parent | 6cc3e679908ad79f0080960d30b1cab689326a07 (diff) |
#32332 allow recurring packages to be removed from quotes
-rw-r--r-- | FS/FS/Template_Mixin.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 0928ee52f..7018223b4 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2740,6 +2740,10 @@ sub _items_cust_bill_pkg { 'pkgnum' => $cust_bill_pkg->pkgpart, #so it displays in Ref 'description' => "$desc (". $cust_bill_pkg->part_pkg->freq_pretty.")", 'amount' => sprintf("%.2f", $cust_bill_pkg->recur), + 'preref_html' => ( $opt{preref_callback} + ? &{ $opt{preref_callback} }( $cust_bill_pkg ) + : '' + ), }; } |