{% extends "console/base.html" %} {% block title %}用量与账单{% endblock %} {% block heading %}用量与账单{% endblock %} {% block content %}
{{ points }}
点数余额
{{ total }} 元
累计消费(台账合计)

当前订阅

{% if subscription %}
套餐{{ subscription.plan.name }}
周期{{ subscription.period_start }} — {{ subscription.period_end }}
周期费用{{ subscription.plan.monthly_fee }} 元 / {{ subscription.plan.duration_days }} 天
含点数{{ subscription.plan.included_points }}
{% else %}
尚无生效订阅。
{% endif %}

用量台账({{ page.paginator.count }} 条)

{% if page.object_list %} {% for row in page.object_list %} {% endfor %}
时间计量单位用量单价金额关联任务
{{ row.created_at|date:"Y-m-d H:i" }} {{ row.meter_key }} {{ row.units }} {{ row.price_per_unit }} {{ row.amount }} {% if row.job %} {{ row.job.name }} {% else %}—{% endif %}
{% if page.has_other_pages %}
{% if page.has_previous %}上一页{% endif %} 第 {{ page.number }} / {{ page.paginator.num_pages }} 页 {% if page.has_next %}下一页{% endif %}
{% endif %} {% else %}
还没有用量记录。
{% endif %}
{% endblock %}