{% load static epoch_to_date cents_to_usd humanize %}

Subscription

{% if not object %}
{% else %}

This information not hosted on CRM side and provided via Stripe API

{{ object.status}}

Possible values are incomplete, incomplete_expired, trialing, active, past_due, canceled, or unpaid

${{ object.plan.amount|cents_to_usd }} / {{ object.items.data.0.price.recurring.interval }}
{{ object.latest_invoice }}
{{ object.plan.interval_count }}
{% with object.created|epoch_to_date as dt %}
{{ dt }}

{{ dt|naturaltime }}

{% endwith %}
{% with object.trial_start|epoch_to_date as dt %}
{{ dt }}

{{ dt|naturaltime }}

{% endwith %}
{% with object.trial_end|epoch_to_date as dt %}
{{ dt }}

{{ dt|naturaltime }}

{% endwith %}
{% with object.current_period_start|epoch_to_date as dt %}
{{ dt }}

{{ dt|naturaltime }}

{% endwith %}
{% with object.current_period_end|epoch_to_date as dt %}
{{ dt }}

{{ dt|naturaltime }}

{% endwith %}
{% endif %}