Mutualisation _detach_xxx
This commit is contained in:
parent
f735245273
commit
275a7a18ca
27 changed files with 88 additions and 179 deletions
|
|
@ -8,7 +8,6 @@
|
|||
@result total_amort : montant total des amortissements de l'immobilisation
|
||||
@result created_amort : vrai s'il y a au moins un amortissement créé par le module dans la liste
|
||||
*}}
|
||||
|
||||
{{:assign total_amort=0}}
|
||||
{{#load type="amort_link"
|
||||
where="$$.immo_doc_id = :immo_doc_id"
|
||||
|
|
@ -31,7 +30,7 @@
|
|||
INNER join acc_accounts AS account on line.id_account = account.id
|
||||
WHERE line.id = :amort_line_id
|
||||
;
|
||||
:amort_line_id = $amort_line_id
|
||||
:amort_line_id = $amort_info.line_id
|
||||
assign="amort_line"
|
||||
}}
|
||||
{{:assign var="amort_line.amount" value=$amort_info.amount|or:$amort_line.amount}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue