From e3004bbda87eaba918f5742a7ccb53fe3aa38031 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 23 Feb 2015 16:18:19 -0600 Subject: RT#27710: Credit voiding --- httemplate/elements/tr-select-reason.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'httemplate/elements/tr-select-reason.html') diff --git a/httemplate/elements/tr-select-reason.html b/httemplate/elements/tr-select-reason.html index 8b43dd3b4..70f21c9e5 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', or 'S' - # for cancel, credit, or suspend + 'reason_class' => 'C', # currently 'C', 'R', 'S' or 'X' + # for cancel, credit, suspend or void credit #recommended 'cgi' => $cgi, #easiest way for things to be properly "sticky" on errors @@ -170,6 +170,8 @@ if ($class eq 'C') { $add_access_right = 'Add on-the-fly suspend reason'; } elsif ($class eq 'R') { $add_access_right = 'Add on-the-fly credit reason'; +} elsif ($class eq 'X') { + $add_access_right = 'Add on-the-fly void credit reason'; } else { die "illegal class: $class"; } -- cgit v1.2.1