|
@@ -1,22 +1,27 @@
|
|
|
|
+{% load costs %}
|
|
|
|
+
|
|
<h1>Service {{ service.name }}</h1>
|
|
<h1>Service {{ service.name }}</h1>
|
|
-<p><em>({{ service.subscriptions_count }} souscriptions)</em></p>
|
|
|
|
|
|
+<p><em>({{ service.document }}, {{ service.subscriptions_count }} souscriptions)</em></p>
|
|
|
|
+
|
|
|
|
+<h2>Coût récurent (mensuel, par abonnement)</h2>
|
|
<table>
|
|
<table>
|
|
{% for usage in goods_uses %}
|
|
{% for usage in goods_uses %}
|
|
<tr>
|
|
<tr>
|
|
- <td>matériel</td>
|
|
|
|
|
|
+ <td>amortissement matériel</td>
|
|
<td>{{ usage.resource.name }}</td>
|
|
<td>{{ usage.resource.name }}</td>
|
|
- <td>{{ usage.unit_monthly_provision_share }}€</td>
|
|
|
|
|
|
+ <td>{{ usage.unit_monthly_provision_share|price }}</td>
|
|
</tr>
|
|
</tr>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% for usage in costs_uses %}
|
|
{% for usage in costs_uses %}
|
|
<tr>
|
|
<tr>
|
|
<td>coût récurent</td>
|
|
<td>coût récurent</td>
|
|
<td>{{ usage.resource.name }}</td>
|
|
<td>{{ usage.resource.name }}</td>
|
|
- <td>{{ usage.unit_cost_share }}€</td>
|
|
|
|
|
|
+ <td>{{ usage.unit_cost_share|price }}</td>
|
|
</tr>
|
|
</tr>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
<tr>
|
|
<tr>
|
|
- <td colspan="2"><strong>Coût de revient par abonnement</strong></td>
|
|
|
|
- <td><strong>{{ unit_costs_price }}€</strong></td>
|
|
|
|
|
|
+ <td colspan="2"><strong>Coût de revient par abonnement</strong>
|
|
|
|
+ </td>
|
|
|
|
+ <td><strong>{{ unit_costs_price|price }}</strong></td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|