diff --git a/app/views/admin/sales/index.html.erb b/app/views/admin/sales/index.html.erb index 6c048d1..0cd5353 100644 --- a/app/views/admin/sales/index.html.erb +++ b/app/views/admin/sales/index.html.erb @@ -61,7 +61,6 @@ - <% if current_user.admin? || (current_user.manager? && !current_user.admin?) %>
<% if sale.active? %> <%= button_to 'Cancelar', cancel_admin_sale_path(sale), @@ -69,7 +68,6 @@ class: 'text-red-500 dark:text-red-400 hover:underline ml-2' %> <% end %>
- <% end %> <% end %> <% end %>