{% extends "base.html" %} {% from "_macros.html" import branch_tag with context %} {% block title %}{{ t('Final Settlements') }}{% endblock %} {% block content %}

{{ t('Final Settlements') }}

{% if can_write %}
+ {{ t('New final settlement') }}
{% endif %}
{% for r in rows %}{% set cur = branches[r.branch_id].currency if r.branch_id in branches else none %} {% else %}{% endfor %}
{{ t('Number') }}{{ t('Employee') }}{{ t('Branch') }}{{ t('Last working day') }}{{ t('Reason') }}{{ t('Years') }}{{ t('End of service') }}{{ t('Leave pay') }}{{ t('Net') }}{{ t('Status') }}
{{ r.number }}{{ r.code }} {{ nm(r) }}{{ branch_tag(branches, r.branch_id) }} {{ r.leave_date }}{{ t(reasons[r.reason]) }}{{ '%.2f'|format(r.years) }} {{ r.eosb_due|money(cur) }}{{ r.leave_pay|money(cur) }}{{ r.net|money(cur) }}{% include "hr/_run_badge.html" %}
{{ t('Nothing yet.') }}
{% endblock %}