From 251d07aa41b6830a0a2f2a51c14fa94586d843c2 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 16 Feb 2015 13:53:20 -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 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"; } -- cgit v1.2.1