summaryrefslogtreecommitdiff
path: root/FS/FS/discount.pm
diff options
context:
space:
mode:
authorivan <ivan>2010-02-04 20:39:56 +0000
committerivan <ivan>2010-02-04 20:39:56 +0000
commit4cacb3fa439b56fc7c9a742b69ec3f6ffd660433 (patch)
tree7b91bf502c5bcc974b30431fd8c96bf0bfab3288 /FS/FS/discount.pm
parent1bfbab83c338f6a11ae26c4d197ad775c568ebde (diff)
discounts, RT#6679
Diffstat (limited to 'FS/FS/discount.pm')
-rw-r--r--FS/FS/discount.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/discount.pm b/FS/FS/discount.pm
index 457c9d6..6771510 100644
--- a/FS/FS/discount.pm
+++ b/FS/FS/discount.pm
@@ -142,7 +142,7 @@ sub description_short {
my $conf = new FS::Conf;
my $money_char = $conf->config('money_char') || '$';
- my $desc = '';
+ my $desc = $self->name ? $self->name.': ' : '';
$desc .= $money_char. sprintf('%.2f/month ', $self->amount)
if $self->amount > 0;
$desc .= $self->percent. '% '