From 8a0b370dd71831e250b3a11ad9836aca9331d0af Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 8 Jul 2024 19:58:02 +0200 Subject: [PATCH] regex fix --- TIAMSharedUI/Pages/Components/InputWizard.razor.cs | 2 +- TIAMSharedUI/Pages/Index.razor | 3 ++- .../UI/WizardModels/TransferWizardModelExtensions.cs | 7 +++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TIAMSharedUI/Pages/Components/InputWizard.razor.cs b/TIAMSharedUI/Pages/Components/InputWizard.razor.cs index b263bb03..8f3f874a 100644 --- a/TIAMSharedUI/Pages/Components/InputWizard.razor.cs +++ b/TIAMSharedUI/Pages/Components/InputWizard.razor.cs @@ -243,8 +243,8 @@ namespace TIAMSharedUI.Pages.Components { editor.OpenComponent>(j++); editor.AddAttribute(j++, "Value", property.GetValue(Data)); - editor.AddAttribute(j++, "Mask", AcRegExpression.EmailMask); editor.AddAttribute(j++, "MaskMode", MaskMode.RegEx); + editor.AddAttribute(j++, "Mask", AcRegExpression.EmailMask); editor.AddAttribute(j++, "BindValueMode", BindValueMode.OnInput); //MaskAutoCompleteMode="@((MaskAutoCompleteMode)AutoCompleteMode)" diff --git a/TIAMSharedUI/Pages/Index.razor b/TIAMSharedUI/Pages/Index.razor index c508bcd6..11942d74 100644 --- a/TIAMSharedUI/Pages/Index.razor +++ b/TIAMSharedUI/Pages/Index.razor @@ -130,7 +130,8 @@ "UserProductMappingId", "UserProductToCarId", "ReferralId", - "Price" + "Price", + "Revenue" }; /*protected override void OnAfterRender(bool isFirst) diff --git a/TIAMWebApp/Shared/Models/ClientSide/UI/WizardModels/TransferWizardModelExtensions.cs b/TIAMWebApp/Shared/Models/ClientSide/UI/WizardModels/TransferWizardModelExtensions.cs index ab0a5aec..0023aeea 100644 --- a/TIAMWebApp/Shared/Models/ClientSide/UI/WizardModels/TransferWizardModelExtensions.cs +++ b/TIAMWebApp/Shared/Models/ClientSide/UI/WizardModels/TransferWizardModelExtensions.cs @@ -25,7 +25,7 @@ namespace TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels LastName = obj.LastName, PhoneNumber = obj.PhoneNumber, EmailAddress = obj.EmailAddress, - Price = obj.Price, + Price = obj.Price }; } @@ -45,12 +45,11 @@ namespace TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels LastName = obj.LastName, ContactPhone = obj.PhoneNumber, ContactEmail = obj.EmailAddress, - Price = obj.Price, + Price = obj.Price, LuggageCount = Convert.ToByte(obj.NumberOfLuggage), //UserProductMappingId = Guid.NewGuid(), TransferStatusType = TIAM.Core.Enums.TransferStatusType.OrderSubmitted, - Comment = "Transfer order", - + Comment = "Transfer order" }; return transfer;