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 // Temporaire pour établir le binding de la vue
operations = new List<Operation>(); operations = new List<Operation>();
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45)); operations.Add(new("op", 33.44, DateTime.Now, MethodePayement.CB, TagOperation.Divers, false));
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80)); operations.Add(new("course", 45.20, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48)); operations.Add(new("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45)); operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
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));
BindingContext = operations; BindingContext = operations;
} }

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

@ -11,7 +11,7 @@ namespace Model
public List<Banque> Banques = new(); public List<Banque> Banques = new();
public List<Inscrit> Inscrits = new(); public List<Inscrit> Inscrits = new();
public List<Compte> Comptes = new(); public List<Compte> Comptes = new();
public List<Operation> operations = new();
// ajouter load all pour tout les inscrits // ajouter load all pour tout les inscrits
@ -40,14 +40,7 @@ namespace Model
return Comptes; 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 public enum TagOperation
{ {
None,
Alimentaire, Alimentaire,
Carburant, Carburant,
Habitation, Habitation,

Loading…
Cancel
Save