From d0c3b35ffd7dedc373277e47377abd866be8f98f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 25 Nov 2020 19:59:02 +0000 Subject: [PATCH] --- server/AyaNova/models/Customer.cs | 15 ++++++++------- server/AyaNova/models/UserOptions.cs | 6 +++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/server/AyaNova/models/Customer.cs b/server/AyaNova/models/Customer.cs index a8dc681c..3af9841c 100644 --- a/server/AyaNova/models/Customer.cs +++ b/server/AyaNova/models/Customer.cs @@ -24,7 +24,8 @@ namespace AyaNova.Models public List Tags { get; set; } - [Url] + //cant use these due to import v7 malformed shit adn can't be arsed to deal with that + //[Url] public string WebAddress { get; set; } public string PopUpNotes { get; set; } public bool BillHeadOffice { get; set; } @@ -35,17 +36,17 @@ namespace AyaNova.Models public long? ContractID { get; set; } public DateTime? ContractExpires { get; set; } public long? DefaultServiceTemplateID { get; set; } - [Phone] + //[Phone] public string Phone1 { get; set; } - [Phone] + // [Phone] public string Phone2 { get; set; } - [Phone] + //[Phone] public string Phone3 { get; set; } - [Phone] + //[Phone] public string Phone4 { get; set; } - [Phone] + //[Phone] public string Phone5 { get; set; } - [EmailAddress] + //[EmailAddress] public string EmailAddress { get; set; } //POSTAL ADDRESS diff --git a/server/AyaNova/models/UserOptions.cs b/server/AyaNova/models/UserOptions.cs index 7d95afe6..e3ac21f6 100644 --- a/server/AyaNova/models/UserOptions.cs +++ b/server/AyaNova/models/UserOptions.cs @@ -12,11 +12,11 @@ namespace AyaNova.Models public long TranslationId { get; set; } //------------- - [EmailAddress] + //[EmailAddress] public string EmailAddress { get; set; } - [Phone] + // [Phone] public string Phone1 { get; set; } - [Phone] + //[Phone] public string Phone2 { get; set; } //in v7 this was pager address so not attributing it with Phone as not sure what would be in that field public string Phone3 { get; set; }