Catégories globales + flag neutre + seed_reference
This commit is contained in:
@@ -80,11 +80,11 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:24%">Libellé / vendeur</th>
|
||||
<th style="width:14%">Catégorie</th>
|
||||
<th style="width:16%">Activité</th>
|
||||
<th style="width:16%">Régime TVA</th>
|
||||
<th style="width:8%">Taux %</th>
|
||||
<th style="width:22%">Libellé / vendeur</th>
|
||||
<th style="width:16%">Catégorie</th>
|
||||
<th style="width:15%">Activité</th>
|
||||
<th style="width:15%">Régime TVA</th>
|
||||
<th style="width:7%">Taux %</th>
|
||||
<th style="width:11%">Montant €</th>
|
||||
<th style="width:11%">TVA déduct. €</th>
|
||||
<th></th>
|
||||
@@ -111,7 +111,12 @@
|
||||
<template id="rowtpl">
|
||||
<tr>
|
||||
<td><input type="text" name="l_libelle" placeholder="Vendeur / objet"></td>
|
||||
<td><input type="text" name="l_categorie" placeholder="ex. Matériel"></td>
|
||||
<td>
|
||||
<select name="l_categorie">
|
||||
<option value="">—</option>
|
||||
{% for c in categories %}<option value="{{ c.pk }}">{{ c.nom }}</option>{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<select name="l_activite">
|
||||
<option value="">—</option>
|
||||
@@ -145,7 +150,6 @@
|
||||
el.textContent = reste.toFixed(2);
|
||||
el.className = Math.abs(reste) < 0.01 ? 'ok' : 'bad';
|
||||
}
|
||||
// 3 lignes au départ
|
||||
addRow(); addRow(); addRow();
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user