[freeside-commits] branch master updated. c5c8e792b4f4940029bb7a3385e35166a3787220

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


The branch, master has been updated
       via  c5c8e792b4f4940029bb7a3385e35166a3787220 (commit)
      from  a21bd79010b9a3a5e1f9e19dca673dcb38f35334 (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 c5c8e792b4f4940029bb7a3385e35166a3787220
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Oct 16 12:24:29 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 5027917..d773ff5 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -433,7 +433,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