projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make invoice text mouse-accessible through watermark box, #24665
[freeside.git]
/
FS
/
FS
/
cust_pay_batch.pm
diff --git
a/FS/FS/cust_pay_batch.pm
b/FS/FS/cust_pay_batch.pm
index
da003d8
..
13b2eef
100644
(file)
--- a/
FS/FS/cust_pay_batch.pm
+++ b/
FS/FS/cust_pay_batch.pm
@@
-344,14
+344,8
@@
sub decline {
}
$cust_pay->void($reason);
}
}
$cust_pay->void($reason);
}
- elsif ( lc($old->status) eq 'declined' ) {
- # batch files from RBC can have multiple lines for one decline
- # if this causes problems elsewhere, try hacking pay_batch/RBC.pm instead
- return '';
- }
else {
# normal case: refuse to do anything
else {
# normal case: refuse to do anything
- # should never happen...only statuses are approved or declined
return "cannot decline paybatchnum $paybatchnum, already resolved ('".$old->status."')";
}
} # !$old->status
return "cannot decline paybatchnum $paybatchnum, already resolved ('".$old->status."')";
}
} # !$old->status