ajout arrondi calcul date

This commit is contained in:
Jean-Christophe Engel 2025-02-04 14:52:50 +01:00
parent 17d132ffa2
commit 9ac427415a
2 changed files with 2 additions and 4 deletions

View File

@ -16,6 +16,4 @@
{{:assign nbjours="-1*%d"|math:$nbjours}} {{:assign nbjours="-1*%d"|math:$nbjours}}
{{/if}} {{/if}}
{{* pour simplifier : 360 jours par an *}} {{* pour simplifier : 360 jours par an *}}
{{if $nbjours > 360}} {{:assign nbjours="round(%f/365*360)"|math:$nbjours}}
{{:assign nbjours=360}}
{{/if}}

View File

@ -1,5 +1,5 @@
name="Amortissements" name="Amortissements"
description="Gestion des amortissements pour le logiciel de comptabilité Paheko (v0.14)" description="Gestion des amortissements pour le logiciel de comptabilité Paheko (v0.16)"
author="Jean-Christophe Engel" author="Jean-Christophe Engel"
author_url="https://git.roflcopter.fr/lesanges" author_url="https://git.roflcopter.fr/lesanges"
home_button=false home_button=false