We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4b355f commit 347a36aCopy full SHA for 347a36a
1 file changed
app/views/sales/_context.html.erb
@@ -36,7 +36,10 @@
36
<% content_for :record_actions do %>
37
<% unless sale.discarded? %>
38
<div class="flex items-center gap-2">
39
- <%= link_to sale_path(sale , format: :pdf), class: "btn btn-primary btn-sm gap-2" do %>
+ <%= link_to sale_path(sale, format: :pdf),
40
+ class: "btn btn-primary btn-sm gap-2",
41
+ target: "_blank",
42
+ data: { turbo: false } do %>
43
<%= icon("print") %> <span class="hidden sm:inline">Stampa</span>
44
<% end %>
45
0 commit comments