Ne pas lister amortissements antérieurs mise en service immo
This commit is contained in:
parent
64d4788e76
commit
2b6ac366ec
3 changed files with 15 additions and 6 deletions
|
|
@ -39,7 +39,11 @@
|
|||
{{* lister les amortissements non attachés à une immo *}}
|
||||
{{:assign account_filter="28%"|quote_sql}}
|
||||
{{:assign filter_condition="account.code LIKE "|cat:$account_filter}}
|
||||
{{:include file="./_get_free_amort.html" filter_condition=$filter_condition keep="free_amort_lines"}}
|
||||
|
||||
{{:assign date_amort=$date_debut|quote_sql}}
|
||||
{{:assign date_condition="trans.date >= "|cat:$date_amort}}
|
||||
{{:assign condition=$date_condition|cat:" AND "|cat:$filter_condition}}
|
||||
{{:include file="./_get_free_amort.html" condition=$condition keep="free_amort_lines"}}
|
||||
{{/if}}
|
||||
|
||||
{{:admin_header title="Détails de l'immobilisation" custom_css="./style.css" current="module_amortization"}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue