[freeside-commits] branch FREESIDE_3_BRANCH updated. ca564d6930f7d65d831d148701ba8ab316eb46e5
Mark Wells
mark at 420.am
Mon Nov 7 16:40:47 PST 2016
The branch, FREESIDE_3_BRANCH has been updated
via ca564d6930f7d65d831d148701ba8ab316eb46e5 (commit)
via 28cf324a9c7ce5fb4f059ecebcf297cf1d035fe8 (commit)
from 165b1825de624fb25f982968383a35eca9efcbaf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ca564d6930f7d65d831d148701ba8ab316eb46e5
Author: Mark Wells <mark at freeside.biz>
Date: Mon Nov 7 16:37:28 2016 -0800
fix nit
diff --git a/FS/FS/Cron/tax_rate_update.pm b/FS/FS/Cron/tax_rate_update.pm
index e345964..2c021b8 100755
--- a/FS/FS/Cron/tax_rate_update.pm
+++ b/FS/FS/Cron/tax_rate_update.pm
@@ -109,3 +109,5 @@ sub tax_rate_update {
} # else $method isn't wa_sales, no other methods exist yet
'';
}
+
+1;
commit 28cf324a9c7ce5fb4f059ecebcf297cf1d035fe8
Author: Mark Wells <mark at freeside.biz>
Date: Mon Nov 7 16:34:38 2016 -0800
fix wa_tax_rate_update script to skip zero rates, #73226
diff --git a/bin/wa_tax_rate_update b/bin/wa_tax_rate_update
index fbca9dd..d4a4b52 100755
--- 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) {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Cron/tax_rate_update.pm | 2 ++
bin/wa_tax_rate_update | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list