From baba7f31551483f9629e1afb42efd4d6b7f6e7a5 Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Fri, 29 Jun 2018 14:36:45 -0500 Subject: [PATCH] RT# 31208,80543 Issue converting quotation --- FS/FS/Template_Mixin.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 578e5a192..1b3df0066 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -3139,9 +3139,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) { -- 2.11.0