[freeside-commits] branch FREESIDE_3_BRANCH updated. f41ba7540d45187dac6dd147bab6bb26b8a4956b

Mitch Jackson mitch at freeside.biz
Fri Jun 29 13:45:20 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  f41ba7540d45187dac6dd147bab6bb26b8a4956b (commit)
      from  f9ea5ad4c0ab886ee546012e8a6adec5a3dbf763 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f41ba7540d45187dac6dd147bab6bb26b8a4956b
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Fri Jun 29 14:36:45 2018 -0500

    RT# 31208,80543 Issue converting quotation

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) {

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Template_Mixin.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list