{% load i18n %} {% load basefilters %} {% load horillafilters %}

{% trans "Bonus Points" %}

{% if perms.employee.add_bonuspoint or request.user|check_manager:employee %}
{% endif %}
{{employee}} {{employee.get_department}} / {{employee.get_job_position}}

{% trans "Balance points to redeem:" %}

{{points.points}}

{% trans "Redeem Now" %}
{% for activity in activity_list %}
{% if activity.type == 'Bonus point created' %} --> {% trans "Bonus Account created" %} {{ activity.date|date:"d N. Y"}} {% elif activity.type == "requested" %} --> {% trans "Redeem request created for" %} {{activity.points}} {% trans "points" %} {{ activity.date|date:"d N. Y"}} {% else %} {% if activity.reason == 'bonus points has been redeemed.' %} --> {{activity.points|abs_value}} {% else %}--> {{activity.user}} {% trans "Added " %} {{activity.points}} {% trans "bonus points for " %}{% endif %} {{activity.reason|truncatechars:40}} {{ activity.date|date:"d N. Y"}} {% endif %}
{% endfor %}