From: Mark Wells Date: Tue, 1 Nov 2016 08:47:20 +0000 (-0700) Subject: fix WA tax update script for some district numbers, #26265 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9367a73317b642a2f3a00bc80c1c1401f5be7b12 fix WA tax update script for some district numbers, #26265 --- diff --git a/bin/wa_tax_rate_update b/bin/wa_tax_rate_update index 2d493db30..fbca9dd7d 100755 --- 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;