Adição do Usuario Externo e Correção da data no dashboard
This commit is contained in:
@@ -57,6 +57,7 @@ module ApplicationHelper
|
||||
when 'gerente' then { cor: 'bg-orange-800 text-white' }
|
||||
when 'operador' then { cor: 'bg-gray-700 text-white' }
|
||||
when 'motorista' then { cor: 'bg-gray-900 text-orange-400 border border-orange-500' }
|
||||
when 'externo' then { cor: 'bg-blue-900 text-blue-200 border border-blue-500' }
|
||||
else { cor: 'bg-gray-800 text-gray-400' }
|
||||
end
|
||||
label = User::ROLES_LABEL[role.to_s] || role.to_s.humanize
|
||||
|
||||
Reference in New Issue
Block a user