<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="GMCabsDriverAssistantSolution.Views.VoucherScanHistory"
             xmlns:vm="clr-namespace:GMCabsDriverAssistantSolution.ViewModels"
             Shell.FlyoutBehavior="Disabled"
             Title="{Binding Title}">
    <ContentPage.BindingContext>
        <vm:VoucherScanHistoryViewModel/>
    </ContentPage.BindingContext>
    <ContentPage.Content>
        <StackLayout>
            <DatePicker x:Name="reportDatePicker"
               DateSelected="OnDateSelected"  BackgroundColor="White"/>
            <StackLayout Orientation="Horizontal" HorizontalOptions="Center">
                <Label Text="Vouchers Redeemed:" TextColor="Black" FontSize="22"/>
                <Label Text="{Binding VoucherScanCount}" TextColor="Black" FontSize="22"/>
            </StackLayout>

        </StackLayout>
    </ContentPage.Content>
</ContentPage>