summaryrefslogtreecommitdiff
path: root/httemplate/browse/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:46 -0800
commite0d137dcd3e28fcf8f307120ef86733b5814ffec (patch)
tree92a8d00f8d0dbbdaa2a71f7a457f74de39efd186 /httemplate/browse/reason.html
parentb9b18c46a93720ba3f635d71d32d13f355861c51 (diff)
add unused_credit flag to edit/reason.html for cancel reasons, #27911
Diffstat (limited to 'httemplate/browse/reason.html')
-rw-r--r--httemplate/browse/reason.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/httemplate/browse/reason.html b/httemplate/browse/reason.html
index bdbcf3704..7f62ada84 100644
--- a/httemplate/browse/reason.html
+++ b/httemplate/browse/reason.html
@@ -65,11 +65,8 @@ my @links = (
my $align = 'rll';
-if ( $class eq 'S' ) {
- push @header,
- 'Credit unused service',
- 'Suspension fee',
- ;
+if ( $class eq 'S' or $class eq 'C' ) {
+ push @header, 'Credit unused service';
push @fields,
sub {
my $reason = shift;
@@ -78,7 +75,12 @@ if ( $class eq 'S' ) {
} else {
return '<SPAN STYLE="background-color:#ff0000">NO</SPAN>';
}
- },
+ };
+ $align .= 'c';
+}
+if ( $class eq 'S' ) {
+ push @header, 'Suspension fee';
+ push @fields,
sub {
my $reason = shift;
my $feepart = $reason->feepart;
@@ -107,7 +109,7 @@ if ( $class eq 'S' ) {
$text .= '</FONT>';
}
;
- $align .= 'cl';
+ $align .= 'l';
}
# reason merge handling