diff options
author | Mark Wells <mark@freeside.biz> | 2015-10-27 16:37:31 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-10-27 16:37:47 -0700 |
commit | 83800bc3c540ad6a6327af49cf75734d28c82c59 (patch) | |
tree | 2b149875be9f1bf959dde9ae4b658e38beb1d928 | |
parent | d06402160bd13413a6be80f3ae62af8ac5f8eae9 (diff) |
fix display of waived setup fee, #14092
-rw-r--r-- | httemplate/view/cust_main/packages/status.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/packages/status.html b/httemplate/view/cust_main/packages/status.html index 13bd2024b..62e9be5c3 100644 --- a/httemplate/view/cust_main/packages/status.html +++ b/httemplate/view/cust_main/packages/status.html @@ -526,6 +526,13 @@ sub pkg_status_row_discount { my $html; + if ( $cust_pkg->waive_setup ) { + my $label = '<SPAN STYLE="font-size: small;font-weight: bold">' . + emt('Setup fee waived') . + '</SPAN>'; + $html .= pkg_status_row_colspan( $cust_pkg, $label, '', %opt ); + } + foreach my $cust_pkg_discount (@{ $cust_pkg->{_cust_pkg_discount_active} }) { my $discount = $cust_pkg_discount->discount; @@ -537,7 +544,6 @@ sub pkg_status_row_discount { $label .= emt('Recurring Discount'); } $label .= '</B>: '. $discount->description; - warn Dumper $cust_pkg_discount; if ( $discount->months > 0 and $cust_pkg_discount->months_used > 0 ) { my $remaining = $discount->months - $cust_pkg_discount->months_used; $remaining = sprintf('%.2f', $remaining) if $remaining =~ /\./; |