summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-06-29 14:36:45 -0500
committerMitch Jackson <mitch@freeside.biz>2018-06-29 20:41:30 +0000
commitf41ba7540d45187dac6dd147bab6bb26b8a4956b (patch)
tree897c2c132645a263a262676eb62ad133c60a9e67
parentf9ea5ad4c0ab886ee546012e8a6adec5a3dbf763 (diff)
RT# 31208,80543 Issue converting quotation
-rw-r--r--FS/FS/Template_Mixin.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 39495f778..f197d005a 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -3112,9 +3112,9 @@ sub _items_fee {
my @cust_bill_pkg = grep { $_->feepart } $self->cust_bill_pkg;
my $escape_function = $options{escape_function};
- my $locale = $self->quotationnum
- ? $self->prospect_main->locale
- : $self->cust_main->locale;
+ my $locale = $self->cust_main
+ ? $self->cust_main->locale
+ : $self->prospect_main->locale;
my @items;
foreach my $cust_bill_pkg (@cust_bill_pkg) {