summaryrefslogtreecommitdiff
path: root/httemplate/edit/reason.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-02-01 11:57:16 -0800
committerMark Wells <mark@freeside.biz>2016-02-01 12:02:42 -0800
commit6f870771982425279dd9576b7e36710dc79911b2 (patch)
tree59bb9a1626c933f6766c28995b6c813ea6befe08 /httemplate/edit/reason.html
parent12560fb5a69ddace43dc267b44894acb5352c98c (diff)
add unused_credit flag to edit/reason.html for cancel reasons, #27911
Diffstat (limited to 'httemplate/edit/reason.html')
-rw-r--r--httemplate/edit/reason.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/edit/reason.html b/httemplate/edit/reason.html
index 30168d551..331db4439 100644
--- a/httemplate/edit/reason.html
+++ b/httemplate/edit/reason.html
@@ -65,12 +65,14 @@ my @fields = (
},
);
-if ( $class eq 'S' ) {
+if ( $class eq 'S' or $class eq 'C' ) {
push @fields,
{ 'field' => 'unused_credit',
'type' => 'checkbox',
'value' => 'Y',
- },
+ };
+}
+if ( $class eq 'S' ) {
{ 'type' => 'tablebreak-tr-title' },
{ 'field' => 'feepart',
'type' => 'select-table',