73 lines
2.4 KiB
HTML
73 lines
2.4 KiB
HTML
|
{% extends "base.html" %}
|
|||
|
|
|||
|
{% block page_title %}I.C. - Année {{ year }} {% endblock %}
|
|||
|
|
|||
|
{% block content %}
|
|||
|
|
|||
|
<div id="page" class=" sidebar_right">
|
|||
|
<div class="container">
|
|||
|
<div id="frame2">
|
|||
|
<div id="content">
|
|||
|
<h1>Année {{ year }} <small>({{ nb_transaction }} transactions)</small></h1>
|
|||
|
<table class="table table-striped table-bordered table-condensed">
|
|||
|
<thead>
|
|||
|
<th class="centered">Date</th>
|
|||
|
<th>Description</th>
|
|||
|
<th class="centered" colspan="2">Montant (HTVA)</th>
|
|||
|
<th class="centered" colspan="2">Montant (TVAC)</th>
|
|||
|
<th class="centered">TVA</th>
|
|||
|
<th class="centered">Montant Déductible</th>
|
|||
|
</thead>
|
|||
|
{% for line in Transactions %}
|
|||
|
<tr>
|
|||
|
{% if line.paid %}
|
|||
|
<td class="push-right">
|
|||
|
{% else %}
|
|||
|
<td class="push-right warning">
|
|||
|
{% endif %}
|
|||
|
{{ line.date }}</td>
|
|||
|
<td><a href="/compta/transaction/{{ line.id }}">{{ line }}</a></td>
|
|||
|
{% if line.amountHTva < 0 %}
|
|||
|
<td></td>
|
|||
|
<td class="push-right danger">{{ line.amountHTva }}</td>
|
|||
|
{% else %}
|
|||
|
<td class="push-right success">{{ line.amountHTva }}</td>
|
|||
|
<td></td>
|
|||
|
{% endif %}
|
|||
|
{% if line.amountTva < 0 %}
|
|||
|
<td></td>
|
|||
|
<td class="push-right danger">{{ line.amountTva }}</td>
|
|||
|
{% else %}
|
|||
|
<td class="push-right success">{{ line.amountTva }}</td>
|
|||
|
<td></td>
|
|||
|
{% endif %}
|
|||
|
<td class="push-right">{{ line.displayTVA }}</td>
|
|||
|
<td class="push-right">{{ line.amountDeductible }}</td>
|
|||
|
</tr>
|
|||
|
{% endfor %}
|
|||
|
<tr>
|
|||
|
<td colspan="2" class="push-right"><b>Totaux</b></td>
|
|||
|
<td class="push-right info"><b>+{{ sumHTvap }}</b></td>
|
|||
|
<td class="push-right">{{ sumHTvam }}</td>
|
|||
|
<td class="push-right">+{{ sumTvap }}</td>
|
|||
|
<td class="push-right">{{ sumTvam }}</td>
|
|||
|
<td></td>
|
|||
|
<td class="push-right info"><b>{{ sumDeductible }}</b></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td colspan="2" class="push-right"><b>Bénéfices</b></td>
|
|||
|
<td class="push-right"></td>
|
|||
|
<td class="push-right"></td>
|
|||
|
<td class="push-right"></td>
|
|||
|
<td class="push-right"></td>
|
|||
|
<td></td>
|
|||
|
<td class="push-right {% if benefit < 0 %}danger{% else %}success{% endif %}"><b>{{ benefit }}</b></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
{% endblock %}
|