diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-07-25 16:32:30 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-08-29 18:28:46 -0500 |
commit | c1822833ea22d3d32d2f67412b834d48bfdef7fb (patch) | |
tree | c848eab898c64d03f9ab91245b8edf9d5ce6d99b /httemplate/edit/process/cust_pay_pending.html | |
parent | b09f61d517dc01dd2eae04b3e03a5b9e5dab1a0f (diff) |
RT#42393: Verification cust_pay_pending handling in history & report
Diffstat (limited to 'httemplate/edit/process/cust_pay_pending.html')
-rw-r--r-- | httemplate/edit/process/cust_pay_pending.html | 9 |
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"; |