{% extends "console/base.html" %}
{% block title %}用量与账单{% endblock %}
{% block heading %}用量与账单{% endblock %}
{% block content %}
当前订阅
{% 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 %}
| {{ 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 %}
|
{% endfor %}
{% if page.has_other_pages %}
{% endif %}
{% else %}
还没有用量记录。
{% endif %}
{% endblock %}