From 2af96b279673ac94703c4ff7d3bd07593eef5315 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Mon, 15 Jun 2026 12:27:16 +0200 Subject: [PATCH] =?UTF-8?q?Amortization=20:=20am=C3=A9lioration=20affichag?= =?UTF-8?q?e=20boutons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- amortization.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amortization.html b/amortization.html index 95939d4..a3378b2 100644 --- a/amortization.html +++ b/amortization.html @@ -45,11 +45,11 @@ {{:admin_header title="Détails de l'immobilisation" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} -{{if $_GET.type_immo == "amortized" || $valeur_residuelle == 0 }} +{{if $_GET.type_immo == "amortized" && $valeur_residuelle == 0}} {{:assign current="amortized"}} {{elseif $_GET.type_immo == "archived"}} {{:assign current="archived"}} -{{elseif $_GET.type_immo == null || $_GET.type_immo == "managed"}} +{{elseif $_GET.type_immo == null || $_GET.type_immo == "managed" || $valeur_residuelle > 0}} {{:assign current="managed"}} {{else}} {{:assign current="other"}} @@ -150,7 +150,7 @@

Avoirs