{% extends "users.html"%} {% load staticfiles %} {% block css %} {{ block.super }} {% endblock %} {% block title %} User Detail {% endblock %} {% block page-title %}
  • {{extension.name}} Detail
  • {% endblock %} {% block content %}
    {% if custom %} This Month {% else %} {% if last_month %} This Month {% else %} Last Month {% endif %} {% endif %} Custom Current period: {{ start_date | date:"d/M/Y" }} - {{ end_date | date:"d/M/Y" }} Average cost for this extension is {{ user_info.currency_symbol }}{{average | floatformat:"2"}} {{ user_info.currency_code }}
    {% if last_month %} Usage analysis {% else %} Usage analysis {% endif %}
    User {{extension.name}}({{extension.extension_number}}) Detail
    Extension {{extension.extension_number}}
    Name {{extension.name}}
    {% if destinations %} {% for d in destinations %} {% endfor %}
    Country Destination Cost {{ user_info.currency_code }}
    {{d.destination_country.name}} {{d.destname}} {{ user_info.currency_symbol }}{{d.cost | floatformat:"2"}}
    {% else %}
    There are no registered calls in this time period.
    {% endif %}
    {{extension.name}}'s daily cost
    {% if all_calls %}
    {% for call in all_calls%} {% endfor %}
    Date Time Provider Destination Seconds Cost {{ user_info.currency_code }} Dialed Number
    {{call.dat}} {{call.time}} {{call.provider_name}} {{call.name}} {{call.duration}} {{ user_info.currency_symbol }}{{call.cost | floatformat:"2"}} {{call.dialed_number}}
    {% else %}
    There are no registered calls up to this moment
    {% endif %} {% endblock %} {% block js %} {{ block.super }} {% endblock %}