develop #3

Merged
kbe merged 227 commits from develop into main 2025-09-16 14:35:23 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit bc214867b0 - Show all commits

View File

@@ -106,8 +106,6 @@ class OrdersController < ApplicationController
end end
# Display order summary # Display order summary
#
#
def show def show
@tickets = @order.tickets.includes(:ticket_type) @tickets = @order.tickets.includes(:ticket_type)
end end
@@ -165,7 +163,7 @@ class OrdersController < ApplicationController
end end
@tickets = @order.tickets.includes(:ticket_type) @tickets = @order.tickets.includes(:ticket_type)
# Get the Stripe invoice if it exists # Get the Stripe invoice if it exists
begin begin
@stripe_invoice_id = @order.create_stripe_invoice! @stripe_invoice_id = @order.create_stripe_invoice!

View File

@@ -20,4 +20,4 @@ class OrdersControllerInvoiceTest < ActionDispatch::IntegrationTest
assert_redirected_to order_url(draft_order) assert_redirected_to order_url(draft_order)
assert_equal "La facture n'est disponible qu'après le paiement de la commande", flash[:alert] assert_equal "La facture n'est disponible qu'après le paiement de la commande", flash[:alert]
end end
end end