diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-23 09:30:59 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-23 09:30:59 -0600 |
commit | d01e39fb1dfe39717ddf7a7b0870a95ef433af41 (patch) | |
tree | 2eef0c28903655fd8a46a8b38fec61a6d5f83b01 | |
parent | 3c3608637cf9ed1f6368b2f4d17415db903e4b92 (diff) |
RT#39586 Manual check refunds cannot be unapplied [v3 merge]
-rw-r--r-- | FS/FS/cust_main/Billing_Realtime.pm | 2 | ||||
-rw-r--r-- | FS/FS/cust_refund.pm | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm index 58ae97ceb..e9a3db2fd 100644 --- a/FS/FS/cust_main/Billing_Realtime.pm +++ b/FS/FS/cust_main/Billing_Realtime.pm @@ -1382,8 +1382,6 @@ sub realtime_refund_bop { warn " $_ => $options{$_}\n" foreach keys %options; } - return "No reason specified" unless $options{'reasonnum'} =~ /^\d+$/; - my %content = (); ### diff --git a/FS/FS/cust_refund.pm b/FS/FS/cust_refund.pm index d6cedf54b..179151009 100644 --- a/FS/FS/cust_refund.pm +++ b/FS/FS/cust_refund.pm @@ -158,7 +158,6 @@ sub insert { $self->set('reasonnum', $reason->get('reasonnum')); $self->set('reason', ''); } - $self->set('reasonnum', $reason->reasonnum); } if ( $self->crednum ) { |