{% extends "base.html" %} {% block title %}{{ t('Leave') }}{% endblock %} {% block content %}
| {{ t('Number') }} | {{ t('Employee') }} | {{ t('Type') }} | {{ t('From') }} | {{ t('To') }} | {{ t('Days') }} | {{ t('Notes') }} | {{ t('Status') }} | |
|---|---|---|---|---|---|---|---|---|
| {{ l.number }} | {{ l.code }} {{ nm(l) }} | {{ t(kinds[l.kind]) }} | {{ l.date_from }} | {{ l.date_to }} | {{ l.days|round(1) }} | {{ l.notes or '' }} | {{ t(l.state|capitalize) }} | {% if can_write %} {% if l.state == 'draft' %}{{ t('Edit') }} {% endif %} {% if l.state == 'approved' %}{% endif %} {% if l.state in ('draft', 'cancelled') %}{% endif %} {% endif %} |
| {{ t('Nothing yet.') }} | ||||||||