diff --git a/app/pdfs/pdf/invoice.rb b/app/pdfs/pdf/invoice.rb index faf79f42d..9913d0b4c 100644 --- a/app/pdfs/pdf/invoice.rb +++ b/app/pdfs/pdf/invoice.rb @@ -125,6 +125,8 @@ module PDF ### Machine reservation when 'Machine' details += I18n.t('invoices.machine_reservation_DESCRIPTION', DESCRIPTION: item.description) + when 'Space' + details += I18n.t('invoices.space_reservation_DESCRIPTION', DESCRIPTION: item.description) ### Training reservation when 'Training' details += I18n.t('invoices.training_reservation_DESCRIPTION', DESCRIPTION: item.description) diff --git a/config/locales/en.yml b/config/locales/en.yml index c7392cff3..3683f979d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -85,6 +85,7 @@ en: subscription_extended_for_free_from_START_to_END: "Subscription extended for free - From %{START} to %{END}" subscription_NAME_from_START_to_END: "Subscription - From %{START} to %{END}" machine_reservation_DESCRIPTION: "Machine reservation - %{DESCRIPTION}" + space_reservation_DESCRIPTION: "Space reservation - %{DESCRIPTION}" training_reservation_DESCRIPTION: "Training reservation - %{DESCRIPTION}" event_reservation_DESCRIPTION: "Event reservation - %{DESCRIPTION}" full_price_ticket: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 14a12d083..f072a68f2 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -85,6 +85,7 @@ fr: subscription_extended_for_free_from_START_to_END: "Abonnement prolongé gratuitement - Du %{START} au %{END}" subscription_NAME_from_START_to_END: "Abonnement - Du %{START} au %{END}" machine_reservation_DESCRIPTION: "Réservation Machine - %{DESCRIPTION}" + space_reservation_DESCRIPTION: "Réservation Espace - %{DESCRIPTION}" training_reservation_DESCRIPTION: "Réservation Formation - %{DESCRIPTION}" event_reservation_DESCRIPTION: "Réservation Évènement - %{DESCRIPTION}" full_price_ticket: