{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_content %}
{% trans "User" %} | {% trans "Server" %} | {% trans "VCPUs" %} | {% trans "RAM" %} | {% trans "HDD" %} | {% trans "Fee" %} | {% trans "Subscription" %} | {% trans "PpM" %} | {% trans "PpY" %} | {% trans "Status" %} | {% trans "Start" %} | {% trans "End" %} | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ i.transaction.user|truncatechars:16 }} {% if i.transaction.user.userprofile.company %}{% endif %} | {{ i.name }} | {% with resources=i.vm.get_cpu_ram_disk %}{{ resources.0 }} x | {{ resources.1 }} MB | {{ resources.2|mb_to_gb }} GB | {% endwith %}{{ i.amount|floatformat:2 }} {{ i.transaction.get_currency_display }} | {{ i.period.length_nice }} | {{ i.ppm|floatformat:2 }} {{ i.transaction.get_currency_display }} | {{ i.ppy|floatformat:2 }} {{ i.transaction.get_currency_display }} | {{ i.get_status_display }} | {{ i.date_begin|date:"SHORT_DATETIME_FORMAT" }} | {{ i.date_next_period|date:"SHORT_DATETIME_FORMAT" }} | ||
{% trans "No items available" %} |
|||||||||||||
Total | {{ totals.vcpu }} | {{ totals.ram|multiply:1048576|filesizeformat }} | {{ totals.hdd|multiply:1048576|filesizeformat }} | {{ totals.amount.amount__sum|floatformat:2 }} | {{ totals.subscription.period__length__sum }} | {{ totals.ppm|floatformat:2 }} | {{ totals.ppy|floatformat:2 }} |