summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-11-10 22:47:42 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-11-10 22:47:42 -0600
commit4d5a5d18c44bcd5b6b7d970434d6d271503e5442 (patch)
tree766457e9a7d2708cf79420e9d1b6a77e3c32471c
parent0000bd1322932cf4d6035391ed41f12d62441b02 (diff)
RT#34960: Quotations [v3 only]
-rw-r--r--FS/FS/Template_Mixin.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index b9a934dd8..c3318007f 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -3141,6 +3141,8 @@ sub _items_cust_bill_pkg {
# quotation_pkgs are never fees, so don't worry about the case where
# part_pkg is undefined
+ my @details = $cust_bill_pkg->details;
+
# and I guess they're never bundled either?
if ( $cust_bill_pkg->setup != 0 ) {
my $description = $desc;
@@ -3156,6 +3158,7 @@ sub _items_cust_bill_pkg {
'amount' => sprintf("%.2f", $cust_bill_pkg->setup),
'unit_amount' => sprintf("%.2f", $cust_bill_pkg->unitsetup),
'quantity' => $cust_bill_pkg->quantity,
+ 'ext_description' => \@details,
'preref_html' => ( $opt{preref_callback}
? &{ $opt{preref_callback} }( $cust_bill_pkg )
: ''
@@ -3170,6 +3173,7 @@ sub _items_cust_bill_pkg {
'amount' => sprintf("%.2f", $cust_bill_pkg->recur),
'unit_amount' => sprintf("%.2f", $cust_bill_pkg->unitrecur),
'quantity' => $cust_bill_pkg->quantity,
+ 'ext_description' => \@details,
'preref_html' => ( $opt{preref_callback}
? &{ $opt{preref_callback} }( $cust_bill_pkg )
: ''