#32332 allow recurring packages to be removed from quotes
authorJeremy Davis <jeremyd@freeside.biz>
Mon, 24 Nov 2014 15:33:48 +0000 (10:33 -0500)
committerJeremy Davis <jeremyd@freeside.biz>
Mon, 24 Nov 2014 15:33:48 +0000 (10:33 -0500)
FS/FS/Template_Mixin.pm

index 0928ee5..7018223 100644 (file)
@@ -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 )
+                                 : ''
+                             ),
           };
         }