Correções para funcionamento do dash,criar login do motorista senha, e gerar quelátório

This commit is contained in:
2026-06-16 15:33:36 -03:00
parent 9c663ee3da
commit 6efbb45b70
7 changed files with 50 additions and 25 deletions

View File

@@ -53,6 +53,7 @@
<% if c.finalizada? %>
<%= link_to '⬇️ Baixar meu holerite',
gerar_pdf_holerite_consolidacao_path(c, motorista: current_user.nome),
data: { turbo: false },
class: 'bg-orange-500 hover:bg-orange-600 text-black font-bold px-5 py-3.5 rounded-lg min-h-[48px] flex items-center justify-center text-center' %>
<% else %>
<span class="text-gray-500 text-sm px-4 py-3 border border-[#2a2a2a] rounded-lg text-center">