maj operation
continuous-integration/drone/push Build is passing Details

UI_Windows
Nicolas MAYE 2 years ago
parent 63ce16c531
commit 67d9773fb8

@ -13,39 +13,13 @@ public partial class Operations : ContentView
// Temporaire pour établir le binding de la vue
operations = new List<Operation>();
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
operations.Add(new("op", 33.44, DateTime.Now, MethodePayement.CB, TagOperation.Divers, false));
operations.Add(new("course", 45.20, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
operations.Add(new("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
BindingContext = operations;
}

@ -9,10 +9,10 @@ namespace Model
public enum MethodePayement
{
None,
Cb,
Esp,
Chq,
Vir,
Pre
CB,
Espece,
Cheque,
Virement,
Prevelement
}
}

@ -11,7 +11,7 @@ namespace Model
public List<Banque> Banques = new();
public List<Inscrit> Inscrits = new();
public List<Compte> Comptes = new();
public List<Operation> operations = new();
// ajouter load all pour tout les inscrits
@ -40,14 +40,7 @@ namespace Model
return Comptes;
}
// Load les opérations
public List<Operation> loadOperation()
{
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
return operations;
}

@ -8,6 +8,7 @@ namespace Model
{
public enum TagOperation
{
None,
Alimentaire,
Carburant,
Habitation,

Loading…
Cancel
Save