diff options
author | Mark Wells <mark@freeside.biz> | 2016-11-07 16:34:38 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-11-07 16:34:51 -0800 |
commit | d30709564f68fd3e5b32cd57f576ba0e13271d60 (patch) | |
tree | 8a200789e78ecdfc40107226661f953c8e2566be /bin | |
parent | 863c878cadb95fcad0603f66298473841340926b (diff) |
fix wa_tax_rate_update script to skip zero rates, #73226
Diffstat (limited to 'bin')
-rw-r--r-- | bin/wa_tax_rate_update | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |