diff --git a/app/assets/templates/admin/pricing/sendCoupon.html.erb b/app/assets/templates/admin/pricing/sendCoupon.html.erb
new file mode 100644
index 000000000..1e1c10ee6
--- /dev/null
+++ b/app/assets/templates/admin/pricing/sendCoupon.html.erb
@@ -0,0 +1,31 @@
+
+
+
{{ 'send_a_coupon' }}
+
+
+
+
+
+
+
+
{{ 'coupon' }}
+
+
+
+
+
+
+
+
{{'code'}}
{{coupon.code}}
+
{{'percent_off'}}
{{coupon.percent_off}} %
+
{{'validity_per_user'}}
{{coupon.validity_per_user}}
+
{{'valid_until'}}
{{coupon.valid_until | amDateFormat:'L'}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config/locales/app.admin.en.yml b/config/locales/app.admin.en.yml
index 17bcaacbb..af08af174 100644
--- a/config/locales/app.admin.en.yml
+++ b/config/locales/app.admin.en.yml
@@ -113,7 +113,7 @@ en:
back_to_monitoring: "Back to monitoring"
pricing:
- # subscriptions, prices and credits management
+ # subscriptions, prices, credits and coupons management
pricing_management: "Pricing management"
list_of_the_subscription_plans: "List of the subscription plans"
beware_the_subscriptions_are_disabled_on_this_application: "Beware, the subscriptions are disabled on this application."
@@ -158,6 +158,8 @@ en:
coupon_was_successfully_deleted: "Coupon was successfully deleted."
unable_to_delete_the_specified_coupon_already_in_use: "Unable to delete the specified coupon: it is already used with some invoices."
unable_to_delete_the_specified_coupon_an_unexpected_error_occurred: "Unable to delete the specified coupon: an unexpected error occurred."
+ send_a_coupon: "Send a coupon"
+ coupon: "Coupon"
coupons_new:
# ajouter un code promotionnel
diff --git a/config/locales/app.admin.fr.yml b/config/locales/app.admin.fr.yml
index f594466db..70f37d74a 100644
--- a/config/locales/app.admin.fr.yml
+++ b/config/locales/app.admin.fr.yml
@@ -113,7 +113,7 @@ fr:
back_to_monitoring: "Retour au suivi"
pricing:
- # gestion des abonnements, des tarifs et des crédits
+ # gestion des abonnements, des tarifs, des crédits et des codes promo
pricing_management: "Gestion de la tarification"
list_of_the_subscription_plans: "Liste des formules d'abonnements"
beware_the_subscriptions_are_disabled_on_this_application: "Attention, les abonnements sont désactivés sur cette application."
@@ -158,6 +158,8 @@ fr:
coupon_was_successfully_deleted: "Le code promotionnel a bien été supprimé."
unable_to_delete_the_specified_coupon_already_in_use: "Impossible de supprimer le code promotionnel : il est utilisé dans des factures."
unable_to_delete_the_specified_coupon_an_unexpected_error_occurred: "Impossible de supprimer le code promotionnel : une erreur inattendue s'est produite."
+ send_a_coupon: "Envoyer un code promo"
+ coupon: "Code promo"
coupons_new:
# ajouter un code promotionnel