{{#if (eq @filterColumn 'label')}} {{this.labels}} {{else if (eq @filterColumn 'product')}} {{this.products}} {{else if (eq @filterColumn 'status')}} {{#if (not (is-empty @member.status))}} {{capitalize @member.status}} {{else}} - {{/if}} {{else if (eq @filterColumn 'last_seen_at')}} {{#if (not (is-empty @member.lastSeenAtUTC))}} {{moment-format (moment-site-tz @member.lastSeenAtUTC) "D MMM YYYY"}}
{{moment-from-now @member.lastSeenAtUTC}}
{{else}} - {{/if}}
{{else if (eq @filterColumn 'email_count')}} {{#if (not (is-empty @member.emailCount))}} {{@member.emailCount}} {{else}} - {{/if}} {{else if (eq @filterColumn 'email_opened_count')}} {{#if (not (is-empty @member.emailOpenedCount))}} {{@member.emailOpenedCount}} {{else}} - {{/if}} {{else if (eq @filterColumn 'subscribed')}} {{#if (not (is-empty @member.subscribed))}} {{if @member.subscribed "Yes" "No"}} {{else}} - {{/if}} {{else if (eq @filterColumn 'subscriptions.status')}} {{#if (not (is-empty this.mostRecentSubscription.status))}} {{capitalize this.mostRecentSubscription.status}} {{else}} - {{/if}} {{else if (eq @filterColumn 'subscriptions.plan_interval')}} {{#if (not (is-empty this.mostRecentSubscription.price.interval))}} {{capitalize this.mostRecentSubscription.price.interval}} {{else}} - {{/if}} {{else if (eq @filterColumn 'subscriptions.start_date')}} {{#if (not (is-empty this.mostRecentSubscription.start_date))}} {{moment-format (moment-site-tz this.mostRecentSubscription.start_date) "D MMM YYYY"}}
{{moment-from-now this.mostRecentSubscription.start_date}}
{{else}} - {{/if}}
{{else if (eq @filterColumn 'subscriptions.current_period_end')}} {{#if (not (is-empty this.mostRecentSubscription.current_period_end))}} {{moment-format (moment-site-tz this.mostRecentSubscription.current_period_end) "D MMM YYYY"}}
{{moment-from-now this.mostRecentSubscription.current_period_end}}
{{else}} - {{/if}}
{{/if}}