Simplification processus mise-à-niveau
This commit is contained in:
parent
5db235669f
commit
f74590b117
3 changed files with 18 additions and 41 deletions
21
config.html
21
config.html
|
|
@ -129,27 +129,6 @@
|
|||
{{/if}}
|
||||
|
||||
<form method="post" action="">
|
||||
{{* 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}}
|
||||
<fieldset>
|
||||
<legend>Mettre à niveau le module</legend>
|
||||
<p class="block alert">
|
||||
Une nouvelle version du module {{$module.label}}
|
||||
est disponible ; veuillez cliquer sur le buton
|
||||
« Mettre à niveau le module » pour effectuer la
|
||||
mise à niveau
|
||||
</p>
|
||||
{{:linkbutton
|
||||
label="Mettre à niveau le module"
|
||||
href="upgrade.html"
|
||||
shape="reset"
|
||||
class="main"
|
||||
}}
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
|
||||
<h3>Comptes d'immobilisation amortissables</h3>
|
||||
<p class="help">
|
||||
|
|
|
|||
33
index.html
33
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 @@
|
|||
<p class="block error">Échec enregistrement immobilisation</p>
|
||||
{{/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"}}
|
||||
|
|
|
|||
|
|
@ -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"}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue