projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quick list of area codes and a kludge to print DA numbers for all of them
[freeside.git]
/
httemplate
/
browse
/
reason_type.html
diff --git
a/httemplate/browse/reason_type.html
b/httemplate/browse/reason_type.html
index
09f451c
..
6b444ba
100644
(file)
--- a/
httemplate/browse/reason_type.html
+++ b/
httemplate/browse/reason_type.html
@@
-33,11
+33,7
@@
die "access denied"
$cgi->param('class') =~ /^(\w)$/ or die "illegal class";
my $class=$1;
$cgi->param('class') =~ /^(\w)$/ or die "illegal class";
my $class=$1;
-my %classmap = ( 'C' => 'cancel',
- 'S' => 'suspend',
- );
-
-my $classname = $classmap{$class};
+my $classname = $FS::reason_type::class_name{$class};
my $html_init = ucfirst($classname) .
" reason types allow groups of $classname reasons for reporting purposes." .
my $html_init = ucfirst($classname) .
" reason types allow groups of $classname reasons for reporting purposes." .