[freeside-commits] branch FREESIDE_3_BRANCH updated. 1952f05a742b6a71d59f84ad55e84c27833fa980

Mark Wells mark at 420.am
Thu Oct 16 12:24:38 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  1952f05a742b6a71d59f84ad55e84c27833fa980 (commit)
      from  79a01ef71d4522b59c739fb08c231624df0adce0 (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 1952f05a742b6a71d59f84ad55e84c27833fa980
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Oct 16 12:24:18 2014 -0700

    allow maxtype=18 in CCH tax calculation, #31395

diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm
index 78917a3..9f07f36 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -435,7 +435,9 @@ sub taxline {
 
   my $maxtype = $self->maxtype || 0;
   if ($maxtype != 0 && $maxtype != 1 
-      && $maxtype != 14 && $maxtype != 15) {
+      && $maxtype != 14 && $maxtype != 15
+      && $maxtype != 18 # sigh
+    ) {
     return $self->_fatal_or_null( 'tax with "'.
                                     $self->maxtype_name. '" threshold'
                                 );

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/tax_rate.pm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list