From b5037970e79b6488263ccd196ddc07f3d38e802a Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Mon, 24 Nov 2014 10:33:48 -0500 Subject: [PATCH] #32332 allow recurring packages to be removed from quotes --- FS/FS/Template_Mixin.pm | 4 ++++ 1 file changed, 4 insertions(+) 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 ) + : '' + ), }; } -- 2.11.0