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

index 55730ae..60abd38 100644 (file)
@@ -674,7 +674,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),
       });