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

{{ t('Payroll') }}

{% if can_write %}
{{ t('Salaries come from the employee records; you can add overtime, additions and deductions before posting.') }}
{% 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('Month') }}{{ t('Branch') }}{{ t('Employees') }}{{ t('Gross') }}{{ t('Net pay') }}{{ t('Status') }}
{{ r.number }}{{ r.period }}{{ branch_tag(branches, r.branch_id) }} {{ r.n }}{{ r.gross|money(cur) }}{{ r.net|money(cur) }}{% include "hr/_run_badge.html" %}
{{ t('Nothing yet.') }}
{% endblock %}