mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(feat) show present status for pre registration evnet if amount == 0
This commit is contained in:
parent
61fbb37fb2
commit
e43d4918e1
@ -49,7 +49,8 @@
|
||||
<td ng-if="event.pre_registration">
|
||||
<span ng-if="!isValidated(reservation) && !isCancelled(reservation) && !reservation.is_paid" class="v-middle badge text-sm bg-info" translate="">{{ 'app.admin.event_reservations.event_status.pre_registered' }}</span>
|
||||
<span ng-if="isValidated(reservation) && !isCancelled(reservation) && !reservation.is_paid" class="v-middle badge text-sm bg-stage" translate="">{{ 'app.admin.event_reservations.event_status.to_pay' }}</span>
|
||||
<span ng-if="reservation.is_paid && !isCancelled(reservation)" class="v-middle badge text-sm bg-success" translate="">{{ 'app.admin.event_reservations.event_status.paid' }}</span>
|
||||
<span ng-if="event.amount !== 0 && reservation.is_paid && !isCancelled(reservation)" class="v-middle badge text-sm bg-success" translate="">{{ 'app.admin.event_reservations.event_status.paid' }}</span>
|
||||
<span ng-if="event.amount === 0 && reservation.is_paid && !isCancelled(reservation)" class="v-middle badge text-sm bg-success" translate="">{{ 'app.admin.event_reservations.event_status.present' }}</span>
|
||||
<span ng-if="isCancelled(reservation)" class="v-middle badge text-sm bg-event" translate="">{{ 'app.admin.event_reservations.event_status.canceled' }}</span>
|
||||
</td>
|
||||
<td ng-if="event.pre_registration">
|
||||
|
@ -653,6 +653,7 @@ en:
|
||||
to_pay: "To pay"
|
||||
paid: "Paid"
|
||||
canceled: "Canceled"
|
||||
present: "Present"
|
||||
affirmative: "yes"
|
||||
negative: "no"
|
||||
validate: "Validate"
|
||||
|
@ -653,6 +653,7 @@ fr:
|
||||
to_pay: "À payer"
|
||||
paid: "Payé"
|
||||
canceled: "Annulée"
|
||||
present: "Présent"
|
||||
affirmative: "Oui"
|
||||
negative: "Non"
|
||||
validate: "Valider"
|
||||
|
Loading…
Reference in New Issue
Block a user