projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#42393: Verification cust_pay_pending handling in history & report
[freeside.git]
/
httemplate
/
edit
/
process
/
cust_pay_pending.html
diff --git
a/httemplate/edit/process/cust_pay_pending.html
b/httemplate/edit/process/cust_pay_pending.html
index
1bad6cf
..
0ff7d26
100644
(file)
--- a/
httemplate/edit/process/cust_pay_pending.html
+++ b/
httemplate/edit/process/cust_pay_pending.html
@@
-59,6
+59,15
@@
if ( $action eq 'delete' ) {
$title = 'Pending payment completed (decline)';
}
$title = 'Pending payment completed (decline)';
}
+} elsif ( $action eq 'reverse' ) {
+
+ $error = $cust_pay_pending->reverse;
+ if ( $error ) {
+ $title = 'Error reversing pending payment';
+ } else {
+ $title = 'Pending payment completed (reverse)';
+ }
+
} else {
die "unknown action $action";
} else {
die "unknown action $action";