X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FTemplate_Mixin.pm;h=5cc2f05a906d112b7b233980d44d069595a0cd91;hb=3d48c56539401f62cc46173479bb29879ec6d019;hp=cefb4bcc3fef462b008e2bab93a10c5eaf50a871;hpb=efdfd4f1dc1ad957c9aa9d4aca0d8d0f2f49806d;p=freeside.git diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index cefb4bcc3..5cc2f05a9 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -3099,7 +3099,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) {