projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3819925
)
RT# 80543 Crash creating new quotation
author
Mitch Jackson
<mitch@freeside.biz>
Thu, 14 Jun 2018 19:46:38 +0000
(14:46 -0500)
committer
Mitch Jackson
<mitch@freeside.biz>
Thu, 14 Jun 2018 19:46:38 +0000
(14:46 -0500)
FS/FS/Template_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Template_Mixin.pm
b/FS/FS/Template_Mixin.pm
index
b9514fe
..
578e5a1
100644
(file)
--- a/
FS/FS/Template_Mixin.pm
+++ b/
FS/FS/Template_Mixin.pm
@@
-3139,7
+3139,9
@@
sub _items_fee {
my @cust_bill_pkg = grep { $_->feepart } $self->cust_bill_pkg;
my $escape_function = $options{escape_function};
- my $locale = $self->cust_main->locale;
+ my $locale = $self->quotationnum
+ ? $self->prospect_main->locale
+ : $self->cust_main->locale;
my @items;
foreach my $cust_bill_pkg (@cust_bill_pkg) {