[freeside-commits] branch FREESIDE_3_BRANCH updated. 93b55cfdc07c1c29e9b42e801713f6595eaf071f

Mark Wells mark at 420.am
Tue Mar 10 12:59:17 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  93b55cfdc07c1c29e9b42e801713f6595eaf071f (commit)
      from  4d81504d903cc11cc3637ecc3e6f4af44c59addd (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 93b55cfdc07c1c29e9b42e801713f6595eaf071f
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Mar 10 12:58:55 2015 -0700

    set default itemdesc="Tax" on quotation taxes, #32489

diff --git a/FS/FS/quotation.pm b/FS/FS/quotation.pm
index cf75267..fef69ed 100644
--- a/FS/FS/quotation.pm
+++ b/FS/FS/quotation.pm
@@ -698,7 +698,7 @@ sub estimate {
 
       my $quotation_pkg_tax = FS::quotation_pkg_tax->new({
           quotationpkgnum => $pkg->quotationpkgnum,
-          itemdesc        => $tax_def->taxname,
+          itemdesc        => ($tax_def->taxname || 'Tax'),
           taxnum          => $taxnum,
           taxtype         => ref($tax_def),
       });

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

Summary of changes:
 FS/FS/quotation.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list