{% extends "base.html" %} {% import "_tabs.html" as tabs with context %} {% import "_tokens.html" as tkm %} {% block title %}{{ e.name }} ยท cost{% endblock %} {% block crumbs %}/ {{ e.name }} / cost{% endblock %} {% block main %} {{ tabs.top(e, card, "cost", work) }}

{{ card.spend_total|money or "$0" }} total, {{ card.spend_today|money or "$0" }} today.

{% if tk and tk.spend %}{{ tkm.spend(tk.spend) }}{% endif %}

Tokens

{% if tk %} {% if tk.steps %}
{{ tkm.quota(tk.quota) }} {{ tkm.summary(tk.figures, tk.steps) }} {{ tkm.chart(tk.days, "Context read per day") }} {{ tkm.chart(tk.days_out, "Output per day") }}

By task

{{ tkm.table(tk.packets, "Task", "/p/" ~ (e.name|urlencode), tk.sess_by_task if tk.spend else none) }} {% endif %} {% if tk.sessions %}

Your sessions

{{ tkm.sessions(tk.sessions, "/p/" ~ (e.name|urlencode)) }}{% endif %} {% if tk.by_item %}

By plan item

{{ tkm.table(tk.by_item, "Item") }}

From the memento's item; a failed attempt counts toward its step's item.

{% endif %} {% if tk.tools %}

Where the context went

{{ tkm.tools(tk.tools) }}{% endif %} {% else %}

No token counts yet.

{% endif %} {% endblock %}