diff --git a/Sources/Data/ClientAPI.cs b/Sources/Data/ClientAPI.cs index 719927f..2434955 100644 --- a/Sources/Data/ClientAPI.cs +++ b/Sources/Data/ClientAPI.cs @@ -423,7 +423,7 @@ namespace Data var dataBody = new Dictionary { { "compte", compte.Identifiant }, - { "nom", echeance.IntituleOperation }, + { "nom", echeance.Nom }, { "montant", echeance.Montant.ToString() }, { "dateO", echeance.DateOperation.ToString() }, { "methodePayement", echeance.ModePayement.ToString() }, diff --git a/Sources/Data/PersAPI.cs b/Sources/Data/PersAPI.cs index fc5d396..d16add8 100644 --- a/Sources/Data/PersAPI.cs +++ b/Sources/Data/PersAPI.cs @@ -117,7 +117,7 @@ namespace Data } public async Task SupprimerEcheance(Compte compte, Echeance echeance) { - return await ClientAPI.DeleteEcheanceInscritAsync(compte.Identifiant, echeance.IntituleOperation); + return await ClientAPI.DeleteEcheanceInscritAsync(compte.Identifiant, echeance.Nom); } public async Task> RecupererEcheance(Compte compte) { diff --git a/Sources/IHM/Desktop/Compte.xaml b/Sources/IHM/Desktop/Compte.xaml index 760e16e..2adb241 100644 --- a/Sources/IHM/Desktop/Compte.xaml +++ b/Sources/IHM/Desktop/Compte.xaml @@ -49,13 +49,13 @@ -