summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-11-01 16:20:44 -0700
committerIvan Kohler <ivan@freeside.biz>2016-11-01 16:20:44 -0700
commitf2b43a877c70aa367595fe2fc4fcffd82f62d001 (patch)
tree83c4be349cd80ec6fefa9684b390c8989d550598 /bin
parentbd29d65b7ec7b2637656fbc66ae0f57fa02dcbce (diff)
parent6a4b5b3bf9b3e589cf8ff18453e9c6be6a50091a (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'bin')
-rw-r--r--bin/wa_tax_rate_update1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/wa_tax_rate_update b/bin/wa_tax_rate_update
index 2d493db30..fbca9dd7d 100644
--- 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;
+ $district = sprintf('%04d', $district);
my $tax = sprintf('%.1f', $line->{Rate} * 100);
my $changed = 0;
my $skipped = 0;