Adição do Usuario Externo e Correção da data no dashboard

This commit is contained in:
2026-06-22 19:34:19 -03:00
parent 74391d5a0c
commit 5d5531b695
5 changed files with 22 additions and 5 deletions

View File

@@ -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