From e43d4918e12d86494e248166af9eb2fe2c1a9275 Mon Sep 17 00:00:00 2001 From: Du Peng Date: Tue, 11 Jul 2023 15:42:46 +0200 Subject: [PATCH] (feat) show present status for pre registration evnet if amount == 0 --- app/frontend/templates/admin/events/reservations.html | 3 ++- config/locales/app.admin.en.yml | 1 + config/locales/app.admin.fr.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/frontend/templates/admin/events/reservations.html b/app/frontend/templates/admin/events/reservations.html index acea1a3e8..44f7392ef 100644 --- a/app/frontend/templates/admin/events/reservations.html +++ b/app/frontend/templates/admin/events/reservations.html @@ -49,7 +49,8 @@ {{ 'app.admin.event_reservations.event_status.pre_registered' }} {{ 'app.admin.event_reservations.event_status.to_pay' }} - {{ 'app.admin.event_reservations.event_status.paid' }} + {{ 'app.admin.event_reservations.event_status.paid' }} + {{ 'app.admin.event_reservations.event_status.present' }} {{ 'app.admin.event_reservations.event_status.canceled' }} diff --git a/config/locales/app.admin.en.yml b/config/locales/app.admin.en.yml index f0472b6b4..63d082b5e 100644 --- a/config/locales/app.admin.en.yml +++ b/config/locales/app.admin.en.yml @@ -653,6 +653,7 @@ en: to_pay: "To pay" paid: "Paid" canceled: "Canceled" + present: "Present" affirmative: "yes" negative: "no" validate: "Validate" diff --git a/config/locales/app.admin.fr.yml b/config/locales/app.admin.fr.yml index 18ade1076..709e68ae4 100644 --- a/config/locales/app.admin.fr.yml +++ b/config/locales/app.admin.fr.yml @@ -653,6 +653,7 @@ fr: to_pay: "À payer" paid: "Payé" canceled: "Annulée" + present: "Présent" affirmative: "Oui" negative: "Non" validate: "Valider"