{{#unless @member.paid}}
    <div class="account-data">
        <div class="section-heading account-data-row">
            <span class="left-align">
                {{t "Full Name"}}
            </span>

            <span class="right-align">
                {{@member.name}}
            </span>
        </div>

        <div class="section-heading account-data-row">
            <span class="left-align">
                {{t "Email"}}
            </span>

            <span class="right-align">
                {{@member.email}}
            </span>
        </div>
    </div>
{{/unless}}

{{#foreach @member.subscriptions}}
    <div class="account-data">
        <div class="section-heading account-data-row">
            <span class="left-align">
                {{t "Full Name"}}
            </span>

            <span class="right-align">
                {{@member.name}}
            </span>
        </div>

        <div class="section-heading account-data-row">
            <span class="left-align">
                {{t "Email"}}
            </span>

            <span class="right-align">
                {{@member.email}}
            </span>
        </div>

        {{#if @member.paid}}
            <div class="section-heading account-data-row">
                <span class="left-align">
                    {{t "Current Plan"}}
                </span>

                <span class="right-align">
                    {{price plan}}/{{plan.interval}}
                </span>
            </div>

            <div class="section-heading account-data-row">
                <span class="left-align">
                    {{t "Card"}}
                </span>

                <span class="right-align">
                    **** **** **** {{default_payment_card_last4}}
                </span>
            </div>


            <div class="section-heading account-data-row">
                <span class="left-align">
                    {{#if cancel_at_period_end}}{{t "Expires"}}{{else}}{{t "Billing Date"}}{{/if}}
                </span>

                <span class="right-align">
                    {{date current_period_end}}
                </span>
            </div>
        {{/if}}
    </div>
{{/foreach}}
