diff --git a/_archives.html b/_archives.html index 0bf6672..eea991f 100644 --- a/_archives.html +++ b/_archives.html @@ -78,8 +78,6 @@ {{/select}}
-

Immobilisations archivées

- {{:assign nb_immo=0}} diff --git a/_immobilisations.html b/_immobilisations.html index 6144a45..28041ac 100644 --- a/_immobilisations.html +++ b/_immobilisations.html @@ -3,11 +3,6 @@ {{* Liste des immobilisations en cours ou amorties *}}
- {{if $type_immo == "managed"}} -

Immobilisations en cours

- {{elseif $type_immo == "amortized"}} -

Immobilisations amorties

- {{/if}} {{:assign nb_immo=0}}
diff --git a/_immobilisations_autres.html b/_immobilisations_autres.html index f5cf801..c404863 100644 --- a/_immobilisations_autres.html +++ b/_immobilisations_autres.html @@ -3,9 +3,12 @@ {{* Liste des immobilisations non amortissables ou non (encore) gérées *}}
-

Autres immobilisations

{{:assign nb_immo=0}} +

+ Cette page liste les écritures pas (encore) prises en charges par le module ou classées non amortissables +

+
{{:input type="checkbox" value=1 name="unhide" label="Afficher les écritures marquées ignorées" }} diff --git a/_nav.html b/_nav.html index 323d316..517cc4d 100644 --- a/_nav.html +++ b/_nav.html @@ -8,7 +8,7 @@ {{elseif $subsubcurrent == "amortization" && $type_immo == null || $type_immo == "managed" || $type_immo == "other"}}
@@ -156,30 +125,6 @@
-{{* -

- {{:button shape="plus" label="Ajouter" title="Ajouter un compte"}} -*}} - {{*:button shape="plus" label="Ajouter un compte" onclick="var a = $('#asset_prefixes tbody')[0].lastElementChild; var b = a.cloneNode(true); b.querySelectorAll('input, select').forEach((e) => e.value = null); a.parentNode.append(b);"*}} -{{* -

- *}} - -{{* -
-
- {{:input - type="list" - name="immo_account" - label="Ajouter un compte d'immobilisation" - target="!acc/charts/accounts/selector.php?codes=2*&year=%s"|args:$selected_year - }} -*}} - {{*:input type="checkbox" name="tva" value=1 label="TVA" source=$config help="Cocher si l'asso est assujettie à la TVA"*}} -{{* -
-
-*}}

{{:button type="submit" name="save" label="Enregistrer" shape="right" class="main"}} @@ -244,4 +189,3 @@ }; - diff --git a/index.html b/index.html index 586ea5b..27fd870 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,4 @@ {{* -*- brindille -*- *}} -{{:admin_header title="Immobilisations et amortissements" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if $_GET.type_immo == null}} @@ -8,6 +7,16 @@ {{:assign type_immo=$_GET.type_immo}} {{/if}} + {{if $type_immo == "managed"}} + {{:admin_header title="Immobilisations en cours" 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="Autres immobilisations" custom_css="./style.css" current="module_amortization"}} + {{/if}} + {{:include file="_nav.html" current="index" subcurrent="%s"|args:$type_immo}} {{if $_GET.ok}}