{% extends "cms/admin_home.html" %} {% load crispy_forms_tags sekizai_tags i18n danceschool_tags %} {% block content %}

{% trans "Update Staff Compensation Rules" %}

{% blocktrans %}You have selected the following staff members for whom to update compensation information. Current compensation rules for these individuals are also listed for reference.{% endblocktrans %}

{% for member in staffmembers %}
{{ member.fullName }}
{% for rule in member.expenserules.all %}
{% blocktrans with rate=rule.rentalRate|floatformat:"2" rateRule=rateRuleValues|get_item:rule.applyRateRule category=rule.category|default:"All Other Categories" %} {{ currencySymbol }}{{ rate }} {{ rateRule }} for {{ category }} {% endblocktrans %}
{% endfor %} {% endfor %}

{% blocktrans %} Please select the category and rate information to be applied to all staff members listed. If you do not specify a category, then this compensation rule will be a "catch-all" that is applied to all work that is not otherwise covered by another compensation rule. {% endblocktrans %}

{% csrf_token %} {{ form|crispy }}
{% addtoblock "js" %} {{ form.media }} {% endaddtoblock %} {% endblock %}