{% extends "base.html" %} {% block main %} {% include "_person_head.html" %}
{% include "_deadlines.html" %}

Personal details

Edit
Surname
{{ p.surname }}
Given names
{{ p.given }}
{% if p.title %}
Title
{{ p.title }}
{% endif %}
Sex
{% if p.sex %}{{ p.sex }}{% else %}not recorded{% endif %}
Date of birth
{% if p.dob %}{{ p.dob }} ({{ p.age }} years){% else %}not recorded{% endif %}
Place of birth
{% if p.place_of_birth %}{{ p.place_of_birth }}{% else %}not recorded{% endif %}
Nationality
{% if p.nationality %}{{ p.nationality_name }} {{ p.nationality }}{% else %}not recorded{% endif %}
Occupation
{% if p.occupation %}{{ p.occupation }}{% else %}not recorded{% endif %}
Employer
{% if p.employer %}{{ p.employer }}{% else %}not recorded{% endif %}
Phone
{% if p.phone %}{{ p.phone }}{% else %}not recorded{% endif %}
Email
{% if p.email %}{{ p.email }}{% else %}not recorded{% endif %}
{% if p.notes %}
Notes
{{ p.notes }}
{% endif %}

Passport

+ New passport
{% for pp in passports %}
{{ pp.number }} {{ pp.country_name }} {% if pp.current %}current{% else %}previous{% endif %}
Issued
{% if pp.issued_on %}{{ pp.issued_on }}{% else %}date not recorded{% endif %}{% if pp.issued_at %}, {{ pp.issued_at }}{% endif %}
Valid until
{{ pp.expires_on }}{% if pp.status %} {{ pp.status.label }}{% endif %}
Zone
{% if pp.has_mrz %}read, check digits matched{% else %}typed in by hand{% endif %}
Edit{% for d in docs["passports:" ~ pp.id] %}{{ d.label }}{% endfor %}+ Document
{% else %}

No passport recorded yet. Add it with + New passport; the two lines at the bottom of the photo page fill the form in.

{% endfor %}

Address in Thailand

+ New address
{% for a in addresses %}
{% if a.current %}current{% else %}earlier{% endif %} {% if a.moved_in_on %}since {{ a.moved_in_on }}{% endif %}{% if a.moved_out_on %} until {{ a.moved_out_on }}{% endif %}

{{ a.line }}

House master
{% if a.house_master %}{{ a.house_master }}{% if a.house_master_phone %}, {{ a.house_master_phone }}{% endif %}{% else %}not recorded{% endif %}
TM.30
{% if a.tm30_reported_on %}reported {{ a.tm30_reported_on }}{% if a.tm30_receipt_no %}, receipt {{ a.tm30_receipt_no }}{% endif %}{% else %}no receipt recorded{% endif %} {% if a.tm30 %}
{{ a.tm30.label }}
{% endif %}
Edit{% for d in docs["addresses:" ~ a.id] %}{{ d.label }}{% endfor %}+ Document
{% else %}

No address recorded yet. The TM.30 receipt of the current address goes with it.

{% endfor %}

Recent activity

All of it
{% endblock %}