From ec29f26176004261dafdc9d1cb56423b3c6d88ee Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Mon, 27 Oct 2025 12:11:29 +0100 Subject: [PATCH] =?UTF-8?q?Simplification=20d=C3=A9tails=20membre=20(suite?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snippets/user_details.html | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/snippets/user_details.html b/snippets/user_details.html index 3268dec..ad0bf2d 100644 --- a/snippets/user_details.html +++ b/snippets/user_details.html @@ -151,27 +151,16 @@ Matériel Opération Quantité - Total {{#foreach from=$def_mat}} - {{:assign var="type_mvt" from="config.%s_nature.%s.type"|args:$direction:$operation}} {{:assign var="op_label" from="config.%s_nature.%s.label"|args:$direction:$operation}} - {{:assign var="total" from="reste.%s"|args:$eqpmt_key}} - {{if $total == null}} - {{:assign total=0}} - {{/if}} - {{if $direction == 'output' && $type_mvt == 'définitif'}} - {{:assign var="reste.%s"|args:$eqpmt_key value="%d+%d"|math:$total:$amount}} - {{/if}} - {{:assign var="total" from="reste.%s"|args:$eqpmt_key}} {{$date|date_short}} {{$eqpmt_name}} {{$op_label}} {{$amount}} - {{$total}} {{/foreach}}