Correction bug

This commit is contained in:
ocroguennec committed 2026-08-22 17:59:17 +02:00
1 parent 8e1b82d161
commit dc05e633c6
2 files changed
+64 -4

No files matched your search

+2 -1
View File
@@ -73,7 +73,8 @@ const PerteSchema = z.object({
function regenererEcheancier(investissementId) {
const inv = db.prepare(`
SELECT id, montant_investi, taux_interet, duree_mois, type_remb, freq_interets,
date_premiere_echeance, date_debut_simul, date_souscription, echeance_fin_de_mois
date_premiere_echeance, date_debut_simul, date_souscription, echeance_fin_de_mois,
date_cible
FROM investissements WHERE id = ?
`).get(investissementId);
if (!inv) return;