|
|
@ -4,37 +4,41 @@
|
|
|
|
x:Class="IHM.Desktop.Echeancier"
|
|
|
|
x:Class="IHM.Desktop.Echeancier"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
<Border Stroke="{StaticResource Yellow100Accent}" StrokeThickness="4" Margin="10" StrokeShape="RoundRectangle 45,5,5,45">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="0.7*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="5*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="1*"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid BackgroundColor="{StaticResource Tertiary}">
|
|
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="0.75*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="0.5*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="5*"/>
|
|
|
|
|
|
|
|
<RowDefinition Height="1*"/>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
<StackLayout Grid.Row="0" Grid.ColumnSpan="2">
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2"
|
|
|
|
Style="{StaticResource TitreWindows}"
|
|
|
|
Style="{StaticResource TitreWindows}"
|
|
|
|
Text="ECHEANCIER"
|
|
|
|
Text="ECHEANCIER"
|
|
|
|
HorizontalOptions="Center"/>
|
|
|
|
HorizontalOptions="Center"/>
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
Clicked="SaveEcheance_Clicked"
|
|
|
|
Clicked="SaveEcheance_Clicked"
|
|
|
|
Grid.Column="0" Grid.Row="1"
|
|
|
|
Grid.Column="0" Grid.Row="1"
|
|
|
|
x:Name="SaveEcheance"
|
|
|
|
x:Name="SaveEcheance"
|
|
|
|
Text="Enregistrer une échéance"
|
|
|
|
Text="Enregistrer une échéance"
|
|
|
|
Style="{StaticResource WindowsButton}"/>
|
|
|
|
Style="{StaticResource WindowsButton}"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
Clicked="DelEcheance_Clicked"
|
|
|
|
Clicked="DelEcheance_Clicked"
|
|
|
|
Grid.Column="1" Grid.Row="1"
|
|
|
|
Grid.Column="1" Grid.Row="1"
|
|
|
|
x:Name="DelEcheance"
|
|
|
|
x:Name="DelEcheance"
|
|
|
@ -42,63 +46,85 @@
|
|
|
|
Style="{StaticResource WindowsButton}"/>
|
|
|
|
Style="{StaticResource WindowsButton}"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ContentView BackgroundColor="{StaticResource Yellow300Accent}" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="4" Grid.RowSpan="2" x:Name="windowAjout">
|
|
|
|
<Border Stroke="{StaticResource Secondary}" Margin="10,0,10,0" Padding="3" StrokeThickness="4" StrokeShape="RoundRectangle 45,5,5,45" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4">
|
|
|
|
|
|
|
|
|
|
|
|
<CollectionView ItemsSource="{Binding}" Grid.Row="2" Grid.ColumnSpan="4" Grid.RowSpan="2">
|
|
|
|
<Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4">
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<Label Text="Nom" Grid.Column="0" TextColor="{StaticResource Secondary}" HorizontalOptions="Center" FontSize="Micro" FontAttributes="Bold"></Label>
|
|
|
|
|
|
|
|
<Label Text="Date" Grid.Column="1" TextColor="{StaticResource Secondary}" HorizontalOptions="Center" FontSize="Micro" FontAttributes="Bold"></Label>
|
|
|
|
|
|
|
|
<Label Text="Moyen de Paiement" Grid.Column="2" TextColor="{StaticResource Secondary}" HorizontalOptions="Center" FontSize="Micro" FontAttributes="Bold"></Label>
|
|
|
|
|
|
|
|
<Label Text="Tag" Grid.Column="3" TextColor="{StaticResource Secondary}" HorizontalOptions="Center" FontSize="Micro" FontAttributes="Bold"></Label>
|
|
|
|
|
|
|
|
<Label Text="Montant" Grid.Column="4" TextColor="{StaticResource Secondary}" HorizontalOptions="Center" FontSize="Micro" FontAttributes="Bold"></Label>
|
|
|
|
|
|
|
|
|
|
|
|
<DataTemplate>
|
|
|
|
</Grid>
|
|
|
|
<Grid>
|
|
|
|
</Border>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ContentView Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="4" Grid.RowSpan="2" x:Name="windowAjout" Margin="10,0,10,0">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<CollectionView ItemsSource="{Binding}" Grid.Row="3" Grid.ColumnSpan="4" Grid.RowSpan="2">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="0" Text="{Binding IntituleOperation}"
|
|
|
|
<Label Grid.Column="0" Text="{Binding IntituleOperation}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="1" Text="{Binding DateOperation}"
|
|
|
|
<Label Grid.Column="1" Text="{Binding DateOperation}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="2" Text="{Binding ModePayement}"
|
|
|
|
<Label Grid.Column="2" Text="{Binding ModePayement}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="3" Text="{Binding Tag}"
|
|
|
|
<Label Grid.Column="3" Text="{Binding Tag}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="4" Text="{Binding Montant}"
|
|
|
|
<Label Grid.Column="4" Text="{Binding Montant}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
TextColor="{StaticResource Secondary}"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
FontAttributes="Bold" FontSize="Body"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
VerticalOptions="Center"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView>
|
|
|
|
</CollectionView>
|
|
|
|
|
|
|
|
|
|
|
|
</ContentView>
|
|
|
|
</ContentView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -109,45 +135,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<CollectionView Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" ItemsSource="{Binding LesOpe}">
|
|
|
|
<CollectionView Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" ItemsSource="{Binding LesOpe}">
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Grid Padding="10">
|
|
|
|
<Grid Padding="10">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
|
|
<ImageButton Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
|
|
|
|
<ImageButton Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
|
|
|
|
Source="{Binding ImageSrc}"
|
|
|
|
Source="{Binding ImageSrc}"
|
|
|
|
CornerRadius="10"/>
|
|
|
|
CornerRadius="10"/>
|
|
|
|
<Label Grid.Row="0" Grid.Column="1"
|
|
|
|
<Label Grid.Row="0" Grid.Column="1"
|
|
|
|
Text="{Binding NomOpe}"
|
|
|
|
Text="{Binding NomOpe}"
|
|
|
|
FontAttributes="Bold" />
|
|
|
|
FontAttributes="Bold" />
|
|
|
|
<Label Grid.Row="1" Grid.Column="1"
|
|
|
|
<Label Grid.Row="1" Grid.Column="1"
|
|
|
|
Text="{Binding DetailTypeOpe}"
|
|
|
|
Text="{Binding DetailTypeOpe}"
|
|
|
|
FontAttributes="Italic"/>
|
|
|
|
FontAttributes="Italic"/>
|
|
|
|
<Label Grid.Row="0" Grid.Column="2"
|
|
|
|
<Label Grid.Row="0" Grid.Column="2"
|
|
|
|
Text="{Binding DateOpe}"/>
|
|
|
|
Text="{Binding DateOpe}"/>
|
|
|
|
<Label Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2"
|
|
|
|
<Label Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2"
|
|
|
|
Text="{Binding MontantOpe}"
|
|
|
|
Text="{Binding MontantOpe}"
|
|
|
|
FontAttributes="Bold"/>
|
|
|
|
FontAttributes="Bold"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</DataTemplate>
|
|
|
|
</DataTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView.ItemTemplate>
|
|
|
|
</CollectionView>
|
|
|
|
</CollectionView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ContentView>
|
|
|
|
</ContentView>
|