From a0446a02ebf7ee6768c5a06f71367dda3b8c41e3 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Thu, 8 Jan 2026 18:21:42 +0100 Subject: [PATCH 1/4] Correction dysfonctionnement config unfinished --- _unfinished.html | 5 +++++ add_asset.html | 23 +++++++++++++++++++---- config.html | 5 +++++ transfer.html | 5 +++++ 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/_unfinished.html b/_unfinished.html index 500413c..5bd29f9 100644 --- a/_unfinished.html +++ b/_unfinished.html @@ -59,6 +59,11 @@ {{:assign accounts_condition="("}} {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem|has_key:"code"}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign code=$elem.code|cat:"%"|quote_sql}} {{:assign accounts_condition=$accounts_condition|cat:" account.code LIKE "|cat:$code|cat:" OR "}} {{/foreach}} diff --git a/add_asset.html b/add_asset.html index 805311f..697020b 100644 --- a/add_asset.html +++ b/add_asset.html @@ -56,7 +56,12 @@ {{#foreach from=$module.config.prefixes item="code"}} {{:assign var="prefix_array." value=$code}} {{/foreach}} - {{#foreach from=$module.config.unfinished item="code"}} + {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem|has_key:"code"}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign var="prefix_array." value=$code}} {{/foreach}} @@ -77,7 +82,12 @@ {{:assign credit_account=$credit_account|keys|value:0}} {{* déterminer si le compte d'immo est un compte d'immo en cours *}} - {{#foreach from=$module.config.unfinished item="code"}} + {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem|has_key:"code"}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{if $debit_account|strpos:$code === 0}} {{:assign status="unfinished"}} {{/if}} @@ -164,8 +174,13 @@ {{#foreach from=$module.config.prefixes item="code"}} {{:assign var="pattern_array." value="%s*"|args:$code}} {{/foreach}} -{{#foreach from=$module.config.unfinished item="code"}} - {{:assign var="pattern_array." value="%s*"|args:$code}} +{{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem|has_key:"code"}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} +{{:assign var="pattern_array." value="%s*"|args:$code}} {{/foreach}} {{:assign var="patterns" value=$pattern_array|implode:"|"}} diff --git a/config.html b/config.html index 8cb3a61..00f0b4f 100644 --- a/config.html +++ b/config.html @@ -99,6 +99,11 @@ {{* libellés des comptes d'immobilisation en cours de constitution *}} {{:assign condition="("}} {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem|has_key:"code"}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign code=$elem.code|quote_sql}} {{:assign condition=$condition|cat:" account.code = "|cat:$code|cat:" OR "}} {{/foreach}} diff --git a/transfer.html b/transfer.html index 71f123e..cba01e4 100644 --- a/transfer.html +++ b/transfer.html @@ -21,6 +21,11 @@ {{:include file="_get_config.html" keep="module.config.unfinished"}} {{:assign condition="("}} {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem|has_key:"code"}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign code=$elem.code|cat:"%"|quote_sql}} {{:assign condition=$condition|cat:" account.code LIKE "|cat:$code|cat:" OR "}} {{/foreach}} From 8801cefe2c14c8f22497eafb0ee2b13755c7e2e5 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Thu, 8 Jan 2026 18:36:11 +0100 Subject: [PATCH 2/4] =?UTF-8?q?Am=C3=A9lioration=20pr=C3=A9sentation=20ong?= =?UTF-8?q?lets=20et=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _nav.html | 14 ++++++++------ add_account.html | 2 +- add_asset.html | 2 +- add_infos.html | 2 +- aide.html | 2 +- amortization.html | 2 +- balance_sheet_exit.html | 2 +- compute_exit_data.html | 2 +- config.html | 2 +- filters.html | 2 +- ignore.html | 2 +- index.html | 2 +- other_amortizations.html | 2 +- save_amort.html | 2 +- transfer.html | 4 ++-- write_exit.html | 2 +- 16 files changed, 24 insertions(+), 22 deletions(-) diff --git a/_nav.html b/_nav.html index b04310b..57a6f51 100644 --- a/_nav.html +++ b/_nav.html @@ -24,13 +24,15 @@
  • Configuration
  • - {{if $subsubcurrent == "amortization"}} + {{if $subsubcurrent != null}} - {{elseif $subsubcurrent == "balance_exit"}} - {{/if}} diff --git a/add_account.html b/add_account.html index c5b471a..76aded1 100644 --- a/add_account.html +++ b/add_account.html @@ -1,5 +1,5 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Ajout immobilisation" current="module_amortissement"}} +{{:admin_header title="Ajout immobilisation" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/add_asset.html b/add_asset.html index 697020b..71e4bb9 100644 --- a/add_asset.html +++ b/add_asset.html @@ -157,7 +157,7 @@ {{/form}} -{{:admin_header title="Ajout immobilisation" current="module_amortissement"}} +{{:admin_header title="Ajout immobilisation" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} {{:include file="_nav.html" current="index"}} diff --git a/add_infos.html b/add_infos.html index 8001254..569aff8 100644 --- a/add_infos.html +++ b/add_infos.html @@ -76,7 +76,7 @@ {{:form_errors}} {{/form}} -{{:admin_header title="Informations amortissement" custom_css=$custom_css current="module_amortissement"}} +{{:admin_header title="Informations amortissement" custom_css=$custom_css current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/aide.html b/aide.html index 94d77e6..e6855d7 100644 --- a/aide.html +++ b/aide.html @@ -1,6 +1,6 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Aide" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Aide" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{:include file="_nav.html" current="aide"}} diff --git a/amortization.html b/amortization.html index df3fb57..25e7ba9 100644 --- a/amortization.html +++ b/amortization.html @@ -120,7 +120,7 @@ {{/select}} -{{:admin_header title="Liste des amortissements" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Liste des amortissements" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if $_GET.type_immo == "amortized" || $valeur_residuelle== 0 }} diff --git a/balance_sheet_exit.html b/balance_sheet_exit.html index d75fe21..226179d 100644 --- a/balance_sheet_exit.html +++ b/balance_sheet_exit.html @@ -170,7 +170,7 @@ {{:redirect to="compute_exit_data.html?immo_id=%s&amort_amount=%s&year=%s&date_mes=%s&date_debut=%s&exit_date=%s&duree_amort=%s"|args:$_GET.immo_id:$amort_amount:$selected_year:$ts_mes:$ts_debut:$ts_exit:$duree_amort}} {{/form}} -{{:admin_header title="Sortie de bilan" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Sortie de bilan" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} {{:include file="_nav.html" current="index" subcurrent="%s"|args:$_GET.type_immo subsubcurrent="balance_exit"}} diff --git a/compute_exit_data.html b/compute_exit_data.html index e991034..48d6597 100644 --- a/compute_exit_data.html +++ b/compute_exit_data.html @@ -46,7 +46,7 @@ {{:redirect to="write_exit.html?immo_id=%s&amort_amount=%s&year=%s&date_mes=%s&date_debut=%s&exit_date=%s&duree_amort=%s&cession=%s"|args:$_GET.immo_id:$_GET.amort_amount:$_GET.year:$_GET.date_mes:$_GET.date_debut:$_GET.exit_date:$_GET.duree_amort:$_POST.montant_cession}} {{/form}} -{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/config.html b/config.html index 00f0b4f..ed94b7e 100644 --- a/config.html +++ b/config.html @@ -45,7 +45,7 @@ {{:form_errors}} {{/form}} -{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortization"}} {{:include file="_nav.html" current="config"}} {{if $_GET.ok == 1}}

    Configuration enregistrée.

    diff --git a/filters.html b/filters.html index 36228af..7590c9e 100644 --- a/filters.html +++ b/filters.html @@ -1,6 +1,6 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortization"}} {{:include file="_nav.html" current="config" subcurrent="filters"}} {{if $_GET.ok == 1}} diff --git a/ignore.html b/ignore.html index dc55e63..7cd4cb1 100644 --- a/ignore.html +++ b/ignore.html @@ -49,7 +49,7 @@ {{:form_errors}} {{/form}} -{{:admin_header title="Ignorer l'écriture" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Ignorer l'écriture" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/index.html b/index.html index bf12f85..ed61086 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ {{elseif $type_immo == "other"}} {{:admin_header title="Autres immobilisations" custom_css="./style.css" current="module_amortization"}} {{elseif $type_immo == "unfinished"}} - {{:admin_header title="Immobilisations en cours" custom_css="./style.css" current="module_amortization"}} + {{:admin_header title="Immobilisations en cours de constitution" custom_css="./style.css" current="module_amortization"}} {{/if}} {{:include file="_nav.html" current="index" subcurrent="%s"|args:$type_immo}} diff --git a/other_amortizations.html b/other_amortizations.html index 6ce187e..4669742 100644 --- a/other_amortizations.html +++ b/other_amortizations.html @@ -63,7 +63,7 @@ {{/select}} {{/select}} -{{:admin_header title="Amortissements non rattachés" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Amortissements non rattachés" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/save_amort.html b/save_amort.html index a26412a..c2cfa63 100644 --- a/save_amort.html +++ b/save_amort.html @@ -208,7 +208,7 @@ {{:redirect force="amortization.html?immo_id=%s&ok=1&msg=amortissement"|args:$_GET.immo_id}} {{/form}} -{{:admin_header title="Ajout amortissement" current="module_amortissement"}} +{{:admin_header title="Ajout amortissement" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/transfer.html b/transfer.html index cba01e4..300cd53 100644 --- a/transfer.html +++ b/transfer.html @@ -1,6 +1,6 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Transfert d'immobilisation en cours" current="module_amortissement"}} +{{:admin_header title="Transfert d'immobilisation en cours" custom_css="./style.css" current="module_amortization"}} {{:include file="_get_config.html" keep="module.config.prefixes"}} {{#years closed=false order="start_date" assign=years.}} @@ -196,7 +196,7 @@ {{* barre de navigation *}} {{if ! $dialog}} - {{:include file="_nav.html" current="index"}} + {{:include file="_nav.html" current="index" subcurrent="unfinished" subsubcurrent="transfer"}} {{/if}} {{:form_errors}} diff --git a/write_exit.html b/write_exit.html index 290ad26..616ff6b 100644 --- a/write_exit.html +++ b/write_exit.html @@ -248,7 +248,7 @@ {{:redirect to="index.html?type_immo=archived"}} {{/form}} -{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} From db1f1700d1e0b1718af072d5afe5230e212a6b3b Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Thu, 8 Jan 2026 18:21:42 +0100 Subject: [PATCH 3/4] Correction dysfonctionnement config unfinished --- _unfinished.html | 5 +++++ add_asset.html | 23 +++++++++++++++++++---- config.html | 5 +++++ transfer.html | 5 +++++ 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/_unfinished.html b/_unfinished.html index 500413c..c8a2e5a 100644 --- a/_unfinished.html +++ b/_unfinished.html @@ -59,6 +59,11 @@ {{:assign accounts_condition="("}} {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem.code != null}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign code=$elem.code|cat:"%"|quote_sql}} {{:assign accounts_condition=$accounts_condition|cat:" account.code LIKE "|cat:$code|cat:" OR "}} {{/foreach}} diff --git a/add_asset.html b/add_asset.html index 805311f..289e734 100644 --- a/add_asset.html +++ b/add_asset.html @@ -56,7 +56,12 @@ {{#foreach from=$module.config.prefixes item="code"}} {{:assign var="prefix_array." value=$code}} {{/foreach}} - {{#foreach from=$module.config.unfinished item="code"}} + {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem.code != null}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign var="prefix_array." value=$code}} {{/foreach}} @@ -77,7 +82,12 @@ {{:assign credit_account=$credit_account|keys|value:0}} {{* déterminer si le compte d'immo est un compte d'immo en cours *}} - {{#foreach from=$module.config.unfinished item="code"}} + {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem.code != null}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{if $debit_account|strpos:$code === 0}} {{:assign status="unfinished"}} {{/if}} @@ -164,8 +174,13 @@ {{#foreach from=$module.config.prefixes item="code"}} {{:assign var="pattern_array." value="%s*"|args:$code}} {{/foreach}} -{{#foreach from=$module.config.unfinished item="code"}} - {{:assign var="pattern_array." value="%s*"|args:$code}} +{{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem.code != null}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} +{{:assign var="pattern_array." value="%s*"|args:$code}} {{/foreach}} {{:assign var="patterns" value=$pattern_array|implode:"|"}} diff --git a/config.html b/config.html index 8cb3a61..dfa7fd6 100644 --- a/config.html +++ b/config.html @@ -99,6 +99,11 @@ {{* libellés des comptes d'immobilisation en cours de constitution *}} {{:assign condition="("}} {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem.code != null}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign code=$elem.code|quote_sql}} {{:assign condition=$condition|cat:" account.code = "|cat:$code|cat:" OR "}} {{/foreach}} diff --git a/transfer.html b/transfer.html index 71f123e..350abd7 100644 --- a/transfer.html +++ b/transfer.html @@ -21,6 +21,11 @@ {{:include file="_get_config.html" keep="module.config.unfinished"}} {{:assign condition="("}} {{#foreach from=$module.config.unfinished item="elem"}} + {{if $elem.code != null}} + {{:assign code=$elem.code}} + {{else}} + {{:assign code=$elem}} + {{/if}} {{:assign code=$elem.code|cat:"%"|quote_sql}} {{:assign condition=$condition|cat:" account.code LIKE "|cat:$code|cat:" OR "}} {{/foreach}} From 10c2e5131f1c0731de2147af869946a69db8519f Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Thu, 8 Jan 2026 18:36:11 +0100 Subject: [PATCH 4/4] =?UTF-8?q?Am=C3=A9lioration=20pr=C3=A9sentation=20ong?= =?UTF-8?q?lets=20et=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _nav.html | 14 ++++++++------ add_account.html | 2 +- add_asset.html | 2 +- add_infos.html | 2 +- aide.html | 2 +- amortization.html | 2 +- balance_sheet_exit.html | 2 +- compute_exit_data.html | 2 +- config.html | 2 +- filters.html | 2 +- ignore.html | 2 +- index.html | 2 +- other_amortizations.html | 2 +- save_amort.html | 2 +- transfer.html | 4 ++-- write_exit.html | 2 +- 16 files changed, 24 insertions(+), 22 deletions(-) diff --git a/_nav.html b/_nav.html index b04310b..57a6f51 100644 --- a/_nav.html +++ b/_nav.html @@ -24,13 +24,15 @@
  • Configuration
  • - {{if $subsubcurrent == "amortization"}} + {{if $subsubcurrent != null}}
      -
    • Amortissements
    • -
    - {{elseif $subsubcurrent == "balance_exit"}} -
      -
    • Sortie de bilan
    • + {{if $subsubcurrent == "amortization"}} +
    • Amortissements
    • + {{elseif $subsubcurrent == "balance_exit"}} +
    • Sortie de bilan
    • + {{elseif $subsubcurrent == "transfer"}} +
    • Transfert d'immobilisations
    • + {{/if}}
    {{/if}} diff --git a/add_account.html b/add_account.html index c5b471a..76aded1 100644 --- a/add_account.html +++ b/add_account.html @@ -1,5 +1,5 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Ajout immobilisation" current="module_amortissement"}} +{{:admin_header title="Ajout immobilisation" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/add_asset.html b/add_asset.html index 289e734..9648331 100644 --- a/add_asset.html +++ b/add_asset.html @@ -157,7 +157,7 @@ {{/form}} -{{:admin_header title="Ajout immobilisation" current="module_amortissement"}} +{{:admin_header title="Ajout immobilisation" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} {{:include file="_nav.html" current="index"}} diff --git a/add_infos.html b/add_infos.html index 8001254..569aff8 100644 --- a/add_infos.html +++ b/add_infos.html @@ -76,7 +76,7 @@ {{:form_errors}} {{/form}} -{{:admin_header title="Informations amortissement" custom_css=$custom_css current="module_amortissement"}} +{{:admin_header title="Informations amortissement" custom_css=$custom_css current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/aide.html b/aide.html index 94d77e6..e6855d7 100644 --- a/aide.html +++ b/aide.html @@ -1,6 +1,6 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Aide" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Aide" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{:include file="_nav.html" current="aide"}} diff --git a/amortization.html b/amortization.html index df3fb57..25e7ba9 100644 --- a/amortization.html +++ b/amortization.html @@ -120,7 +120,7 @@ {{/select}} -{{:admin_header title="Liste des amortissements" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Liste des amortissements" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if $_GET.type_immo == "amortized" || $valeur_residuelle== 0 }} diff --git a/balance_sheet_exit.html b/balance_sheet_exit.html index d75fe21..226179d 100644 --- a/balance_sheet_exit.html +++ b/balance_sheet_exit.html @@ -170,7 +170,7 @@ {{:redirect to="compute_exit_data.html?immo_id=%s&amort_amount=%s&year=%s&date_mes=%s&date_debut=%s&exit_date=%s&duree_amort=%s"|args:$_GET.immo_id:$amort_amount:$selected_year:$ts_mes:$ts_debut:$ts_exit:$duree_amort}} {{/form}} -{{:admin_header title="Sortie de bilan" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Sortie de bilan" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} {{:include file="_nav.html" current="index" subcurrent="%s"|args:$_GET.type_immo subsubcurrent="balance_exit"}} diff --git a/compute_exit_data.html b/compute_exit_data.html index e991034..48d6597 100644 --- a/compute_exit_data.html +++ b/compute_exit_data.html @@ -46,7 +46,7 @@ {{:redirect to="write_exit.html?immo_id=%s&amort_amount=%s&year=%s&date_mes=%s&date_debut=%s&exit_date=%s&duree_amort=%s&cession=%s"|args:$_GET.immo_id:$_GET.amort_amount:$_GET.year:$_GET.date_mes:$_GET.date_debut:$_GET.exit_date:$_GET.duree_amort:$_POST.montant_cession}} {{/form}} -{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/config.html b/config.html index dfa7fd6..b8affb5 100644 --- a/config.html +++ b/config.html @@ -45,7 +45,7 @@ {{:form_errors}} {{/form}} -{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortization"}} {{:include file="_nav.html" current="config"}} {{if $_GET.ok == 1}}

    Configuration enregistrée.

    diff --git a/filters.html b/filters.html index 36228af..7590c9e 100644 --- a/filters.html +++ b/filters.html @@ -1,6 +1,6 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortization"}} {{:include file="_nav.html" current="config" subcurrent="filters"}} {{if $_GET.ok == 1}} diff --git a/ignore.html b/ignore.html index dc55e63..7cd4cb1 100644 --- a/ignore.html +++ b/ignore.html @@ -49,7 +49,7 @@ {{:form_errors}} {{/form}} -{{:admin_header title="Ignorer l'écriture" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Ignorer l'écriture" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/index.html b/index.html index bf12f85..ed61086 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ {{elseif $type_immo == "other"}} {{:admin_header title="Autres immobilisations" custom_css="./style.css" current="module_amortization"}} {{elseif $type_immo == "unfinished"}} - {{:admin_header title="Immobilisations en cours" custom_css="./style.css" current="module_amortization"}} + {{:admin_header title="Immobilisations en cours de constitution" custom_css="./style.css" current="module_amortization"}} {{/if}} {{:include file="_nav.html" current="index" subcurrent="%s"|args:$type_immo}} diff --git a/other_amortizations.html b/other_amortizations.html index 6ce187e..4669742 100644 --- a/other_amortizations.html +++ b/other_amortizations.html @@ -63,7 +63,7 @@ {{/select}} {{/select}} -{{:admin_header title="Amortissements non rattachés" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Amortissements non rattachés" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/save_amort.html b/save_amort.html index a26412a..c2cfa63 100644 --- a/save_amort.html +++ b/save_amort.html @@ -208,7 +208,7 @@ {{:redirect force="amortization.html?immo_id=%s&ok=1&msg=amortissement"|args:$_GET.immo_id}} {{/form}} -{{:admin_header title="Ajout amortissement" current="module_amortissement"}} +{{:admin_header title="Ajout amortissement" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}} diff --git a/transfer.html b/transfer.html index 350abd7..c356497 100644 --- a/transfer.html +++ b/transfer.html @@ -1,6 +1,6 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Transfert d'immobilisation en cours" current="module_amortissement"}} +{{:admin_header title="Transfert d'immobilisation en cours" custom_css="./style.css" current="module_amortization"}} {{:include file="_get_config.html" keep="module.config.prefixes"}} {{#years closed=false order="start_date" assign=years.}} @@ -196,7 +196,7 @@ {{* barre de navigation *}} {{if ! $dialog}} - {{:include file="_nav.html" current="index"}} + {{:include file="_nav.html" current="index" subcurrent="unfinished" subsubcurrent="transfer"}} {{/if}} {{:form_errors}} diff --git a/write_exit.html b/write_exit.html index 290ad26..616ff6b 100644 --- a/write_exit.html +++ b/write_exit.html @@ -248,7 +248,7 @@ {{:redirect to="index.html?type_immo=archived"}} {{/form}} -{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortissement"}} +{{:admin_header title="Sortie du bilan" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if ! $dialog}}