Correction bug
This commit is contained in:
1 parent
8e1b82d161
commit
dc05e633c6
2 files changed
+64
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user