summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-reason.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-02-16 13:53:20 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-02-16 13:53:20 -0600
commit251d07aa41b6830a0a2f2a51c14fa94586d843c2 (patch)
treec53f5a96bc595b914187a4c2be0c9a3084bedb98 /httemplate/elements/tr-select-reason.html
parent4771a2fe6202aa77d8e6fda10dc2b221899f3941 (diff)
RT#27710: Credit voiding
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 14bb6e8d0..356597553 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', 'F', or 'S'
- # for cancel, credit, refund, or suspend
+ '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
@@ -173,6 +173,8 @@ if ($class eq 'C') {
$add_access_right = 'Add on-the-fly credit reason';
} elsif ($class eq 'F') {
$add_access_right = 'Add on-the-fly refund reason';
+} elsif ($class eq 'X') {
+ $add_access_right = 'Add on-the-fly void credit reason';
} else {
die "illegal class: $class";
}