X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Freason_type.html;h=6b444bad14d01e6304fb8a0349ceee1d75333e03;hp=09f451c9f01f517833fa292236ab80cc20209440;hb=75e11f1d1a5ced24496b5732e290f7762403feb8;hpb=15777da47bab33e8f0021e6dd9aa6b434fa9be30 diff --git a/httemplate/browse/reason_type.html b/httemplate/browse/reason_type.html index 09f451c9f..6b444bad1 100644 --- 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; -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." .