projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
578a588
)
fix WA tax update script for some district numbers, #26265
author
Mark Wells
<mark@freeside.biz>
Tue, 1 Nov 2016 08:47:20 +0000
(
01:47
-0700)
committer
Mark Wells
<mark@freeside.biz>
Tue, 1 Nov 2016 08:47:20 +0000
(
01:47
-0700)
bin/wa_tax_rate_update
patch
|
blob
|
history
diff --git
a/bin/wa_tax_rate_update
b/bin/wa_tax_rate_update
index
2d493db
..
fbca9dd
100755
(executable)
--- a/
bin/wa_tax_rate_update
+++ b/
bin/wa_tax_rate_update
@@
-78,6
+78,7
@@
my $total_skipped = 0;
while ( !$csv->eof ) {
my $line = $csv->getline_hr($fh);
my $district = $line->{Code} or next;
while ( !$csv->eof ) {
my $line = $csv->getline_hr($fh);
my $district = $line->{Code} or next;
+ $district = sprintf('%04d', $district);
my $tax = sprintf('%.1f', $line->{Rate} * 100);
my $changed = 0;
my $skipped = 0;
my $tax = sprintf('%.1f', $line->{Rate} * 100);
my $changed = 0;
my $skipped = 0;