You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
4.2 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  4. x:Class="GMCabsDriverAssistantSolution.Views.AcceptBookingProcessPage"
  5. xmlns:vm="clr-namespace:GMCabsDriverAssistantSolution.ViewModels"
  6. xmlns:custom="clr-namespace:GMCabsDriverAssistantSolution.CustomControls"
  7. Title="{Binding Title}">
  8. <ContentPage.BindingContext>
  9. <vm:AcceptBookingProcessPageModel/>
  10. </ContentPage.BindingContext>
  11. <ContentPage.Content>
  12. <StackLayout BackgroundColor="#DCDCDC">
  13. <StackLayout
  14. IsVisible="{Binding IsProcessing}"
  15. VerticalOptions="CenterAndExpand">
  16. <Label Text="Processing"
  17. TextColor="Black"
  18. FontSize="25"
  19. HorizontalTextAlignment="Center"
  20. HorizontalOptions="CenterAndExpand" />
  21. <Label Text="Please Wait"
  22. TextColor="Black"
  23. FontSize="24"
  24. Margin="0,15,0,20"
  25. HorizontalTextAlignment="Center"
  26. HorizontalOptions="CenterAndExpand" />
  27. <ActivityIndicator IsRunning="true" />
  28. </StackLayout>
  29. <StackLayout IsVisible="{Binding IsBookingConfirmed}" Margin="0,0,0,0">
  30. <Label
  31. Text="Booking Awarded"
  32. TextColor="Black"
  33. FontSize="26"
  34. Margin="0,90,0,0"
  35. HorizontalTextAlignment="Center"
  36. HorizontalOptions="CenterAndExpand" />
  37. <Image
  38. Source="righttic.png"
  39. HeightRequest="100"/>
  40. <Label
  41. Text="Head to"
  42. TextColor="Black"
  43. FontSize="20"
  44. HorizontalTextAlignment="Center"
  45. HorizontalOptions="CenterAndExpand" />
  46. <Label
  47. Text="Please confirm on terminal ASAP to keep this booking"
  48. TextColor="Black"
  49. Margin="40,0,40,0"
  50. FontSize="26"
  51. HorizontalTextAlignment="Center"
  52. HorizontalOptions="CenterAndExpand"/>
  53. <Label
  54. Text="3.00"
  55. TextColor="Black"
  56. FontAttributes="Bold"
  57. Margin="0,20,0,0"
  58. FontSize="30"
  59. HorizontalOptions="CenterAndExpand"/>
  60. <Label
  61. Text="Before Automatic Cancellation"
  62. TextColor="Black"
  63. FontSize="20"
  64. Margin="0,20,0,0"
  65. HorizontalOptions="CenterAndExpand" />
  66. </StackLayout>
  67. <StackLayout VerticalOptions="End"
  68. IsVisible="{Binding IsBookingConfirmed}">
  69. <Button CornerRadius="30"
  70. VerticalOptions="EndAndExpand"
  71. Margin="40,0,40,0"
  72. Text="OK"
  73. FontSize="20"
  74. />
  75. </StackLayout>
  76. <StackLayout
  77. IsVisible="{Binding IsBookingUnavailable}">
  78. <Label
  79. Text="Booking Unavailable"
  80. TextColor="Black"
  81. FontAttributes="Bold"
  82. FontSize="24"
  83. Margin="40,100,40,0"
  84. HorizontalTextAlignment="Center"
  85. HorizontalOptions="CenterAndExpand" />
  86. <Label
  87. Text="This booking is no longer available"
  88. HorizontalTextAlignment="Center"
  89. TextColor="Black"
  90. Margin="40,60,40,0"
  91. FontSize="25"/>
  92. <Button CornerRadius="30"
  93. VerticalOptions="EndAndExpand"
  94. Margin="40,140,40,0"
  95. Text="OK"
  96. FontSize="20"
  97. />
  98. </StackLayout>
  99. </StackLayout>
  100. </ContentPage.Content>
  101. </ContentPage>