Correction code banque et calcul premier amortissement

This commit is contained in:
Jean-Christophe Engel 2024-03-21 15:39:44 +01:00
parent 01ea1ad3dd
commit 2fc7e5e902
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@
{{:form_errors}} {{:form_errors}}
{{* formulaire d'ajout d'immobilisation *}} {{* 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;}} {{#select id,label FROM acc_projects WHERE archived = 0;}}
{{:assign var="projects.%d"|args:$id value=$label}} {{:assign var="projects.%d"|args:$id value=$label}}

View File

@ -176,7 +176,7 @@
{{:assign project_id=$ligne_immo.project_id}} {{:assign project_id=$ligne_immo.project_id}}
{{:assign project_label=$ligne_immo.project_label}} {{:assign project_label=$ligne_immo.project_label}}
{{:assign nbamort="%d-%d"|math:$duree:$nbamort}} {{: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}}
<section class="amortissement"> <section class="amortissement">
<h3 class="ruler">Amortissements à enregistrer</h3> <h3 class="ruler">Amortissements à enregistrer</h3>
<table class="list"> <table class="list">