From 2fc7e5e902929403b4f372217b008d546458e267 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Thu, 21 Mar 2024 15:39:44 +0100 Subject: [PATCH] Correction code banque et calcul premier amortissement --- add_asset.html | 2 +- amortization.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/add_asset.html b/add_asset.html index 6869d8a..c4ed86e 100644 --- a/add_asset.html +++ b/add_asset.html @@ -73,7 +73,7 @@ {{:form_errors}} {{* formulaire d'ajout d'immobilisation *}} -{{:assign var="bank_account.512A" value="512A — Compte courant"}} +{{:assign var="bank_account.512" value="512 — Banques"}} {{#select id,label FROM acc_projects WHERE archived = 0;}} {{:assign var="projects.%d"|args:$id value=$label}} diff --git a/amortization.html b/amortization.html index a9daca2..960bf77 100644 --- a/amortization.html +++ b/amortization.html @@ -176,7 +176,7 @@ {{:assign project_id=$ligne_immo.project_id}} {{:assign project_label=$ligne_immo.project_label}} {{:assign nbamort="%d-%d"|math:$duree:$nbamort}} - {{:assign annuite_courante="min(%f,%f)"|math:$annuite:$solde}} + {{:assign annuite_courante="min(%f,%f)"|math:$annuite_courante:$solde}}

Amortissements à enregistrer