{% extends "base.html" %}
{% from "_macros.html" import doc_export with context %}
{% block title %}{{ s.number }}{% endblock %}
{% block content %}
{% set r = s %}
- {{ t('Joining date') }}
- {{ s.join_date }}
- {{ t('Last working day') }}
- {{ s.leave_date }}
- {{ t('Service') }}
- {{ '%.2f'|format(s.years) }} {{ t('years') }}
- {{ t('Wage used') }}
- {{ s.wage|money(cur) }} {{ cur }}
| {{ t('End-of-service benefit (full)') }} | {{ s.eosb_full|money(cur) }} |
| {{ t('End-of-service benefit due') }}{% if s.eosb_due != s.eosb_full %} ({{ t(reasons[s.reason]) }}){% endif %} | {{ s.eosb_due|money(cur) }} |
| {{ t('Unused leave') }} ({{ '%.1f'|format(s.leave_days) }} {{ t('days') }}) | {{ s.leave_pay|money(cur) }} |
{% if s.additions %}| {{ t('Other additions') }} | {{ s.additions|money(cur) }} |
{% endif %}
{% if s.deductions %}| {{ t('Other deductions') }} | −{{ s.deductions|money(cur) }} |
{% endif %}
{% if s.loan_balance %}| {{ t('Loan balance recovered') }} | −{{ s.loan_balance|money(cur) }} |
{% endif %}
| {{ t('Net payable to the employee') }} | {{ s.net|money(cur) }} {{ cur }} |
{% if s.state == 'draft' %}
{{ t('The entry when posted') }}
| {{ t('Dr End of Service Provision') }} | {{ e.eosb_booked|money(cur) }} | {{ t('provision built up so far') }} |
| {{ t('Dr / Cr End of Service Benefits') }} | {{ (s.eosb_due - e.eosb_booked)|money(cur) }} | {{ t('difference to the amount due (negative = release)') }} |
| {{ t('Dr Vacation Pay Provision') }} | {{ e.leave_booked|money(cur) }} | |
| {{ t('Dr / Cr Vacation Pay') }} | {{ (s.leave_pay - e.leave_booked)|money(cur) }} | |
| {{ t('Cr Employee Loans & Advances') }} | {{ s.loan_balance|money(cur) }} | |
| {{ t('Cr Salaries Payable') }} | {{ s.net|money(cur) }} | {{ t('net payable') }} |
{% endif %}
{% if s.state == 'posted' and can_write %}