From 7c1043d8f5721603b0c0c1db4eb7306c7f706e3f Mon Sep 17 00:00:00 2001 From: Liam Whalen Date: Wed, 29 Oct 2014 11:31:22 -0700 Subject: [PATCH] LP#1441770 Liberalized the check for taxes The amount regex used to check for taxes needed to be liberalized, so that it could find Ingram's amount sent in EDI messages. They use an MOA+120 field, where as we were checking for MOA+124. Signed-off-by: Liam Whalen --- Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm index 3a3ecc64fb..47ebbc2d8f 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm @@ -63,7 +63,7 @@ my %edi_charge_fields = ( # have so far. my %edi_tax_fields = ( type => qr/^TAX\+7\+([^\+]+)/, - amount => qr/^MOA\+124:([^:]+)/ + amount => qr/^MOA\+12[04]:([^:]+)/ ); sub new { -- 2.11.0