{% extends 'remote_work/remote_work_base.html' %} {% load static %} {% load custom_tags_and_filters %} {% block title %}Previous work{% endblock %} {% block remote_work_title %}Previous work{% endblock %} {% block remote_work_tab_class %}active{% endblock %} {% block extrahead %} {% endblock %} {% block tab_content %}
This page displays remote work done by {{ facility_name }} staff on behalf of users. You can filter by which staff member performed the work, and when, by using the dropdown boxes below.
{% if remote_work_validation %}Each charge can be validated, which means that you have confirmed that the charge is legitimate and correct, and no adjustment needs to be made to it. Press the green 'Validate' button on an individual row to validate a charge. Charges that have already been validated are highlighted in green.
Do not validate a charge if part or all of it is incorrect. Instead, visit the user office so an adjustment can be entered into the billing system. Furthermore, please visit the user office if there is a charge that you forgot to enter.
{% endif %}ID | Staff member | Customer | Project | Start | End | {% if remote_work_validation %}Validate | {% endif %}|
---|---|---|---|---|---|---|---|
{{ c.id }} | {% else %}{{ c.id }} | {% endif %}{{ c.staff_member }} | {{ c.customer }} | {{ c.project }} | {{ c.start }} | {{ c.end|default_if_none:'' }} | {% if remote_work_validation %}{% url 'validate_staff_charge' c.id as validate_staff_charge_url %} {% if c.end and not c.validated %} {% button type="save" submit=False onclick="validate_charge('"|concat:validate_staff_charge_url|concat:"', this, '.staff_charge_row_"|concat:c.id|concat:"')" icon="glyphicon-ok-circle" value="Validate" %} {% endif %} | {% endif %}
Charge note: {{ c.note|linebreaksbr }}
|
|||||||
{{ area_access_record.id }} | {% else %}{{ area_access_record.id }} | {% endif %}{{ area_access_record.area.name }} access | {{ area_access_record.start }} | {{ area_access_record.end|default_if_none:'' }} | |||
{% if start_date or end_date %} No staff charges exist {% if start_date and end_date %} between {{ start_date }} and {{ end_date }} {% elif start_date %} after {{ start_date }} {% else %} before {{ end_date }} {% endif %} . {% endif %} |
ID | Operator | User | Project | Start | End | Tool | {% if remote_work_validation %}Validate | {% endif %}|
---|---|---|---|---|---|---|---|---|
{{ u.id }} | {% else %}{{ u.id }} | {% endif %}{{ u.operator }} | {{ u.user }} | {{ u.project }} | {{ u.start }} | {{ u.end|default_if_none:'' }} | {{ u.tool }} | {% if remote_work_validation %}{% url 'validate_usage_event' u.id as validate_usage_url %} {% if u.end and not u.validated %} {% button type="save" submit=False onclick="validate_charge('"|concat:validate_usage_url|concat:"', this, '#usage_event_row_"|concat:forloop.counter|concat:"')" icon="glyphicon-ok-circle" value="Validate" %} {% endif %} | {% endif %}
{% if start_date or end_date %} No tool usage exist {% if start_date and end_date %} between {{ start_date }} and {{ end_date }} {% elif start_date %} after {{ start_date }} {% else %} before {{ end_date }} {% endif %} . {% endif %} |