{#- Originals as table rows: the list's and the owner cards'. -#} {% macro table(rows, with_owner=true, id="original-list") -%}
{% if with_owner %}{% endif %} {%- for r in rows %} {%- if with_owner %} {%- endif %} {%- endfor %}
CodeOriginalWhoseWhere it is
{{ r.code }} {{ r.what }}{% if r.kind_note or r.contract_code %}
{{ r.kind_note }}{% if r.kind_note and r.contract_code %} ยท {% endif %}{{ r.contract_code or "" }}
{% endif %}
{{ r.owner }}{{ r.state_label }} {{ r.place }}{% if r.chip %} {{ r.chip[1] }}{% endif %}
since {{ r.since }}
{%- endmacro %} {#- The card on a client's or a person's page. -#} {% macro card(rows, new_href) -%}

Originals in our care

+ Take one in
{%- if rows %} {{ table(rows, with_owner=false, id="owner-originals") }} {%- else %}

Nothing of theirs is with us. A passport for an extension, a signed contract or a title deed gets a code and a label when it comes in, and its record says where it is until it goes back.

{%- endif %}
{%- endmacro %}