{% extends "trunks.html"%} {% load staticfiles %} {% block css %} {{ block.super }} {% endblock %} {% block title %} Trunks {% endblock %} {% block page-title %}
  • General
  • {% endblock %} {% block content %}
    {% if custom %} This Month {% else %} {% if last_month %} This Month {% else %} Last Month {% endif %} {% endif %} Custom
    Usage ({{start_date | date:"d/M"}} - {{end_date | date:"d/M"}})
    {% for prov in providers %} {% endfor %}
    Provider Bundles Cost Calls Cost Monthly Cost Total Cost
    {{prov.provider.name}} {{ user_info.currency_symbol }}{{ prov.this_month_total_usage.total_bundle_cost | floatformat:"2" }} {{ user_info.currency_code }} {{ user_info.currency_symbol }}{{ prov.this_month_total_usage.total_call_cost | floatformat:"2" }} {{ user_info.currency_code }} {{ user_info.currency_symbol }}{{ prov.this_month_total_usage.monthly_cost | floatformat:"2" }} {{ user_info.currency_code }} {{ user_info.currency_symbol }}{{ prov.this_month_total_usage.total_cost | floatformat:"2" }} {{ user_info.currency_code }}
    Gross consumption as of today {{ user_info.currency_symbol }}{{ total_trunks_month_usage | floatformat:"2"}} {{ user_info.currency_code }}
    This month's destinations
    {% for prov in providers %}
    Provider {{prov.provider.name}}
    Trunk Name {{prov.provider.asterisk_name}}
    Trunk Type {{prov.provider.provider_tech}}
    Billing Interval {{prov.provider.period_end}} of every month
    Payment Type {{prov.provider.payment_type}}
    Average Monthly Cost
    This Month's Usage {{ user_info.currency_symbol }}{{ prov.this_month_total_usage.total_cost | floatformat:"2"}} {{ user_info.currency_code }}
    Average Usage {{ user_info.currency_symbol }}{{prov.average_cost | floatformat:"2"}} {{ user_info.currency_code }}
    Rates and Bundles Trunk Analysis
    Monthly behavior of {{prov.provider.name}}
    {% endfor %} {% endblock %} {% block js %} {{ block.super }} {% endblock %}