{% extends "trunks.html" %} {% load staticfiles %} {% block css %} {{ block.super }} {% endblock %} {% block title %} Trunks {% endblock %} {% block page-title %}
  • Trunk {{ provider.name }} Detail
  • {% endblock %} {% block content %}
    {% if custom %} This Month {% else %} {% if last_month %} This Month {% else %} Last Month {% endif %} {% endif %} Custom
    Usage ({{start_date}} - {{end_date}})
    Provider {{provider.name}}
    Trunk Name {{provider.asterisk_name}}
    Trunk Type {{provider.provider_tech}}
    Billing Cycle {{provider.period_end}} of every month
    Payment Type {{provider.payment_type}}

    Average Monthly Cost
    This Month's Usage {{ user_info.currency_symbol }}{{ this_month_total_usage.total_cost | floatformat:"2"}} {{ user_info.currency_code }}
    Average Usage {{ user_info.currency_symbol }}{{average_monthly_cost | floatformat:"2"}} {{ user_info.currency_code }}

    Traffic Segmentation by Cost
    Billing
    {% for b in billingPeriods %} {% endfor %}
    Billing Interval Total Cost Total Calls Total Seconds
    {{ b.date_start }} - {{ b.date_end }} {{ user_info.currency_symbol }}{{ b.total_cost | floatformat:"2"}} {{ user_info.currency_code }} {{ b.total_calls }} {{ b.total_seconds }}
    Download Complete Call Detail Report (CDR)
    {% endblock %} {% block js %} {{ block.super }} {% endblock %}