changement identificateur

This commit is contained in:
Jean-Christophe Engel 2024-03-14 11:03:54 +01:00
parent f3c2d2c884
commit b45e53f5ea
5 changed files with 10 additions and 10 deletions

View file

@ -42,7 +42,7 @@
trans.id as trans_id,
trans.label as trans_label,
trans.date as trans_date,
line.id as line_id,
line.id as immo_id,
account.code as account_code,
account.label as account_label,
line.debit AS debit,
@ -57,7 +57,7 @@
ORDER BY trans.date DESC
}}
{{:assign trans_url="%s/acc/transactions/details.php?id=%s"|args:$admin_url:$trans_id}}
{{#load type="immo" where="$$.line = :line_id" :line_id=$line_id|intval}}
{{#load type="immo" where="$$.line = :line_id" :line_id=$immo_id|intval}}
{{*:debug info_immo=$info_immo*}}
{{:assign duration=$duration}}
{{else}}
@ -77,14 +77,14 @@
{{if $duration == null}}
{{:linkbutton
label="Ajouter durée"
href="add_duration.html?line_id=%s"|args:$line_id
href="add_duration.html?immo_id=%s"|args:$immo_id
shape="help"
target="_dialog"
}}
{{else}}
{{:linkbutton
label="Amortissements"
href="amortization.html?line_id=%s"|args:$line_id
href="amortization.html?immo_id=%s"|args:$immo_id
shape="table"
}}
{{/if}}