Criação da visão geral da consolidação por motorista

This commit is contained in:
2026-08-26 11:15:52 -03:00
parent 8d24a57579
commit cd99a22553
12 changed files with 841 additions and 3 deletions

View File

@@ -51,14 +51,18 @@
</p>
</div>
<%# Card 2 — Valor Consolidado (BRANCO) %>
<div class="bg-white rounded-2xl p-6">
<%# Card 2 — Valor Consolidado (BRANCO). Clicável: leva ao total POR PERÍODO,
com as consolidações que compõem o valor e o PDF do período. %>
<%= link_to motorista_totais_path, class: 'block bg-white rounded-2xl p-6 hover:ring-2 hover:ring-orange-500 transition' do %>
<p class="text-gray-600 font-bold uppercase tracking-wide flex items-center gap-2"><%= icone :sucesso, cor: 'text-green-600', espaco: false %> Valor fechado para pagamento</p>
<p class="text-black font-black text-4xl sm:text-5xl mt-2 leading-tight whitespace-nowrap"><%= moeda(@valor_consolidado) %></p>
<p class="text-gray-600 text-base mt-2">
Soma dos pagamentos já confirmados pela empresa
</p>
</div>
<p class="text-orange-600 font-bold text-base mt-3">
<%= icone :avancar, cor: 'text-orange-600' %> Ver por período e baixar o PDF
</p>
<% end %>
</div>
<%# ── Lista de consolidações ──────────────────────────── %>