{% extends 'base.html' %} {% load format_tags %} {% block title %}{{ worker.name }} | Workers | FoxFitt{% endblock %} {% block content %}
{{ worker.id_number }} {% if worker.phone_number %} | {{ worker.phone_number }}{% endif %}
| Type | Issued | Valid Until | Status | Document | Notes |
|---|---|---|---|---|---|
| {{ c.get_cert_type_display }} | {{ c.issued_date|date:"d M Y"|default:'—' }} | {{ c.valid_until|date:"d M Y"|default:'—' }} | {% if c.is_expired %} Expired {% elif c.expires_soon %} Expires soon {% else %} Valid {% endif %} | {% if c.document %}View{% else %}—{% endif %} | {{ c.notes|default:'—'|truncatechars:80 }} |
No certifications recorded. Add one.
{% endif %}| Date | Severity | Reason | Issued By | Document |
|---|---|---|---|---|
| {{ wr.date|date:"d M Y" }} | {% if wr.severity == 'verbal' %} Verbal {% elif wr.severity == 'written' %} Written {% else %} Final {% endif %} | {{ wr.reason }} | {{ wr.issued_by.username|default:'—' }} | {% if wr.document %}View{% else %}—{% endif %} |
| {{ wr.description|linebreaksbr }} | ||||
No warnings recorded.
{% endif %}Projects
{% if projects_worked %} {% for p in projects_worked %} {{ p.name }} {% endfor %} {% else %}None
{% endif %}Teams
{% if worker.teams.all %} {% for t in worker.teams.all %} {{ t.name }} {% endfor %} {% else %}None
{% endif %}| Type | Date | Principal | Remaining | Reason |
|---|---|---|---|---|
| {{ l.get_loan_type_display }} | {{ l.date|date:"d M Y" }} | R {{ l.principal_amount|money }} | R {{ l.remaining_balance|money }} | {{ l.reason|truncatechars:60 }} |
| Date | Amount Paid | Action |
|---|---|---|
| {{ p.date|date:"d M Y" }} | R {{ p.amount_paid|money }} | View payslip |
No payslips yet.
{% endif %}