Simplification navigation

This commit is contained in:
Jean-Christophe Engel 2026-06-15 12:13:24 +02:00
parent a99bcc1753
commit 7903afbd0c
15 changed files with 84 additions and 84 deletions

View file

@ -9,7 +9,9 @@
@param date_debut : date de début de la période d'amortissement complémentaire
@param exit_date : date de sortie de l'immobilisation
*}}
{{* TODO *}}
{{* TODO boutons de navigation avant-arrière*}}
{{* données de l'immobilisation *}}
{{:include file="_get_immo_data.html" immo_doc_id=$_GET.immo_doc_id|intval keep="info_immo, ligne_immo, message"}}
{{if $message != null}}
@ -58,7 +60,12 @@
{{* barre de navigation *}}
{{if ! $dialog}}
{{:include file="_nav.html" current="index" subcurrent="balance_exit"}}
{{if $valeur_nette > 0}}
{{:assign type_immo="managed"}}
{{else}}
{{:assign type_immo="amortized"}}
{{/if}}
{{:include file="_nav.html" current="%s"|args:$type_immo subcurrent="balance_exit"}}
{{/if}}
{{:form_errors}}