|
@@ -8,14 +8,32 @@
|
|
|
{% for usage in goods_uses %}
|
|
|
<tr>
|
|
|
<td>amortissement</td>
|
|
|
- <td>{{ usage.resource.name }}</td>
|
|
|
+ <td>
|
|
|
+ {{ usage.resource.name }}
|
|
|
+ <span class="bare-info">
|
|
|
+ {% if usage.resource.capacity_unit %}
|
|
|
+ ({{ usage.unit_share }} {{ usage.resource.get_capacity_unit_display }})
|
|
|
+ {% else %}
|
|
|
+ ({{ usage.unit_real_share|percent }})
|
|
|
+ {% endif %}
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
<td>{{ usage.unit_monthly_provision_share|price }}</td>
|
|
|
</tr>
|
|
|
{% endfor %}
|
|
|
{% for usage in costs_uses %}
|
|
|
<tr>
|
|
|
<td>récurent</td>
|
|
|
- <td>{{ usage.resource }}</td>
|
|
|
+ <td>
|
|
|
+ {{ usage.resource.name }}
|
|
|
+ <span class="bare-info">
|
|
|
+ {% if usage.resource.capacity_unit %}
|
|
|
+ ({{ usage.unit_share }} {{ usage.resource.get_capacity_unit_display }})
|
|
|
+ {% else %}
|
|
|
+ ({{ usage.unit_real_share|percent }})
|
|
|
+ {% endif %}
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
<td>{{ usage.unit_cost_share|price }}</td>
|
|
|
</tr>
|
|
|
{% endfor %}
|