From 0e2625e9a22d1c845eca6f1735dd2f9b238b0306 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Tue, 17 Dec 2024 15:38:23 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20documents=20sans=20=C3=A9criture?= =?UTF-8?q?=20associ=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index e6496c2..c676727 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,20 @@

Échec enregistrement immobilisation

{{/if}} +{{* supprimer les documents sans écriture associée *}} +{{#load type="immo"}} + {{#select + line.id as line_id + FROM acc_transactions_lines as line + INNER JOIN acc_transactions AS trans on line.id_transaction = trans.id + WHERE line.id = :line_id; + :line_id = $line + }} + {{else}} + {{:delete key=$key}} + {{/select}} +{{/load}} + {{* lister les immobilisations *}}

Liste des immobilisations

@@ -78,7 +92,7 @@ {{if $duration == null}} {{:linkbutton - label="Ajouter durée" + label="Ajouter infos" href="add_duration.html?immo_id=%s"|args:$immo_id shape="help" target="_dialog"