projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dc4e882
)
fix wa_tax_rate_update script to skip zero rates, #73226
author
Mark Wells
<mark@freeside.biz>
Tue, 8 Nov 2016 00:34:38 +0000
(16:34 -0800)
committer
Mark Wells
<mark@freeside.biz>
Tue, 8 Nov 2016 00:34:38 +0000
(16:34 -0800)
bin/wa_tax_rate_update
patch
|
blob
|
history
diff --git
a/bin/wa_tax_rate_update
b/bin/wa_tax_rate_update
index
fbca9dd
..
d4a4b52
100644
(file)
--- 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,
district => $district,
taxclass => $opt_c,
taxname => $opt_t,
+ tax => { op => '>', value => '0' },
});
if ($opt_t eq '') {
push @rates, qsearch('cust_main_county', {
});
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,
state => 'WA', # this is specific to WA
district => $district,
taxclass => $opt_c,
- taxname => 'Tax'
+ taxname => 'Tax',
+ tax => { op => '>', value => '0' },
});
}
foreach my $rate (@rates) {
});
}
foreach my $rate (@rates) {