projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
search for missing/outdated census tract, RT#86245
[freeside.git]
/
FS
/
FS
/
cust_refund.pm
diff --git
a/FS/FS/cust_refund.pm
b/FS/FS/cust_refund.pm
index
ee144c1
..
12ab0d6
100644
(file)
--- a/
FS/FS/cust_refund.pm
+++ b/
FS/FS/cust_refund.pm
@@
-82,7
+82,7
@@
Payment Type (See L<FS::payinfo_Mixin> for valid payby values)
Payment Information (See L<FS::payinfo_Mixin> for data format)
Payment Information (See L<FS::payinfo_Mixin> for data format)
-=item cardtype
+=item
pay
cardtype
Detected credit card type, if appropriate; autodetected.
Detected credit card type, if appropriate; autodetected.
@@
-289,7
+289,8
@@
otherwise returns false.
sub replace {
my $self = shift;
sub replace {
my $self = shift;
- return "Can't modify closed refund" if $self->closed =~ /^Y/i;
+ return "Can't modify closed refund"
+ if $self->closed =~ /^Y/i && !$FS::payinfo_Mixin::allow_closed_replace;
$self->SUPER::replace(@_);
}
$self->SUPER::replace(@_);
}