[freeside-commits] branch master updated. bbb261f0dc3efe26abb71c4b17fd3386b82e8d8c

Ivan ivan at 420.am
Tue Jan 26 20:20:30 PST 2016


The branch, master has been updated
       via  bbb261f0dc3efe26abb71c4b17fd3386b82e8d8c (commit)
      from  ffb9519f06c7f6fc3d5c333d69993aed7fedea69 (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 bbb261f0dc3efe26abb71c4b17fd3386b82e8d8c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Jan 26 20:20:29 2016 -0800

    don't unnecessarily fail voiding

diff --git a/FS/FS/cust_pay_void.pm b/FS/FS/cust_pay_void.pm
index 72ada25..8d37a58 100644
--- a/FS/FS/cust_pay_void.pm
+++ b/FS/FS/cust_pay_void.pm
@@ -190,7 +190,7 @@ sub check {
     || $self->ut_foreign_keyn('pkgnum', 'cust_pkg', 'pkgnum')
     || $self->ut_numbern('void_date')
     || $self->ut_textn('reason')
-    || $self->payinfo_check
+    # || $self->payinfo_check #we'd rather void what we have than fail on this
     || $self->ut_foreign_keyn('reasonnum', 'reason', 'reasonnum')
   ;
   return $error if $error;

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

Summary of changes:
 FS/FS/cust_pay_void.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list