Correction erreur numéro exercice
This commit is contained in:
parent
486fc54569
commit
6cbc624146
@ -245,6 +245,7 @@
|
||||
{{:assign solde="%f-%d"|math:$solde:$annuite_courante}}
|
||||
{{#select id from acc_years where end_date = :end_date and closed = 0; :end_date=$date_amort|parse_date}}
|
||||
{{:assign enregistrer=1}}
|
||||
{{:assign current_year=$id}}
|
||||
{{else}}
|
||||
{{:assign enregistrer=0}}
|
||||
{{/select}}
|
||||
@ -280,7 +281,6 @@
|
||||
{{:assign annee=$date_amort|date:"Y"}}
|
||||
{{:assign annee="%d+1"|math:$annee}}
|
||||
{{:assign date_amort="%s/%s/%s"|args:$jour:$mois:$annee|parse_date|date_short}}
|
||||
{{:assign current_year="%d+1"|math:$current_year}}
|
||||
{{:assign annuite_courante="min(%f,%f)"|math:$annuite:$solde}}
|
||||
{{if $solde == 0}}{{:break}}{{/if}}
|
||||
{{/foreach}}
|
||||
|
Loading…
Reference in New Issue
Block a user