diff --git a/other_amortizations.html b/other_amortizations.html index 61f870f..6626368 100644 --- a/other_amortizations.html +++ b/other_amortizations.html @@ -22,13 +22,13 @@ {{:include file="_get_credit_lines.html" immo_doc_id=$_GET.immo_doc_id keep="linked_immos, total_credits"}} {{:assign montant_immo="%d-%d"|math:$montant_immo:$total_credits}} +{{* déterminer le compte d'amortissement en fonction du compte d'immobilisation *}} +{{:include + file="./_get_amort_code.html" + code_immo=$ligne_immo.account_code + keep="code_amort" +}} {{if $_GET.filter}} - {{* déterminer le compte d'amortissement en fonction du compte d'immobilisation *}} - {{:include - file="./_get_amort_code.html" - code_immo=$ligne_immo.account_code - keep="code_amort" - }} {{:assign filter_condition="account.code = "|cat:$code_amort}} {{else}} {{:assign account_filter="28%"|quote_sql}}