diff --git a/TransactionMobile.Maui/Pages/LoginPage.xaml b/TransactionMobile.Maui/Pages/LoginPage.xaml
index b649956b..b7d82c2f 100644
--- a/TransactionMobile.Maui/Pages/LoginPage.xaml
+++ b/TransactionMobile.Maui/Pages/LoginPage.xaml
@@ -8,48 +8,33 @@
BackgroundColor="White">
-
-
-
-
-
-
+
-
+
-
+
-
-
-
-
-
-
-
-
+
+ Style="{DynamicResource UserNameEntryStyle}">
+ Style="{DynamicResource PasswordEntryStyle}">
-
-
-
+
+
+
-
+
\ No newline at end of file
diff --git a/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml b/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml
index 3233a298..a76cc5a3 100644
--- a/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml
+++ b/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml
@@ -54,7 +54,6 @@
Style="{DynamicResource MobileTopupButtonStyle}"
Command="{Binding PerformTopupCommand}"
AutomationId="PerformTopupButton"/>
-
diff --git a/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml.cs b/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml.cs
index 80b887d7..dbc48607 100644
--- a/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml.cs
+++ b/TransactionMobile.Maui/Pages/Transactions/MobileTopup/MobileTopupPerformTopupPage.xaml.cs
@@ -13,7 +13,7 @@ public MobileTopupPerformTopupPage(MobileTopupPerformTopupPageViewModel vm)
BindingContext = vm;
vm.OnCustomerMobileNumberEntryCompleted = () =>
{
- if (this.TopupAmountEntry.IsReadOnly)
+ if (this.TopupAmountEntry.IsReadOnly == false)
{
this.TopupAmountEntry.Focus();
}
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueFailedPage.xaml b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueFailedPage.xaml
index 703872d7..1940f88c 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueFailedPage.xaml
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueFailedPage.xaml
@@ -2,24 +2,24 @@
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueSuccessPage.xaml b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueSuccessPage.xaml
index 845bf894..7752119e 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueSuccessPage.xaml
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherIssueSuccessPage.xaml
@@ -2,28 +2,24 @@
-
-
+
+
+
+
-
-
+
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml
index 4bca5741..990e1adc 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml
@@ -4,58 +4,71 @@
x:Class="TransactionMobile.Maui.VoucherPerformIssuePage"
xmlns:behaviors="clr-namespace:CommunityToolkit.Maui.Behaviors;assembly=CommunityToolkit.Maui"
Title="{Binding Title}"
+ Shell.NavBarIsVisible="False"
BackgroundColor="White">
-
-
+
+
+
+
-
-
+
-
-
+
+
-
-
-
+
-
-
+
+
-
-
-
+
-
-
-
-
+
+
+
-
-
+
-
-
+
+
-
-
+
+
+
+
\ No newline at end of file
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml.cs b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml.cs
index bfba8e59..d737ff39 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml.cs
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherPerformIssuePage.xaml.cs
@@ -13,7 +13,7 @@ public VoucherPerformIssuePage(VoucherPerformIssuePageViewModel vm)
BindingContext = vm;
vm.OnRecipientMobileNumberEntryCompleted = () =>
{
- if (this.VoucherAmountEntry.IsEnabled)
+ if (this.VoucherAmountEntry.IsReadOnly == false)
{
this.VoucherAmountEntry.Focus();
}
@@ -48,7 +48,7 @@ protected override async void OnAppearing()
base.OnAppearing();
if (viewModel.VoucherAmount > 0)
{
- this.VoucherAmountEntry.IsEnabled = false;
+ this.VoucherAmountEntry.IsReadOnly = true;
}
}
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml
index 65c4d268..3247ec47 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml
@@ -2,10 +2,15 @@
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml.cs b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml.cs
index 160bf446..544f8432 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml.cs
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectOperatorPage.xaml.cs
@@ -22,17 +22,8 @@ protected override async void OnAppearing()
private void LoadOperators(VoucherSelectOperatorPageViewModel viewModel)
{
- RowDefinitionCollection rowDefinitionCollection = new RowDefinitionCollection();
- for (Int32 i = 0; i < viewModel.Operators.Count; i++)
- {
- rowDefinitionCollection.Add(new RowDefinition
- {
- Height = 60
- });
- }
-
- this.OperatorGrid.RowDefinitions = rowDefinitionCollection;
-
+ this.OperatorList.Children.Clear();
+
Int32 rowCount = 0;
foreach (ContractOperatorModel modelOperator in viewModel.Operators)
{
@@ -42,7 +33,7 @@ private void LoadOperators(VoucherSelectOperatorPageViewModel viewModel)
HorizontalOptions = LayoutOptions.FillAndExpand,
AutomationId = modelOperator.OperatorName,
};
- //button.SetDynamicResource(VisualElement.StyleProperty, "MobileTopupButtonStyle");
+ button.SetDynamicResource(VisualElement.StyleProperty, "VoucherButtonStyle");
Binding commandParameter = new Binding()
{
Source = new ItemSelected(){
@@ -59,7 +50,7 @@ private void LoadOperators(VoucherSelectOperatorPageViewModel viewModel)
button.SetBinding(Button.CommandProperty, command);
button.SetBinding(Button.CommandParameterProperty, commandParameter);
- this.OperatorGrid.Add(button, 0, rowCount);
+ this.OperatorList.Add(button);
rowCount++;
}
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml
index 96b09b71..d65dbbe4 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml
@@ -2,10 +2,15 @@
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml.cs b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml.cs
index 560b4ed5..64924d2e 100644
--- a/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml.cs
+++ b/TransactionMobile.Maui/Pages/Transactions/Voucher/VoucherSelectProductPage.xaml.cs
@@ -22,16 +22,7 @@ protected override async void OnAppearing()
private void LoadProducts(VoucherSelectProductPageViewModel viewModel)
{
- RowDefinitionCollection rowDefinitionCollection = new RowDefinitionCollection();
- for (Int32 i = 0; i < viewModel.Products.Count; i++)
- {
- rowDefinitionCollection.Add(new RowDefinition
- {
- Height = 60
- });
- }
-
- this.ProductsGrid.RowDefinitions = rowDefinitionCollection;
+ this.ProductsList.Children.Clear();
Int32 rowCount = 0;
foreach (ContractProductModel modelProduct in viewModel.Products)
@@ -42,7 +33,7 @@ private void LoadProducts(VoucherSelectProductPageViewModel viewModel)
HorizontalOptions = LayoutOptions.FillAndExpand,
AutomationId = modelProduct.ProductDisplayText,
};
- //button.SetDynamicResource(VisualElement.StyleProperty, "MobileTopupButtonStyle");
+ button.SetDynamicResource(VisualElement.StyleProperty, "VoucherButtonStyle");
Binding commandParameter = new Binding()
{
@@ -61,7 +52,7 @@ private void LoadProducts(VoucherSelectProductPageViewModel viewModel)
button.SetBinding(Button.CommandProperty, command);
button.SetBinding(Button.CommandParameterProperty, commandParameter);
- this.ProductsGrid.Add(button, 0, rowCount);
+ this.ProductsList.Add(button);
rowCount++;
}
diff --git a/TransactionMobile.Maui/Platforms/Windows/DeviceService.cs b/TransactionMobile.Maui/Platforms/Windows/DeviceService.cs
index 154ae292..0091381c 100644
--- a/TransactionMobile.Maui/Platforms/Windows/DeviceService.cs
+++ b/TransactionMobile.Maui/Platforms/Windows/DeviceService.cs
@@ -35,6 +35,7 @@ public static partial String Identifier()
{
var deviceInformation = new EasClientDeviceInformation();
string Id = deviceInformation.Id.ToString();
+ return Id;
}
}
}