Compare commits
3 commits
0688ad0fec
...
79e536a0b3
Author | SHA1 | Date | |
---|---|---|---|
![]() |
79e536a0b3 | ||
![]() |
ff4b295cf6 | ||
![]() |
19e2fed248 |
9 changed files with 15 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
||||||
{{* -*- brindille -*- *}}
|
{{* -*- brindille -*- *}}
|
||||||
|
|
||||||
{{* Liste des immobilisations amortissable ou à définir *}}
|
{{* Liste des immobilisations en cours ou amorties *}}
|
||||||
|
|
||||||
<section class="immobilisation">
|
<section class="immobilisation">
|
||||||
{{if $type_immo == "encours"}}
|
{{if $type_immo == "encours"}}
|
||||||
|
|
|
@ -110,21 +110,21 @@
|
||||||
{{if $status == "nsp"}}
|
{{if $status == "nsp"}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Amortir"
|
label="Amortir"
|
||||||
href="add_infos.html?immo_id=%s&amort=0&op=new&type_immo=autres"|args:$immo_id
|
href="add_infos.html?immo_id=%s&amort=0&op=new&type_immo=autre"|args:$immo_id
|
||||||
shape="settings"
|
shape="settings"
|
||||||
target="_dialog"
|
target="_dialog"
|
||||||
}}
|
}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Amortir"
|
label="Amortir"
|
||||||
href="add_infos.html?immo_id=%s&amort=0&op=modif&type_immo=autres"|args:$immo_id
|
href="add_infos.html?immo_id=%s&amort=0&op=modif&type_immo=autre"|args:$immo_id
|
||||||
shape="settings"
|
shape="settings"
|
||||||
target="_dialog"
|
target="_dialog"
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{:linkbutton
|
{{:linkbutton
|
||||||
label="Amortissements"
|
label="Amortissements"
|
||||||
href="amortization.html?immo_id=%s&type_immo=autres"|args:$immo_id
|
href="amortization.html?immo_id=%s&type_immo=autre"|args:$immo_id
|
||||||
shape="table"
|
shape="table"
|
||||||
}}
|
}}
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<aside>
|
<aside>
|
||||||
{{:linkbutton label="Ajouter une immobilisation" shape="plus" href="add_asset.html" target="_dialog"}}
|
{{:linkbutton label="Ajouter une immobilisation" shape="plus" href="add_asset.html" target="_dialog"}}
|
||||||
</aside>
|
</aside>
|
||||||
{{elseif $subsubcurrent == "amortization" && $type_immo == null || $type_immo == "encours" || $type_immo == "autres"}}
|
{{elseif $subsubcurrent == "amortization" && $type_immo == null || $type_immo == "encours" || $type_immo == "autre"}}
|
||||||
<aside>
|
<aside>
|
||||||
{{if $autres_amort != null}}
|
{{if $autres_amort != null}}
|
||||||
{{:linkbutton label="Attacher un amortissement" href="other_amortizations.html?immo_id=%s"|args:$_GET.immo_id shape="plus" target="_dialog"}}
|
{{:linkbutton label="Attacher un amortissement" href="other_amortizations.html?immo_id=%s"|args:$_GET.immo_id shape="plus" target="_dialog"}}
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
<li {{if $subcurrent == 'encours'}}class="current"{{/if}}><a href="index.html?type_immo=encours">En cours</a></li>
|
<li {{if $subcurrent == 'encours'}}class="current"{{/if}}><a href="index.html?type_immo=encours">En cours</a></li>
|
||||||
<li {{if $subcurrent == 'amortie'}}class="current"{{/if}}><a href="index.html?type_immo=amortie">Amorties</a></li>
|
<li {{if $subcurrent == 'amortie'}}class="current"{{/if}}><a href="index.html?type_immo=amortie">Amorties</a></li>
|
||||||
<li {{if $subcurrent == 'sortie'}}class="current"{{/if}}><a href="index.html?type_immo=sortie">Sorties du bilan</a></li>
|
<li {{if $subcurrent == 'sortie'}}class="current"{{/if}}><a href="index.html?type_immo=sortie">Sorties du bilan</a></li>
|
||||||
<li {{if $subcurrent == 'autres'}}class="current"{{/if}}><a href="index.html?type_immo=autres">Autres</a></li>
|
<li {{if $subcurrent == 'autre'}}class="current"{{/if}}><a href="index.html?type_immo=autre">Autres</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
|
@ -117,11 +117,11 @@
|
||||||
status=$status
|
status=$status
|
||||||
}}
|
}}
|
||||||
{{if $_POST.amortir}}
|
{{if $_POST.amortir}}
|
||||||
{{:assign amort="encours"}}
|
{{:assign type_immo="encours"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{:assign amort="autres"}}
|
{{:assign type_immo="autre"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{:redirect force="index.html?ok=1&msg=immobilisation&amort=%s"|args:$amort}}
|
{{:redirect force="index.html?ok=1&msg=immobilisation&type_immo=%s"|args:$type_immo}}
|
||||||
{{/form}}
|
{{/form}}
|
||||||
|
|
||||||
{{:admin_header title="Ajout immobilisation" current="module_amortissement"}}
|
{{:admin_header title="Ajout immobilisation" current="module_amortissement"}}
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
}}
|
}}
|
||||||
|
|
||||||
{{if ! $_POST.amortir}}
|
{{if ! $_POST.amortir}}
|
||||||
{{:assign type_immo="autres"}}
|
{{:assign type_immo="autre"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{:assign type_immo=$_GET.type_immo}}
|
{{:assign type_immo=$_GET.type_immo}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -115,7 +115,7 @@
|
||||||
{{elseif $_GET.type_immo == null || $_GET.type_immo == "encours"}}
|
{{elseif $_GET.type_immo == null || $_GET.type_immo == "encours"}}
|
||||||
{{:assign subcurrent="encours"}}
|
{{:assign subcurrent="encours"}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{:assign subcurrent="autres"}}
|
{{:assign subcurrent="autre"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{:include
|
{{:include
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
{{/select}}
|
{{/select}}
|
||||||
{{/load}}
|
{{/load}}
|
||||||
|
|
||||||
{{if $type_immo == "autres"}}
|
{{if $type_immo == "autre"}}
|
||||||
{{:include file="_immobilisations_autres.html"}}
|
{{:include file="_immobilisations_autres.html"}}
|
||||||
{{elseif $type_immo == "sortie"}}
|
{{elseif $type_immo == "sortie"}}
|
||||||
{{:include file="_archives.html"}}
|
{{:include file="_archives.html"}}
|
||||||
|
|
|
@ -61,9 +61,9 @@
|
||||||
{{:include
|
{{:include
|
||||||
file="_nav.html"
|
file="_nav.html"
|
||||||
current="index"
|
current="index"
|
||||||
subcurrent="autres"
|
subcurrent="autre"
|
||||||
subsubcurrent="amortization"
|
subsubcurrent="amortization"
|
||||||
type_immo="autres"
|
type_immo="autre"
|
||||||
autres_amort=$autres_amortissements
|
autres_amort=$autres_amortissements
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -260,7 +260,7 @@
|
||||||
}}
|
}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{:redirect to="index.html?amort=sortie"}}
|
{{:redirect to="index.html?type_immo=sortie"}}
|
||||||
{{/form}}
|
{{/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_amortissement"}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue