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 11:57:16 -0800
commitd024699a657dcafdef6b9161350ae4dc1ccc5d6e (patch)
tree7e1e76c9f60cc132e0822ea3d2c85cf676127ba4 /httemplate/edit/reason.html
parent5b580ccdc237bea4149ef99c53aa071d8a4abb77 (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',