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

Immobilisations archivées

+ {{:assign nb_immo=0}} diff --git a/_immobilisations.html b/_immobilisations.html index 28041ac..6144a45 100644 --- a/_immobilisations.html +++ b/_immobilisations.html @@ -3,6 +3,11 @@ {{* 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 c404863..f5cf801 100644 --- a/_immobilisations_autres.html +++ b/_immobilisations_autres.html @@ -3,12 +3,9 @@ {{* 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 517cc4d..323d316 100644 --- a/_nav.html +++ b/_nav.html @@ -8,7 +8,7 @@ {{elseif $subsubcurrent == "amortization" && $type_immo == null || $type_immo == "managed" || $type_immo == "other"}}
@@ -125,6 +156,30 @@
+{{* +

+ {{: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"}} @@ -189,3 +244,4 @@ }; + diff --git a/index.html b/index.html index 27fd870..586ea5b 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,5 @@ {{* -*- brindille -*- *}} +{{:admin_header title="Immobilisations et amortissements" custom_css="./style.css" current="module_amortization"}} {{* barre de navigation *}} {{if $_GET.type_immo == null}} @@ -7,16 +8,6 @@ {{: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}}