{% load seizou_tags seizou_charts seizou_icons %} {# 一覧の集計 (GET view=summary。core/summary.py)。htmx の応答ではここだけを返し、道具の帯の件数と CSV と「絞りを外す」を oob で差し替える (core/_rows.html と同じ)。 #} {# 左に表 (軸・量・割合と合計の行)、右に横棒の図 (図の色と形は core/_summary_chart.html の 1 か所)。 #} {% if summary.rows %}
{% for row in summary.rows %} {% endfor %}
{{ summary.axis.label }} {{ summary.measure.label }} 割合
{{ row.label }} {{ row.value|yen_if:summary.measure.money }} {% if row.share is None %}—{% else %}{{ row.share }}%{% endif %}
合計 {{ summary.total|yen_if:summary.measure.money }} {% if summary.total > 0 %}100.0%{% else %}—{% endif %}
{% summary_chart summary %}
{% else %}
{% icon "search" "size-6" %}

{% if search_q or filter_active %}絞りの条件に合う物はありません。{% else %}まだ 1 件もありません。{% endif %}

{% endif %}

表に戻る

{% if partial %}{% include "core/_list_meta.html" with oob=True %}{% if filters %}{% include "core/_filter_clear.html" with oob=True %}{% endif %}{% endif %}