{% extends 'base.html' %} {% from "macros.html" import render_selectable_table, render_pagination %} {% block title %}Active License Usage{% endblock %} {% block content_title %}Active License Usage{% endblock %} {% block content_description %}Overview of the current license period usage{% endblock %} {% block content %} {% if active_period and active_period.license_usage %}
License ID: {{ active_period.license.id }}
License Name: {{ active_period.license.name }}
Period Nr: {{ active_period.period_number }}
Start Date: {{ active_period.period_start }}
End Date: {{ active_period.period_end }}
Status: {{ active_period.status.value }}
Max Storage: {{ active_period.max_storage_mb }} MB
Included Embedding: {{ active_period.included_embedding_mb }} MB
Included Interaction Tokens: {{ active_period.included_interaction_tokens }}
Overage Storage Allowed: {{ active_period.additional_storage_allowed }}
Overage Embedding Allowed: {{ active_period.additional_embedding_allowed }}
Overage Interaction Allowed: {{ active_period.additional_interaction_allowed }}
{{ usage_data.storage_used_rounded or 0.0 }} / {{ active_period.max_storage_mb or 0 }} MB
{{ usage_data.embedding_used_rounded or 0.0 }} / {{ active_period.included_embedding_mb or 0 }} MB
{{ usage_data.interaction_used_rounded or 0.0 }} / {{ active_period.included_interaction_tokens or 0 }} M tokens