Basic info

{{#gh-form-group errors=member.errors hasValidated=member.hasValidated property="name"}} {{gh-text-input id="member-name" name="name" value=(readonly scratchName) tabindex="1" input=(action (mut scratchName) value="target.value") focus-out=(action 'setProperty' 'name' scratchName)}} {{gh-error-message errors=member.errors property="name"}} {{/gh-form-group}} {{#gh-form-group errors=member.errors hasValidated=member.hasValidated property="email"}} {{gh-text-input disabled=true value=(readonly scratchEmail) id="member-email" name="email" tabindex="2" focus-out=(action 'setProperty' 'email' scratchEmail) input=(action (mut scratchEmail) value="target.value")}} {{/gh-form-group}}
{{#gh-form-group errors=member.errors hasValidated=member.hasValidated property="note"}} {{gh-textarea id="member-note" name="note" class="gh-member-details-textarea" tabindex="3" value=(readonly scratchNote) input=(action (mut scratchNote) value="target.value") focus-out=(action 'setProperty' 'note' scratchNote) }} {{gh-error-message errors=member.errors property="note"}}

Maximum: 500 characters. You’ve used {{gh-count-down-characters scratchNote 500}}

{{/gh-form-group}}

Stripe info

{{#if isLoading}}
{{else}} {{#if subscriptions}}
{{#if hasMultipleSubscriptions}}
{{svg-jar "info" class="gh-member-info-icon mr2 fill-darkgrey"}} Member has multiple Stripe subscriptions
{{/if}} {{#each subscriptions as |subscription|}}

Customer data

Stripe customer ID {{subscription.customer.id}}
Name {{#if subscription.customer.name}} {{subscription.customer.name}} {{else}} No name {{/if}}
Email {{#if subscription.customer.email}} {{subscription.customer.email}} {{else}} No email {{/if}}
Customer since {{#if subscription.startDate}} {{subscription.startDate}} {{else}} No data {{/if}}

Subscription data

Plan {{subscription.plan.nickname}}
Current status {{subscription.status}}
Next renewal date {{subscription.validUntil}}
{{/each}}
{{else}}

Member doesn't have Stripe subscription

{{/if}} {{/if}}