Simplification paramètres add_info
This commit is contained in:
parent
e3bbdf7574
commit
f1f6910a36
3 changed files with 6 additions and 8 deletions
|
@ -131,7 +131,6 @@
|
|||
{{/if}}
|
||||
{{/select}}
|
||||
|
||||
|
||||
{{* classement par onglet *}}
|
||||
{{if $type_immo == "managed" && $amort_amount >= $debit}}{{:continue}}{{/if}}
|
||||
{{if $type_immo == "managed" && $status == "amortized"}}{{:continue}}{{/if}}
|
||||
|
@ -151,14 +150,14 @@
|
|||
{{if ! $exist_amort}}
|
||||
{{:linkbutton
|
||||
label="Paramètres"
|
||||
href="add_infos.html?immo_id=%s&op=modif&type_immo=%s"|args:$immo_id:$type_immo
|
||||
href="add_infos.html?immo_id=%s&type_immo=%s"|args:$immo_id:$type_immo
|
||||
shape="settings"
|
||||
target="_dialog"
|
||||
}}
|
||||
{{elseif $status == "unknown"}}
|
||||
{{:linkbutton
|
||||
label="Paramètres"
|
||||
href="add_infos.html?immo_id=%s&op=new&type_immo=%s"|args:$immo_id:$type_immo
|
||||
href="add_infos.html?immo_id=%s&type_immo=%s"|args:$immo_id:$type_immo
|
||||
shape="settings"
|
||||
target="_dialog"
|
||||
}}
|
||||
|
|
|
@ -123,21 +123,21 @@
|
|||
{{if $status == "unknown"}}
|
||||
{{:linkbutton
|
||||
label="Paramètres"
|
||||
href="add_infos.html?immo_id=%s&op=new&type_immo=autre"|args:$immo_id
|
||||
href="add_infos.html?immo_id=%s&type_immo=other"|args:$immo_id
|
||||
shape="settings"
|
||||
target="_dialog"
|
||||
}}
|
||||
{{else}}
|
||||
{{:linkbutton
|
||||
label="Paramètres"
|
||||
href="add_infos.html?immo_id=%s&op=modif&type_immo=autre"|args:$immo_id
|
||||
href="add_infos.html?immo_id=%s&type_immo=other"|args:$immo_id
|
||||
shape="settings"
|
||||
target="_dialog"
|
||||
}}
|
||||
{{/if}}
|
||||
{{:linkbutton
|
||||
label="Amortissements"
|
||||
href="amortization.html?immo_id=%s&type_immo=autre"|args:$immo_id
|
||||
href="amortization.html?immo_id=%s&type_immo=other"|args:$immo_id
|
||||
shape="table"
|
||||
}}
|
||||
</td>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
{{*
|
||||
@param immo_id
|
||||
@param op = new ou modif
|
||||
@param type_immo : managed, amortized, archived, other
|
||||
*}}
|
||||
|
||||
|
@ -52,7 +51,7 @@
|
|||
{{/if}}
|
||||
|
||||
{{* enregistrer les infos de l'immobilisation *}}
|
||||
{{if $_GET.op == "new"}}
|
||||
{{if $info_immo == null}}
|
||||
{{:assign key=""|uuid}}
|
||||
{{else}}
|
||||
{{:assign key=$info_immo.key}}
|
||||
|
|
Loading…
Add table
Reference in a new issue