Correction erreur date début amortissement importé depuis balance initiale

This commit is contained in:
Jean-Christophe Engel 2026-09-11 15:25:38 +02:00
parent d149a85018
commit 3173b06cf1
2 changed files with 10 additions and 6 deletions

View file

@ -9,4 +9,4 @@
{{:assign ts_debut=$date_debut|strtotime}}
{{:assign ts_fin=$date_fin|strtotime}}
{{:assign nbjours="1+abs(%d-%d)/(60*60*24)"|math:$ts_fin:$ts_debut}}
{{:assign nbjours="round(1+abs(%d-%d)/(60*60*24), 0)"|math:$ts_fin:$ts_debut}}