Correção do QR do holerite entre outras coisas

This commit is contained in:
2026-06-16 17:01:36 -03:00
parent 80c068c798
commit cf896de165
7 changed files with 106 additions and 24 deletions

View File

@@ -51,7 +51,7 @@
<table class="w-full text-sm">
<thead class="bg-[#0a0a0a] text-gray-400">
<tr>
<th class="text-left px-4 py-3">Tracking / NF</th>
<th class="text-left px-4 py-3">Veículo</th>
<th class="text-left px-4 py-3">Endereço</th>
<th class="text-left px-4 py-3">Tipo</th>
<th class="text-right px-4 py-3">Valor</th>
@@ -60,7 +60,7 @@
<tbody class="divide-y divide-[#2a2a2a]">
<% @classificacoes.each do |c| %>
<tr>
<td class="px-4 py-3 text-white font-mono text-xs"><%= c.tracking_id %></td>
<td class="px-4 py-3 text-white text-xs"><%= c.entrega_original&.vehicle.presence || '—' %></td>
<td class="px-4 py-3 text-gray-300 text-xs"><%= c.entrega_original&.address.presence || '—' %></td>
<td class="px-4 py-3">
<span class="<%= c.tipo_cor[:bg] %> <%= c.tipo_cor[:text] %> px-2 py-1 rounded text-xs font-bold">