mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
show custom prices bookings in admin/editMember
This commit is contained in:
parent
d47a5aea5f
commit
3d1c852576
@ -160,9 +160,9 @@
|
||||
<br/>
|
||||
<span translate translate-values="{ NUMBER: r.nb_reserve_places}" translate-interpolation="messageformat">{{ 'NUMBER_full_price_tickets_reserved' }}</span>
|
||||
</span>
|
||||
<span ng-if="r.nb_reserve_reduced_places > 0">
|
||||
<span ng-repeat="ticket in r.tickets">
|
||||
<br/>
|
||||
<span translate translate-values="{ NUMBER: r.nb_reserve_reduced_places}" translate-interpolation="messageformat">{{ 'NUMBER_reduced_rate_tickets_reserved' }}</span>
|
||||
<span translate translate-values="{ NUMBER: ticket.booked, NAME: ticket.price_category.name }" translate-interpolation="messageformat">{{ 'NUMBER_NAME_tickets_reserved' }}</span>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -109,7 +109,12 @@ json.events_reservations @member.reservations.where(reservable_type: 'Event').jo
|
||||
json.start_at r.slots.first.start_at
|
||||
json.end_at r.slots.first.end_at
|
||||
json.nb_reserve_places r.nb_reserve_places
|
||||
json.nb_reserve_reduced_places r.nb_reserve_reduced_places
|
||||
json.tickets r.tickets do |t|
|
||||
json.booked t.booked
|
||||
json.price_category do
|
||||
json.name t.event_price_category.price_category.name
|
||||
end
|
||||
end
|
||||
json.reservable r.reservable
|
||||
end
|
||||
json.invoices @member.invoices.order('reference DESC') do |i|
|
||||
|
@ -385,7 +385,7 @@ en:
|
||||
next_events: "Next events"
|
||||
no_upcoming_events: "No upcoming events"
|
||||
NUMBER_full_price_tickets_reserved: "{NUMBER, plural, =0{} one{1 full price ticket reserved} other{{NUMBER} full price tickets reserved}}" # messageFormat interpolation
|
||||
NUMBER_reduced_rate_tickets_reserved: "{NUMBER, plural, =0{} one{1 reduced rate ticket reserved} other{{NUMBER} reduced rate tickets reserved}}" # messageFormat interpolation
|
||||
NUMBER_NAME_tickets_reserved: "{NUMBER, plural, =0{} one{1 {NAME} ticket reserved} other{{NUMBER} {NAME} tickets reserved}}" # messageFormat interpolation
|
||||
passed_events: "Passed events"
|
||||
invoices: "Invoices"
|
||||
invoice_#: "Invoice #"
|
||||
|
@ -385,7 +385,7 @@ fr:
|
||||
next_events: "Les prochains évènements"
|
||||
no_upcoming_events: "Aucun évènement à venir"
|
||||
NUMBER_full_price_tickets_reserved: "{NUMBER, plural, =0{} one{1 place plein tarif réservée} other{{NUMBER} places plein tarif réservées}}" # messageFormat interpolation
|
||||
NUMBER_reduced_rate_tickets_reserved: "{NUMBER, plural, =0{} one{1 place à tarif réduit réservée} other{{NUMBER} places à tarif réduit réservées}}" # messageFormat interpolation
|
||||
NUMBER_NAME_tickets_reserved: "{NUMBER, plural, =0{} one{1 place {NAME} réservée} other{{NUMBER} places {NAME} réservées}}" # messageFormat interpolation
|
||||
passed_events: "Les évènements passés"
|
||||
invoices: "Factures"
|
||||
invoice_#: "Facture n°"
|
||||
|
Loading…
Reference in New Issue
Block a user