|
@@ -33,84 +33,89 @@
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
-<h2 class="ui header sixteen wide column">Coût récurent mensuel</h2>
|
|
|
-<table class="ui celled structured table">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th>Type</th><th>Nom</th><th class="right aligned">Coût mensuel <br> (par abonnement)</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
+<section class="ui row">
|
|
|
+ <h2>Coût récurent mensuel</h2>
|
|
|
+ <table class="ui celled structured table">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>Type</th><th>Nom</th><th class="right aligned">Coût mensuel <br> (par abonnement)</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
{% for usage in goods_uses %}
|
|
|
- <tr>
|
|
|
+ <tr>
|
|
|
{% if forloop.first %}
|
|
|
- <td rowspan="{{ goods_uses|length }}">Amortissement</td>
|
|
|
+ <td rowspan="{{ goods_uses|length }}">Amortissement</td>
|
|
|
{% endif %}
|
|
|
- <td>
|
|
|
+ <td>
|
|
|
{{ usage.resource.name }}
|
|
|
- <span class="bare-info">
|
|
|
+ <span class="bare-info">
|
|
|
{% if usage.resource.capacity_unit %}
|
|
|
({{ usage.unit_share|human_round }} {{ usage.resource.get_capacity_unit_display }})
|
|
|
{% else %}
|
|
|
({{ usage.unit_real_share|percent }})
|
|
|
{% endif %}
|
|
|
- </span>
|
|
|
- </td>
|
|
|
- <td class="right aligned">{{ usage.unit_monthly_provision_share|price }}</td>
|
|
|
- </tr>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ <td class="right aligned">{{ usage.unit_monthly_provision_share|price }}</td>
|
|
|
+ </tr>
|
|
|
{% endfor %}
|
|
|
{% for usage in costs_uses %}
|
|
|
- <tr>
|
|
|
+ <tr>
|
|
|
{% if forloop.first %}
|
|
|
- <td rowspan="{{ costs_uses|length }}">Récurent</td>
|
|
|
+ <td rowspan="{{ costs_uses|length }}">Récurent</td>
|
|
|
{% endif %}
|
|
|
- <td>
|
|
|
+ <td>
|
|
|
{{ usage.resource.name }}
|
|
|
- <span class="bare-info">
|
|
|
+ <span class="bare-info">
|
|
|
{% if usage.resource.capacity_unit %}
|
|
|
({{ usage.unit_share|human_round }} {{ usage.resource.get_capacity_unit_display }})
|
|
|
{% else %}
|
|
|
({{ usage.unit_real_share|percent }})
|
|
|
{% endif %}
|
|
|
- </span>
|
|
|
- </td>
|
|
|
- <td class="right aligned">{{ usage.unit_cost_share|price }}</td>
|
|
|
- </tr>
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ <td class="right aligned">{{ usage.unit_cost_share|price }}</td>
|
|
|
+ </tr>
|
|
|
{% endfor %}
|
|
|
- </tbody>
|
|
|
- <tfoot>
|
|
|
- <tr>
|
|
|
- <th colspan="2"><strong>Coût de revient par abonnement</strong></th>
|
|
|
- <th class="right aligned"><strong>{{ unit_costs_price|price }}</strong></th>
|
|
|
- </tr>
|
|
|
- </tfoot>
|
|
|
-</table>
|
|
|
+ </tbody>
|
|
|
+ <tfoot>
|
|
|
+ <tr>
|
|
|
+ <th colspan="2"><strong>Coût de revient par abonnement</strong></th>
|
|
|
+ <th class="right aligned"><strong>{{ unit_costs_price|price }}</strong></th>
|
|
|
+ </tr>
|
|
|
+ </tfoot>
|
|
|
+ </table>
|
|
|
+</section>
|
|
|
|
|
|
-<h2>Coût de mise en place (FAS)</h2>
|
|
|
-<table class="ui celled structured table">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th>Nom</th><th>Coût (par nouvel abonnement)</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
+<section class="ui row">
|
|
|
+ <h2>Coût de mise en place (FAS)</h2>
|
|
|
+ <table class="ui celled structured table">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>Nom</th><th>Coût (par nouvel abonnement)</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
{% for good_use in goods_uses %}
|
|
|
- <tr>
|
|
|
- <td>{{ good_use.resource.name }}</td>
|
|
|
- <td>{{ good_use.unit_value_share|price }}</td>
|
|
|
- </tr>
|
|
|
+ <tr>
|
|
|
+ <td>{{ good_use.resource.name }}</td>
|
|
|
+ <td>{{ good_use.unit_value_share|price }}</td>
|
|
|
+ </tr>
|
|
|
{% endfor %}
|
|
|
- </tbody>
|
|
|
- <tfoot>
|
|
|
- <tr>
|
|
|
- <th><strong>Coût de mise en place par nouvel abonnement</strong></th>
|
|
|
- <th><strong>{{ unit_goods_value_share|price }}</strong></th>
|
|
|
- </tr>
|
|
|
- </tfoot>
|
|
|
-</table>
|
|
|
+ </tbody>
|
|
|
+ <tfoot>
|
|
|
+ <tr>
|
|
|
+ <th><strong>Coût de mise en place par nouvel abonnement</strong></th>
|
|
|
+ <th><strong>{{ unit_goods_value_share|price }}</strong></th>
|
|
|
+ </tr>
|
|
|
+ </tfoot>
|
|
|
+ </table>
|
|
|
|
|
|
-La mise en place lissée sur 12 mois, elle équivaut à
|
|
|
-{{ monthly_fas|price }}/mois.
|
|
|
-</p>
|
|
|
+ <p>
|
|
|
+Lissée sur 12 mois, la mise en place équivaut à {{ monthly_fas|price }}/mois.
|
|
|
+ </p>
|
|
|
|
|
|
-{% endblock %}
|
|
|
+</section>
|
|
|
+
|
|
|
+{% endblock %}
|