summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-reason.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-12-14 13:40:17 -0800
committerMark Wells <mark@freeside.biz>2015-12-14 13:40:17 -0800
commitb3db3e68f602f3ca395a6bc272a4de6fef2d0895 (patch)
treedbce2110be4a1c3114119910114e8c654180188b /httemplate/elements/tr-select-reason.html
parentf6c324e36edfbab5243c8b714ce34f04ad5bca91 (diff)
backport refund reasons, #39398
Diffstat (limited to 'httemplate/elements/tr-select-reason.html')
-rwxr-xr-xhttemplate/elements/tr-select-reason.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html
index 836dd9bcd..47acd854b 100755
--- a/httemplate/elements/tr-select-reason.html
+++ b/httemplate/elements/tr-select-reason.html
@@ -6,8 +6,8 @@ Example:
#required
'field' => 'reasonnum',
- 'reason_class' => 'C', # currently 'C', 'R', 'S' or 'X'
- # for cancel, credit, suspend or void credit
+ 'reason_class' => 'C', # currently 'C', 'R', 'F', 'S' or 'X'
+ # for cancel, credit, refund, suspend or void credit
#recommended
'cgi' => $cgi, #easiest way for things to be properly "sticky" on errors
@@ -197,6 +197,8 @@ if ($class eq 'C') {
$add_access_right = 'Add on-the-fly credit reason';
} elsif ($class eq 'X') {
$add_access_right = 'Add on-the-fly void credit reason';
+} elsif ($class eq 'F') {
+ $add_access_right = 'Add on-the-fly refund reason';
} else {
die "illegal class: $class";
}