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:48:23 -0500 |
| commit | e5aee97b7d4c0cd8d6d0c3f0b1bca05adb676d7d (patch) | |
| tree | fcbd627892b8bc5c13a9ac0e3b593523e25699b1 /httemplate/edit/process | |
| parent | cd4651d982b36a8ac8f9e57ef1b9c34734259cdc (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.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"; |
