{% extends "base.html" %} {% load staticfiles %} {% block content %}
{% if user.user_profile and user.user_profile.role > 0 %}

Rozliczenia

Pełny raport rozliczonych próbek: Obejrzyj

{% if user.user_profile.isReferee_or_Accountant %}

Próbki do bieżącego rozliczenia: Rozlicz

{% endif %} {% endif %}

Statystyki próbek

wszystkie przydzielone (1 anot.) przydzielone (2 anot.) nieprzydzielone zakończone
{{ exc_stats.all }} {{ exc_stats.partial }} {{ exc_stats.two_annot }} {{ exc_stats.none }} {{ exc_stats.done }}

Statystyki pracy anotatorów

{% if work_stats %} {% for ws in work_stats %} {% if ws.user == user or user.user_profile and user.user_profile.role > 0 %} {% endif %} {% endfor %} {% if user.user_profile and user.user_profile.role > 0 %} {% endif %}
użytkownik przydzielone oczekujące po konflikcie oczekujące ponownie w superanotacji skończone zapłacone do zapłaty
{{ ws.user.first_name }} {{ ws.user.last_name }} ({{ ws.user.username }}) {{ ws.status1 }} {{ ws.status2 }} {{ ws.status3 }} {{ ws.status4 }} {{ ws.status5 }} {{ ws.status6|add:ws.status7 }} {{ ws.payed }} {{ ws.not_payed }}
Suma (w całej bazie): {{ work_sum.s1 }} {{ work_sum.s2 }} {{ work_sum.s3 }} {{ work_sum.s4 }} {{ work_sum.s5 }} {{ work_sum.s6|add:work_sum.s7 }}{{ work_sum.p }} {{ work_sum.np }}
{% else %}

Żaden z anotatorów nie przystąpił jeszcze do pracy

{% endif %} {% if user.user_profile and user.user_profile.role > 0%}

Statystyki pracy superanotatorów

{% if ref_stats %} {% for ref in ref_stats %} {% endfor %}
użytkownik przydzielone rozstrzygnięte zapłacone do zapłaty
{{ ref.user.first_name }} {{ ref.user.last_name }} ({{ ref.user.username }}) {{ ref.assigned }} {{ ref.done }} {{ ref.payed }} {{ ref.not_payed }}
Suma: {{ ref_sum.a }} {{ ref_sum.d }} {{ ref_sum.p }} {{ ref_sum.np }}
{% else %}

Żaden z superanotatorów nie przystąpił jeszcze do pracy

{% endif %} {% endif %}
{% endblock %}