From 3fa5501cf8f3344360cb2a795ab58711d96540f5 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Mon, 7 Nov 2016 16:34:38 -0800 Subject: [PATCH] fix wa_tax_rate_update script to skip zero rates, #73226 --- bin/wa_tax_rate_update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/wa_tax_rate_update b/bin/wa_tax_rate_update index fbca9dd7d..d4a4b52e4 100644 --- a/bin/wa_tax_rate_update +++ b/bin/wa_tax_rate_update @@ -89,6 +89,7 @@ while ( !$csv->eof ) { district => $district, taxclass => $opt_c, taxname => $opt_t, + tax => { op => '>', value => '0' }, }); if ($opt_t eq '') { push @rates, qsearch('cust_main_county', { @@ -96,7 +97,8 @@ while ( !$csv->eof ) { state => 'WA', # this is specific to WA district => $district, taxclass => $opt_c, - taxname => 'Tax' + taxname => 'Tax', + tax => { op => '>', value => '0' }, }); } foreach my $rate (@rates) { -- 2.11.0