From e69ac929677e3943f13a60c6cedc327c02ac121f Mon Sep 17 00:00:00 2001 From: Rishabh Date: Thu, 21 Oct 2021 00:30:22 +0530 Subject: [PATCH] Added offer details in member detail subscription box refs https://github.com/TryGhost/Team/issues/1087 - associates a member with their offer redemptions by highlighting offer used for their subscription --- .../admin/app/components/gh-member-settings-form.hbs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ghost/admin/app/components/gh-member-settings-form.hbs b/ghost/admin/app/components/gh-member-settings-form.hbs index 93188aee44..a61743249b 100644 --- a/ghost/admin/app/components/gh-member-settings-form.hbs +++ b/ghost/admin/app/components/gh-member-settings-form.hbs @@ -173,6 +173,17 @@ {{#if sub.cancellationReason}}
Cancellation reason: {{sub.cancellationReason}}
{{/if}} + {{#if sub.offer}} +
+ {{sub.offer.name}} + offer + {{#if (eq sub.offer.type 'fixed')}} + ({{currency-symbol sub.offer.currency}}{{gh-price-amount sub.offer.amount}} off) + {{else}} + ({{sub.offer.amount}}% off) + {{/if}} + applied to subscription
+ {{/if}}
Created on {{sub.startDate}}