62 lines
2.4 KiB
HTML
62 lines
2.4 KiB
HTML
{{* -*- brindille -*- *}}
|
||
|
||
{{* barre de navigation *}}
|
||
{{if $_GET.type_immo == null}}
|
||
{{:assign type_immo="managed"}}
|
||
{{else}}
|
||
{{: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}}
|
||
|
||
{{:include file="_nav.html" current=$type_immo}}
|
||
|
||
{{if $_GET.ok}}
|
||
{{if $_GET.msg|match:"immobilisation"}}
|
||
{{:assign msg="Immobilisation enregistrée"}}
|
||
{{elseif $_GET.msg|match:"suppr_infos"}}
|
||
{{:assign msg="Informations supprimées"}}
|
||
{{elseif $_GET.msg|match:"infos"}}
|
||
{{:assign msg="Informations enregistrées"}}
|
||
{{/if}}
|
||
<p class="block confirm">{{$msg}}</p>
|
||
{{elseif $_GET.err}}
|
||
<p class="block error">Échec enregistrement immobilisation</p>
|
||
{{/if}}
|
||
|
||
{{* supprimer les documents sans écriture associée *}}
|
||
{{:include file="_remove_orphan_docs.tpl"}}
|
||
|
||
{{* vérifier si une nouvelle version du module est installée *}}
|
||
{{:include file="_check_version.html" keep="new_version"}}
|
||
|
||
{{if $new_version}}
|
||
<p class="block alert">
|
||
Une nouvelle version du module est disponible.<br />
|
||
Pour effectuer la mise à niveau, il faut d'abord aller sur la
|
||
<a id="module_link" href={{"%s/config/ext/details.php?name=%s"|args:$admin_url:$module.name}}>
|
||
page du module {{$module.label}}</a>, cliquer le bouton « Configurer » et enfin cliquer le bouton
|
||
« Mettre à niveau le module »
|
||
</p>
|
||
{{else}}
|
||
{{if $type_immo == "other"}}
|
||
{{:include file="_immobilisations_autres.html"}}
|
||
{{elseif $type_immo == "archived"}}
|
||
{{:include file="_archives.html"}}
|
||
{{elseif $type_immo == "unfinished"}}
|
||
{{:include file="_unfinished.html"}}
|
||
{{elseif $type_immo == "managed" || $type_immo == "amortized"}}
|
||
{{:include file="_immobilisations.html"}}
|
||
{{/if}}
|
||
{{/if}}
|
||
{{:admin_footer}}
|