summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-07-25 16:32:30 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-07-25 16:32:30 -0500
commit88e9a56677d343392416c262f976f069157b06cb (patch)
tree2a59e70b17cea4098bb08d30a6827a518f6ecfca /httemplate/edit/process
parent4d77cd40a01ff3526aa92adccca89d305f232eea (diff)
RT#42393: Verification cust_pay_pending handling in history & report
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r--httemplate/edit/process/cust_pay_pending.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/edit/process/cust_pay_pending.html b/httemplate/edit/process/cust_pay_pending.html
index 1bad6cffe..0ff7d26d0 100644
--- 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)';
}
+} 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";