{% load seizou_tags seizou_icons %} {# 流れの枠 (受注と発注の詳細が、各 app の流れの tag で出来事を読んでから include する)。左に点と縦の線、右に日時と明細の番号と出来事の字を、古い順に並べる。点は出来事の種類の絵記号 (各 app の流れの module の KIND_ICONS)、詳細の画面のある出来事の字はいつも下線の link (N163)。 #} {# include するときに flow_id (枠の id) を渡す。events は出来事の並び。出来事の字は、その記録の詳細の画面への link (小窓にしない)。金額は seizou.hide_money のとき出さない。 #}

流れ

{% if events %}
    {% for e in events %}
  1. {% if e.when is None %}—{% elif e.has_time %}{{ e.when|date:"Y-m-d H:i" }}{% else %}{{ e.when|date:"Y-m-d" }}{% endif %}{% if e.line_no %}明細 {{ e.line_no }}{% endif %}

    {% if e.url %}{{ e.title }}{% else %}{{ e.title }}{% endif %}{% if e.amount is not None and not seizou.hide_money %} ({{ e.amount|yen }}){% endif %}

    {% if e.who or e.via %}

    {{ e.who }}{% if e.who and e.via %} · {% endif %}{{ e.via }}

    {% endif %}
  2. {% endfor %}
{% else %}

まだ動きがありません。

{% endif %}