[freeside-commits] branch FREESIDE_4_BRANCH updated. bd6e42634e0ff49f387b40b2e15029e41fdad852
Mark Wells
mark at 420.am
Mon Nov 7 16:40:47 PST 2016
The branch, FREESIDE_4_BRANCH has been updated
via bd6e42634e0ff49f387b40b2e15029e41fdad852 (commit)
via d30709564f68fd3e5b32cd57f576ba0e13271d60 (commit)
from 863c878cadb95fcad0603f66298473841340926b (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 bd6e42634e0ff49f387b40b2e15029e41fdad852
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 d30709564f68fd3e5b32cd57f576ba0e13271d60
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 100644
--- 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