set default itemdesc="Tax" on quotation taxes, #32489
authorMark Wells <mark@freeside.biz>
Tue, 10 Mar 2015 19:58:55 +0000 (12:58 -0700)
committerMark Wells <mark@freeside.biz>
Tue, 10 Mar 2015 19:58:55 +0000 (12:58 -0700)
FS/FS/quotation.pm

index cf75267..fef69ed 100644 (file)
@@ -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),
       });