{% extends "base.html" %} {% import "_contract_rows.html" as cr %} {% import "_journal.html" as jn %} {% import "_originals.html" as og %} {% block main %}
Clients

{{ name }}

{% if name_th %}{{ name_th }}{% endif %}{% if known_as %}{% if name_th %}·{% endif %}known as “{{ known_as }}”{% endif %}{% if former %} former client{% endif %}

Contracts

{% if contracts %} {{ cr.table(contracts, with_client=false) }} {% else %}

No contracts yet. Add the first.

{% endif %}

Details

{% for it in shown.items %}
{{ it.label }}
{% if it.href %}{{ it.value }}{% else %}{{ it.value }}{% endif %}
{% endfor %}

Journal

All entries
{% if entries %}{{ jn.list(entries, links=true) }}{% else %}

Nothing yet.

{% endif %}
{{ og.card(originals, "/originals/new?client=" ~ id) }} {% endblock %}