|
|
@ -7,59 +7,72 @@
|
|
|
|
Title="BalancePage"
|
|
|
|
Title="BalancePage"
|
|
|
|
Shell.NavBarIsVisible="False">
|
|
|
|
Shell.NavBarIsVisible="False">
|
|
|
|
|
|
|
|
|
|
|
|
<Grid RowDefinitions="auto, *">
|
|
|
|
<Grid RowDefinitions="auto, auto, *">
|
|
|
|
|
|
|
|
|
|
|
|
<Grid BackgroundColor="Beige"
|
|
|
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
|
|
|
HeightRequest="100"
|
|
|
|
|
|
|
|
MaximumHeightRequest="150"
|
|
|
|
|
|
|
|
WidthRequest="230"
|
|
|
|
|
|
|
|
RowDefinitions="auto, 35, *"
|
|
|
|
|
|
|
|
ColumnDefinitions="250, auto"
|
|
|
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
|
|
|
Margin="30">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
|
|
|
|
<TapGestureRecognizer
|
|
|
|
|
|
|
|
Tapped="Balance_Clicked"
|
|
|
|
|
|
|
|
NumberOfTapsRequired="1" />
|
|
|
|
|
|
|
|
</Grid.GestureRecognizers>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Text="Compte Professionnel"
|
|
|
|
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
|
|
|
Margin="0, 15, 0, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HorizontalStackLayout
|
|
|
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
|
|
|
HorizontalOptions="Center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Frame BackgroundColor="{StaticResource Key=Banquale}"
|
|
|
|
Text="{Binding Name}"
|
|
|
|
CornerRadius="15"
|
|
|
|
Margin="0, 0, 5, 0"/>
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
|
|
|
HeightRequest="120"
|
|
|
|
|
|
|
|
WidthRequest="230"
|
|
|
|
|
|
|
|
Margin="0, 50, 0, 50">
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Grid BackgroundColor="Transparent"
|
|
|
|
Text="{Binding FirstName}"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
Margin="5, 0, 0, 0"/>
|
|
|
|
HeightRequest="100"
|
|
|
|
|
|
|
|
MaximumHeightRequest="150"
|
|
|
|
|
|
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
RowDefinitions="auto, 35, *"
|
|
|
|
|
|
|
|
ColumnDefinitions="250, auto">
|
|
|
|
|
|
|
|
|
|
|
|
<Grid ColumnDefinitions="auto, auto, auto"
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
Grid.Row="2"
|
|
|
|
<TapGestureRecognizer
|
|
|
|
HorizontalOptions="Center">
|
|
|
|
Tapped="Balance_Clicked"
|
|
|
|
|
|
|
|
NumberOfTapsRequired="1" />
|
|
|
|
|
|
|
|
</Grid.GestureRecognizers>
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="Solde"
|
|
|
|
Text="Compte Professionnel"
|
|
|
|
Margin="0, 0, 50, 0"/>
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
<Label
|
|
|
|
Margin="0, 15, 0, 0"/>
|
|
|
|
Text="{Binding Balance, StringFormat='{0} €'}"
|
|
|
|
|
|
|
|
Grid.Column="1"
|
|
|
|
<HorizontalStackLayout
|
|
|
|
Margin="50, 0, 5, 0"/>
|
|
|
|
Grid.Row="1"
|
|
|
|
|
|
|
|
HorizontalOptions="Center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Text="{Binding Name}"
|
|
|
|
|
|
|
|
Margin="0, 0, 5, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Text="{Binding FirstName}"
|
|
|
|
|
|
|
|
Margin="5, 0, 0, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid ColumnDefinitions="auto, auto, auto"
|
|
|
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
|
|
|
HorizontalOptions="Center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Text="Solde"
|
|
|
|
|
|
|
|
Margin="0, 0, 50, 0"/>
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Text="{Binding Balance, StringFormat='{0} €'}"
|
|
|
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
|
|
|
Margin="50, 0, 5, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ListView ItemsSource="{Binding TransactionsList}" Grid.Row="1"
|
|
|
|
</Frame>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<BoxView
|
|
|
|
|
|
|
|
Color="{StaticResource Key=Gray100}"
|
|
|
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
|
|
|
HeightRequest="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ListView ItemsSource="{Binding TransactionsList}"
|
|
|
|
|
|
|
|
Grid.Row="2"
|
|
|
|
SelectionMode="None">
|
|
|
|
SelectionMode="None">
|
|
|
|
|
|
|
|
|
|
|
|
<ListView.ItemTemplate>
|
|
|
|
<ListView.ItemTemplate>
|
|
|
@ -69,31 +82,34 @@
|
|
|
|
<ViewCell>
|
|
|
|
<ViewCell>
|
|
|
|
|
|
|
|
|
|
|
|
<Grid
|
|
|
|
<Grid
|
|
|
|
ColumnDefinitions="40, 3*, *"
|
|
|
|
ColumnDefinitions="40, 3*, *"
|
|
|
|
Margin="20, 5, 20, 5"
|
|
|
|
Margin="20, 5, 20, 5"
|
|
|
|
HorizontalOptions="Fill">
|
|
|
|
HorizontalOptions="Fill">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
|
|
|
|
<TapGestureRecognizer
|
|
|
|
|
|
|
|
Tapped="Transaction_Clicked"
|
|
|
|
|
|
|
|
NumberOfTapsRequired="1" />
|
|
|
|
|
|
|
|
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
</Grid.GestureRecognizers>
|
|
|
|
<TapGestureRecognizer
|
|
|
|
|
|
|
|
Tapped="Transaction_Clicked"
|
|
|
|
|
|
|
|
NumberOfTapsRequired="1" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.GestureRecognizers>
|
|
|
|
<Image
|
|
|
|
|
|
|
|
Source="dotnet_bot.png"
|
|
|
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
|
|
|
MaximumHeightRequest="30"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Image Source="dotnet_bot.png"
|
|
|
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
|
|
|
MaximumHeightRequest="30"/>
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="{Binding Date, StringFormat='{0:ddd dd MMM yyyy}'}"
|
|
|
|
Text="{Binding Date, StringFormat='{0:ddd dd MMM yyyy}'}"
|
|
|
|
Grid.Column="1"
|
|
|
|
Grid.Column="1"
|
|
|
|
VerticalOptions="Center"
|
|
|
|
VerticalOptions="Center"
|
|
|
|
Margin="10, 0, 0, 0"/>
|
|
|
|
Margin="10, 0, 0, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="{Binding Sum, StringFormat='{0} €'}"
|
|
|
|
Text="{Binding Sum, StringFormat='{0} €'}"
|
|
|
|
Grid.Column="2"
|
|
|
|
Grid.Column="2"
|
|
|
|
VerticalOptions="Center"
|
|
|
|
VerticalOptions="Center"
|
|
|
|
HorizontalOptions="End"
|
|
|
|
HorizontalOptions="End"
|
|
|
|
Margin="0, 0, 20, 0"/>
|
|
|
|
Margin="0, 0, 20, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|