Entrees/sorties : colonnes analytiques (regime FRA/UE, TTC+HT, taux+TVA)
Deploy via Portainer / deploy (push) Successful in 1s
Deploy via Portainer / deploy (push) Successful in 1s
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
.tag.operation { color:var(--accent); border-color:#25566e; }
|
||||
.neutre-badge { font-size:10px; color:var(--muted); border:1px dashed var(--line); border-radius:6px; padding:1px 5px; margin-left:6px; }
|
||||
.ventile-badge { font-size:10px; color:var(--accent); border:1px solid #25566e; border-radius:6px; padding:1px 5px; margin-left:6px; }
|
||||
.regime-badge { font-size:11px; font-weight:600; color:var(--muted); border:1px solid var(--line); border-radius:6px; padding:2px 7px; }
|
||||
.ht { color:var(--muted); font-size:11.5px; margin-top:1px; }
|
||||
.sub2 { color:var(--muted); font-size:10px; margin-left:4px; }
|
||||
.btn-mini { padding:5px 11px; font-size:12.5px; border-radius:8px; }
|
||||
#gtable td, #gtable th { border-bottom:1px solid var(--line); }
|
||||
#gtable tbody tr:hover td { background:#243247; }
|
||||
@@ -97,7 +100,7 @@
|
||||
<thead><tr>
|
||||
<th class="chkcol"><input type="checkbox" id="chkall" title="Tout sélectionner"></th>
|
||||
<th>Date</th><th>Type</th><th>Libellé</th><th>Catégorie</th>
|
||||
<th>Montant</th><th>TVA</th><th></th>
|
||||
<th>Régime</th><th>Montant</th><th>Taux / TVA</th><th></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
{% for r in rows %}
|
||||
@@ -107,8 +110,14 @@
|
||||
<td><span class="tag {{ r.type }}">{{ r.type_label }}</span></td>
|
||||
<td>{{ r.libelle }}</td>
|
||||
<td>{{ r.categorie }}{% if r.neutre %}<span class="neutre-badge">neutre</span>{% endif %}{% if r.ventile %}<span class="ventile-badge" title="Part d'une dépense ventilée (plusieurs taux de TVA)">ventilé</span>{% endif %}</td>
|
||||
<td class="{% if r.montant >= 0 %}pos{% else %}neg{% endif %}">{{ r.montant|floatformat:2|unlocalize }} €</td>
|
||||
<td>{% if r.tva %}{{ r.tva|floatformat:2|unlocalize }}{% else %}—{% endif %}</td>
|
||||
<td>{% if r.regime_court %}<span class="regime-badge">{{ r.regime_court }}</span>{% else %}—{% endif %}</td>
|
||||
<td class="num {% if r.montant >= 0 %}pos{% else %}neg{% endif %}">
|
||||
{{ r.montant|floatformat:2|unlocalize }} €<span class="sub2">TTC</span>
|
||||
{% if r.ht is not None %}<div class="ht">{{ r.ht|floatformat:2|unlocalize }} € HT</div>{% endif %}
|
||||
</td>
|
||||
<td class="num">
|
||||
{% if r.tva is not None %}{{ r.taux|floatformat:"-2"|unlocalize }} %<div class="ht">{{ r.tva|floatformat:2|unlocalize }} €</div>{% else %}—{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn-mini"
|
||||
data-edit
|
||||
|
||||
Reference in New Issue
Block a user