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 19:46:59 +0000
commitb94ae73fdc40568f33b7f7dbdac15bda18fb9347 (patch)
tree035edf4866cd7a1f11e9e52d1268699d900b3fc0
parent2134c57999b90936f5d92d068e67e39c9fe60b35 (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 653e69891..4d1079a04 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -3133,9 +3133,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) {