From e5aee97b7d4c0cd8d6d0c3f0b1bca05adb676d7d Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 25 Jul 2016 16:32:30 -0500 Subject: RT#42393: Verification cust_pay_pending handling in history & report --- httemplate/edit/process/cust_pay_pending.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'httemplate/edit/process') 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"; -- cgit v1.2.1