Correção do dash board de acompanhamento diario das entregas

This commit is contained in:
2026-06-29 20:26:30 -03:00
parent 11531479f8
commit 59c0caa774
6 changed files with 77 additions and 35 deletions

View File

@@ -7,7 +7,9 @@
<% if titulo.present? %>
<div class="flex items-center justify-between">
<h2 class="text-lg font-bold text-white"><%= titulo %></h2>
<span class="text-xs text-gray-500"><%= metricas.total %> entregas</span>
<span class="text-xs text-gray-500">
<%= metricas.total %> entregas<% if metricas.data_inicio %> · <%= metricas.data_inicio.strftime('%d/%m/%Y') %><%= metricas.data_fim.strftime('%d/%m/%Y') %><% end %>
</span>
</div>
<% end %>