@@ -57,10 +60,26 @@
{% endblock %}
{% block js %}
{{ block.super }}
+
+
{% endblock %}
\ No newline at end of file
diff --git a/yuyu/project/usage_cost/templates/usage_cost/cost_tables.html b/yuyu/project/usage_cost/templates/usage_cost/cost_tables.html
index 1dd362d..8fb059b 100644
--- a/yuyu/project/usage_cost/templates/usage_cost/cost_tables.html
+++ b/yuyu/project/usage_cost/templates/usage_cost/cost_tables.html
@@ -2,48 +2,53 @@
{% block title %}{{ page_title }}{% endblock %}
{% block main %}
{% if invoice %}
-
+
+
+ - Invoice Month
+ -
+
+
+ - Invoice State
+ - {{ invoice.state_text }}
+ - Subtotal
+ - {{ invoice.subtotal_money }}
+ {% if invoice.state != 1 %}
+ - Tax
+ - {{ invoice.tax_money }}
+ - Total
+ - {{ invoice.total_money }}
+ {% endif %}
+
+
-
- {{ instance_cost_table.render }}
-
+
+ {{ instance_cost_table.render }}
+
-
- {{ volume_cost_table.render }}
-
-
- {{ floating_ip_cost_table.render }}
-
-
- {{ router_cost_table.render }}
-
-
- {{ snapshot_cost_table.render }}
-
-
- {{ image_cost_table.render }}
+
+ {{ volume_cost_table.render }}
+
+
+ {{ floating_ip_cost_table.render }}
+
+
+ {{ router_cost_table.render }}
+
+
+ {{ snapshot_cost_table.render }}
+
+
+ {{ image_cost_table.render }}
+
{% else %}
Billing not enabled or you don't have any usage yet
@@ -51,10 +56,26 @@
{% endblock %}
{% block js %}
{{ block.super }}
+
+
-{% endblock %}
\ No newline at end of file
+{% endblock %}