From e4f40d14b8dea6605f83ac8bd67a61c39b6e5302 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Wed, 22 Feb 2023 14:51:03 +1100 Subject: [PATCH] Fix enterprise voucher tab Add harcoded voucher amount Add missing translation --- app/views/admin/enterprises/form/_vouchers.html.haml | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/admin/enterprises/form/_vouchers.html.haml b/app/views/admin/enterprises/form/_vouchers.html.haml index 843dc5e51a..608ae5dd56 100644 --- a/app/views/admin/enterprises/form/_vouchers.html.haml +++ b/app/views/admin/enterprises/form/_vouchers.html.haml @@ -19,7 +19,7 @@ - @enterprise.vouchers.each do |voucher| %tr %td= voucher.code - %td= voucher.rate + %td $10 %td %td %td diff --git a/config/locales/en.yml b/config/locales/en.yml index 75e2de9367..9f54f858b6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1146,6 +1146,7 @@ en: email_not_confirmed: "Email not confirmed" vouchers: legend: Vouchers + voucher_code: Voucher Code rate: Rate label: Label purpose: Purpose