From f74590b117d9d6fe3dc3bc8a087186ea431e8f6c Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Sat, 4 Jul 2026 18:11:39 +0200 Subject: [PATCH] =?UTF-8?q?Simplification=20processus=20mise-=C3=A0-niveau?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.html | 21 --------------------- index.html | 33 ++++++++++++++++++--------------- upgrade.html | 5 ----- 3 files changed, 18 insertions(+), 41 deletions(-) diff --git a/config.html b/config.html index a91e9d7..a8c91c9 100644 --- a/config.html +++ b/config.html @@ -129,27 +129,6 @@ {{/if}}
- {{* Nouvelle version ? *}} - {{:include file="_get_module_version.tpl" keep="module_version"}} - {{:include file="_compare_version.tpl" nv1=$module_version nv2=$module.config.version keep="comp"}} - - {{if $comp > 0}} -
- Mettre à niveau le module -

- Une nouvelle version du module {{$module.label}} - est disponible ; veuillez cliquer sur le buton - « Mettre à niveau le module » pour effectuer la - mise à niveau -

- {{:linkbutton - label="Mettre à niveau le module" - href="upgrade.html" - shape="reset" - class="main" - }} -
- {{/if}}

Comptes d'immobilisation amortissables

diff --git a/index.html b/index.html index 9c88e25..e0018df 100644 --- a/index.html +++ b/index.html @@ -7,20 +7,26 @@ {{:assign type_immo=$_GET.type_immo}} {{/if}} - {{if $type_immo == "managed"}} - {{:admin_header title="Immobilisations en cours d'amortissement" custom_css="./style.css" current="module_amortization"}} - {{elseif $type_immo == "amortized"}} - {{:admin_header title="Immobilisations amorties" custom_css="./style.css" current="module_amortization"}} - {{elseif $type_immo == "archived"}} - {{:admin_header title="Immobilisations archivées" custom_css="./style.css" current="module_amortization"}} - {{elseif $type_immo == "other"}} - {{:admin_header title="Immobilisations à classer" custom_css="./style.css" current="module_amortization"}} - {{elseif $type_immo == "unfinished"}} - {{:admin_header title="Immobilisations en cours de constitution" custom_css="./style.css" current="module_amortization" subcurrent="unfinished"}} - {{/if}} - +{{if $type_immo == "managed"}} + {{:admin_header title="Immobilisations en cours d'amortissement" custom_css="./style.css" current="module_amortization"}} +{{elseif $type_immo == "amortized"}} + {{:admin_header title="Immobilisations amorties" custom_css="./style.css" current="module_amortization"}} +{{elseif $type_immo == "archived"}} + {{:admin_header title="Immobilisations archivées" custom_css="./style.css" current="module_amortization"}} +{{elseif $type_immo == "other"}} + {{:admin_header title="Immobilisations à classer" custom_css="./style.css" current="module_amortization"}} +{{elseif $type_immo == "unfinished"}} + {{:admin_header title="Immobilisations en cours de constitution" custom_css="./style.css" current="module_amortization" subcurrent="unfinished"}} +{{/if}} {{:include file="_nav.html" current=$type_immo}} +{{* Mise à niveau *}} +{{:assign module_version="0.33"}} +{{:include file="upgrade.html" module_version=$module_version}} + +{{* supprimer les documents sans écriture associée *}} +{{:include file="_remove_orphan_docs.tpl"}} + {{if $_GET.ok}} {{if $_GET.msg|match:"immobilisation"}} {{:assign msg="Immobilisation enregistrée"}} @@ -34,9 +40,6 @@

Échec enregistrement immobilisation

{{/if}} -{{* supprimer les documents sans écriture associée *}} -{{:include file="_remove_orphan_docs.tpl"}} - {{if $type_immo == "other"}} {{:include file="_immobilisations_autres.html"}} {{elseif $type_immo == "archived"}} diff --git a/upgrade.html b/upgrade.html index 8ecfe75..517eebe 100644 --- a/upgrade.html +++ b/upgrade.html @@ -4,11 +4,6 @@ mise à niveau des documents selon version *}} -{{:admin_header title="Mise à niveau" custom_css="./style.css" current="module_amortization"}} - -{{* numéro de version du module *}} -{{:include file="_get_module_version.tpl" keep="module_version"}} - {{* version 0.31 *}} {{:assign tag="0.31"}}