mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
display custom prices places names in reservation summary after booking an event
This commit is contained in:
parent
d8e467d261
commit
f175b4b28e
@ -25,10 +25,13 @@ json.reservable do
|
||||
json.name @reservation.reservable.name
|
||||
end
|
||||
json.nb_reserve_places @reservation.nb_reserve_places
|
||||
json.tickets reservation.tickets do |t|
|
||||
json.tickets @reservation.tickets do |t|
|
||||
json.extract! t, :booked, :created_at
|
||||
json.price_category do
|
||||
json.extract! t.event_price_category.price_category, :id, :name
|
||||
json.event_price_category do
|
||||
json.extract! t.event_price_category, :id, :price_category_id
|
||||
json.price_category do
|
||||
json.extract! t.event_price_category.price_category, :id, :name
|
||||
end
|
||||
end
|
||||
end
|
||||
json.created_at @reservation.created_at.iso8601
|
||||
|
Loading…
x
Reference in New Issue
Block a user