} elsif ($class eq 'S') {
$access_right = 'Suspend customer package';
$add_access_right = 'Add on-the-fly suspend reason';
-} elsif ($class eq 'S') {
+} elsif ($class eq 'R') {
$access_right = 'Post credit';
$add_access_right = 'Add on-the-fly credit reason';
} else {