Fix bug with transaction, do a transfer to self
continuous-integration/drone/push Build is passing Details

pull/69/head^2
Titouan LOUVET 2 years ago
parent 5c59cc9e00
commit 05b6588cf4

@ -19,6 +19,11 @@ public partial class TransferPage : ContentPage
await DisplayAlert("Erreur", "Tout les champs doivent être complétés", "OK");
return;
}
if(Name.Text == Mgr.SelectedAccount.Name && IBAN.Text == Mgr.SelectedAccount.IBAN)
{
await DisplayAlert("Erreur", "Vous ne pouvez vous faire de virement à vous même", "OK");
return;
}
foreach (var cust in Mgr.CustomersList)
{
foreach (var acc in cust.AccountsList)

Loading…
Cancel
Save