From 66794b817f15491fb7ec3f0e7be9c4557bec1231fec02b1a43a015759f99f9fe Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 19 Jun 2026 15:07:28 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20=20da=20fun=C3=A7=C3=A3o?= =?UTF-8?q?=20de=20adicionar=20entregas=20por=20fora=20da=20opera=C3=A7?= =?UTF-8?q?=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/consolidacoes/index.html.erb | 52 +++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/app/views/consolidacoes/index.html.erb b/app/views/consolidacoes/index.html.erb index df558b6..47f844f 100644 --- a/app/views/consolidacoes/index.html.erb +++ b/app/views/consolidacoes/index.html.erb @@ -1,32 +1,32 @@ <%# app/views/consolidacoes/index.html.erb %> <% content_for :title, 'Consolidações' %> -
-

📦 Consolidações

-
- <%= link_to '📁 Arquivadas', arquivadas_consolidacoes_path, - class: 'text-gray-400 hover:text-white border border-[#2a2a2a] px-4 py-3 rounded-lg min-h-[48px] flex items-center transition-colors' %> - <% if policy(Consolidacao).create? %> - - <% end %> - <%= link_to '+ Nova Consolidação', new_consolidacao_path, - class: 'bg-orange-500 hover:bg-orange-600 text-black font-bold px-5 py-3 rounded-lg min-h-[48px] flex items-center transition-colors' %> +
+
+

📦 Consolidações

+
+ <%= link_to '📁 Arquivadas', arquivadas_consolidacoes_path, + class: 'text-gray-400 hover:text-white border border-[#2a2a2a] px-4 py-3 rounded-lg min-h-[48px] flex items-center transition-colors' %> + <% if policy(Consolidacao).create? %> + + <% end %> + <%= link_to '+ Nova Consolidação', new_consolidacao_path, + class: 'bg-orange-500 hover:bg-orange-600 text-black font-bold px-5 py-3 rounded-lg min-h-[48px] flex items-center transition-colors' %> +
-
-<%# ── Modal "Nota avulsa" — cria a consolidação direto a partir da NF ── %> -<% if policy(Consolidacao).create? %> -
-
+ <% if policy(Consolidacao).create? %> + <%# ── Filtros ──────────────────────────────────────────── %> <%= form_with url: consolidacoes_path, method: :get,