[freeside-commits] branch FREESIDE_4_BRANCH updated. eb89710b4a83ef999c705f1251e73612badea9d2

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


The branch, FREESIDE_4_BRANCH has been updated
       via  eb89710b4a83ef999c705f1251e73612badea9d2 (commit)
      from  964873f4b9cd1f556a0a72d80e693a859bb068b1 (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 eb89710b4a83ef999c705f1251e73612badea9d2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Jan 26 20:20:31 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