Simplification et amélioration présentation

This commit is contained in:
Jean-Christophe Engel 2026-06-05 14:10:03 +02:00
parent 023a2b81bd
commit b3aeb9b09c
7 changed files with 63 additions and 78 deletions

View file

@ -34,7 +34,6 @@
<th class="nombre">Montant</th>
<th>N° compte</th>
<th>Compte</th>
<th>Projet</th>
<th class="actions"></th>
</tr>
</thead>
@ -54,13 +53,11 @@
line.debit AS debit,
account.id as account_id,
account.code as account_code,
account.label as account_label,
project.label as project_label
account.label as account_label
FROM acc_transactions AS trans
INNER JOIN acc_transactions_lines AS line ON line.id_transaction = trans.id
INNER JOIN acc_accounts AS account ON line.id_account = account.id
INNER JOIN acc_years AS years ON trans.id_year = years.id
LEFT JOIN acc_projects AS project ON line.id_project = project.id
WHERE !condition
ORDER BY trans.date DESC;
!condition=$condition
@ -155,8 +152,8 @@
<td class="money">{{"%f"|math:$montant_immo|money_html:false|raw}}</td>
<td><a href="{{$compte_url}}">{{$account_code}}</a></td>
<td>{{$account_label}}</td>
<td>{{$project_label}}</td>
<td class="actions">
{{:linkbutton label="Modifier" href="exit_step3.html?immo_doc_id=%s"|args:$info_immo.id shape="edit"}}
</td>
</tr>
{{/select}}