Commit 17e254c0 authored by Mat's avatar Mat
Browse files

inversion de colonnes

parent 81aded79
......@@ -56,9 +56,9 @@
<tr>
<th scope="col">#</th>
<th scope="col">Offre</th>
<th scope="col">Contenu</th>
<th scope="col">Créée le</th>
<th scope="col">Date de clôture</th>
<th scope="col">Contenu</th>
<th scope="col">Référence</th>
</tr>
</thead>
......@@ -71,9 +71,9 @@
<tr>
<th scope="col">#</th>
<th scope="col">Offre</th>
<th scope="col">Contenu</th>
<th scope="col">Créée le</th>
<th scope="col">Date de clôture</th>
<th scope="col">Contenu</th>
<th scope="col">Référence</th>
</tr>
</thead>
......@@ -88,9 +88,9 @@
<tr>
<th scope="col">#</th>
<th scope="col">Offre</th>
<th scope="col">Contenu</th>
<th scope="col">Créée le</th>
<th scope="col">Date de clôture</th>
<th scope="col">Contenu</th>
<th scope="col">Référence</th>
</tr>
</thead>
......@@ -248,16 +248,16 @@
tr.appendChild(td2);
let td3 = document.createElement('td');
td3.textContent = formatStringDate(jsonRow.created_at);
td3.textContent = jsonRow.offre_legumes.length +
(jsonRow.offre_legumes.length > 1 ? ' légumes' : ' légume' );
tr.appendChild(td3);
let td4 = document.createElement('td');
td4.textContent = formatStringDate(jsonRow.ended_at);
td4.textContent = formatStringDate(jsonRow.created_at);
tr.appendChild(td4);
let td5 = document.createElement('td');
td5.textContent = jsonRow.offre_legumes.length +
(jsonRow.offre_legumes.length > 1 ? ' légumes' : ' légume' );
td5.textContent = formatStringDate(jsonRow.ended_at);
tr.appendChild(td5);
let td6 = document.createElement('td');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment