le champ closed de acc_years est devenu status

This commit is contained in:
Jean-Christophe Engel 2024-12-12 18:48:37 +01:00
parent 0e3a9669ec
commit ec1922e5dd
5 changed files with 7 additions and 5 deletions

View file

@ -196,7 +196,7 @@
{{#foreach count="%d+1"|math:$nbamort key="num"}}
{{:assign solde_prec=$solde}}
{{:assign solde="%f-%d"|math:$solde:$annuite_courante}}
{{#select id from acc_years where :amort_date >= start_date and :amort_date <= end_date and closed = 0; :amort_date=$date_amort|parse_date}}
{{#select id from acc_years where :amort_date >= start_date and :amort_date <= end_date and status == 0; :amort_date=$date_amort|parse_date}}
{{:assign enregistrer=1}}
{{:assign current_year=$id}}
{{else}}