Merge branch 'Binding' of https://codefirst.iut.uca.fr/git/ConsEcoTeam/ConsEco into Binding
continuous-integration/drone/push Build is failing Details

Binding
Nicolas MAYE 2 years ago
commit d9728cf0fc

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -91,7 +91,7 @@
HorizontalOptions="Center"
VerticalOptions="Center"/>
<Label Grid.Column="1" Text="{Binding DateOperation}"
<Label Grid.Column="1" Text="{Binding DateOperation, StringFormat='{0:d}'}"
TextColor="{StaticResource Secondary}"
FontAttributes="Bold" FontSize="Body"
HorizontalOptions="Center"

@ -94,7 +94,7 @@
HorizontalOptions="Center"
VerticalOptions="Center"/>
<Label Grid.Column="1" Text="{Binding DateOperation}"
<Label Grid.Column="1" Text="{Binding DateOperation, StringFormat='{0:d}'}"
TextColor="{StaticResource Secondary}"
FontAttributes="Bold" FontSize="Body"
HorizontalOptions="Center"

@ -108,7 +108,7 @@
HorizontalOptions="Center"
VerticalOptions="Center"/>
<Label Grid.Column="1" Text="{Binding DateOperation}"
<Label Grid.Column="1" Text="{Binding DateOperation, StringFormat='{0:d}'}"
TextColor="{StaticResource Secondary}"
FontAttributes="Bold" FontSize="Body"
HorizontalOptions="Center"

@ -82,7 +82,7 @@
Margin="50,0,0,0"
FontAttributes="Italic"/>
<Label Grid.Row="0" Grid.Column="2"
Text="{Binding DateOperation}"/>
Text="{Binding DateOperation, StringFormat='{0:d}'}"/>
<Label Grid.Row="1" Grid.Column="2"
Text="{Binding Montant}"
FontAttributes="Bold"

@ -34,7 +34,7 @@
FontAttributes="Italic"
Margin="50,0,0,0"/>
<Label Grid.Row="0" Grid.Column="2"
Text="{Binding DateOperation}"/>
Text="{Binding DateOperation, StringFormat='{0:d}'}"/>
<Label Grid.Row="1" Grid.Column="2"
Text="{Binding Montant}"
FontAttributes="Bold"

@ -35,7 +35,7 @@
FontAttributes="Italic"
Margin="50,0,0,0"/>
<Label Grid.Row="0" Grid.Column="2"
Text="{Binding DateOperation}"/>
Text="{Binding DateOperation, StringFormat='{0:d}'}"/>
<Label Grid.Row="1" Grid.Column="2"
Text="{Binding Montant}"
FontAttributes="Bold"

@ -23,11 +23,11 @@ namespace Model
public TagOperation Tag { get; private set; }
[JsonConstructor]
public Echeance(string nom, double montant, DateTime dateOperation, MethodePayement methodePayement, TagOperation tag, bool isDebit = true)
public Echeance(string nom, double montant, DateTime dateO, MethodePayement methodePayement, TagOperation tag, bool isDebit = true)
{
Nom = nom;
Montant = montant;
DateOperation = dateOperation;
DateOperation = dateO;
ModePayement = methodePayement;
IsDebit = isDebit;
Tag = tag;

@ -94,19 +94,7 @@ namespace Model
private IList<BanqueInscrit> listeDesBanques = new List<BanqueInscrit>();
//private IList<BanqueInscrit> listeDesBanques = new List<BanqueInscrit>();
/*public ReadOnlyCollection<BanqueInscrit> AllBanque
{
get => allBanque;
set
{
if (allBanque != value)
{
allBanque = value;
OnPropertyChanged(nameof(AllBanque));
}
}
}
private ReadOnlyCollection<BanqueInscrit> allBanque;*/
public ReadOnlyCollection<BanqueInscrit> AllBanque { get; private set; }
public List<Compte> ListeDesComptes
{
@ -122,13 +110,13 @@ namespace Model
}
private List<Compte> listeDesComptes = new List<Compte>();
//public ReadOnlyCollection<Compte> AllCompte { get; private set; }
public ReadOnlyCollection<Compte> AllCompte { get; private set; }
public Manager(IPersistanceManager persistance)
{
//AllBanque = new ReadOnlyCollection<BanqueInscrit>(listeDesBanques);
//AllCompte = new ReadOnlyCollection<Compte>(listeDesComptes);
AllBanque = new ReadOnlyCollection<BanqueInscrit>(ListeDesBanques);
AllCompte = new ReadOnlyCollection<Compte>(ListeDesComptes);
Pers = persistance;
}

@ -38,11 +38,11 @@ namespace Model
public bool FromBanque { get; private set; }
[JsonConstructor]
public Operation(string nom, double montant, DateTime dateOperation, MethodePayement methodePayement, TagOperation tag, bool fromBanque, bool isDebit=true)
public Operation(string nom, double montant, DateTime dateO, MethodePayement methodePayement, TagOperation tag, bool fromBanque, bool isDebit=true)
{
Nom = nom;
Montant = montant;
DateOperation = dateOperation;
DateOperation = dateO;
ModePayement = methodePayement;
IsDebit = isDebit;
Tag = tag;

@ -24,11 +24,11 @@ namespace Model
public TagOperation Tag { get; private set; }
[JsonConstructor]
public Planification(string nom, double montant, DateTime dateOperation, MethodePayement methodePayement, TagOperation tag, bool isDebit = true)
public Planification(string nom, double montant, DateTime dateO, MethodePayement methodePayement, TagOperation tag, bool isDebit = true)
{
Nom = nom;
Montant = montant;
DateOperation = dateOperation;
DateOperation = dateO;
ModePayement = methodePayement;
IsDebit = isDebit;
Tag = tag;

Loading…
Cancel
Save