{% extends "pos/base.html" %} {% load static humanize %} {% block title %}Finalized Salary Runs{% endblock %} {% block content %}

Finalized Salary Runs

{% for key, label in optional_columns %}
{% endfor %}
{{ record_count }} staff in this period Grand Due Total: {{ totals.grand_due|floatformat:2 }}
{% for key, label in optional_columns %} {% if key in visible_cols %} {% endif %} {% endfor %} {% for r in rows %} {% if 'attendance' in visible_cols %}{% endif %} {% if 'commission' in visible_cols %}{% endif %} {% if 'overtime' in visible_cols %}{% endif %} {% if 'bonus' in visible_cols %}{% endif %} {% if 'deduction' in visible_cols %}{% endif %} {% empty %} {% endfor %} {% if 'attendance' in visible_cols %}{% endif %} {% if 'commission' in visible_cols %}{% endif %} {% if 'overtime' in visible_cols %}{% endif %} {% if 'bonus' in visible_cols %}{% endif %} {% if 'deduction' in visible_cols %}{% endif %}
# Staff Prev Balance{{ label }}Current Salary Other Adj. Paid Amount Grand / Due
{{ forloop.counter }} {{ r.staff.name }} {{ r.previous_balance|floatformat:2 }}{{ r.attendance|floatformat:2 }}{{ r.commission|floatformat:2 }}{{ r.overtime|floatformat:2 }}{{ r.bonus|floatformat:2 }}{{ r.deduction|floatformat:2 }}{{ r.current_salary|floatformat:2 }} {{ r.other_adjustments|floatformat:2 }} {{ r.paid_amount|floatformat:2 }} {{ r.grand_due|floatformat:2 }}
No runs finalized.
Grand Totals: {{ totals.previous_balance|floatformat:2 }}{{ totals.attendance|floatformat:2 }}{{ totals.commission|floatformat:2 }}{{ totals.overtime|floatformat:2 }}{{ totals.bonus|floatformat:2 }}{{ totals.deduction|floatformat:2 }}{{ totals.current_salary|floatformat:2 }} {{ totals.other_adjustments|floatformat:2 }} {{ totals.paid_amount|floatformat:2 }} {{ totals.grand_due|floatformat:2 }}
{% endblock %}