Phone, Mobile ve Fax Listelerde String olarak belirlendi
This commit is contained in:
parent
72ad65b7bf
commit
b37010d1bc
6 changed files with 18 additions and 18 deletions
|
|
@ -324,7 +324,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
||||||
new() {
|
new() {
|
||||||
ListFormCode = formBank.ListFormCode,
|
ListFormCode = formBank.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 150,
|
Width = 150,
|
||||||
ListOrderNo = 11,
|
ListOrderNo = 11,
|
||||||
|
|
@ -635,7 +635,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
||||||
new() {
|
new() {
|
||||||
ListFormCode = listFormBank.ListFormCode,
|
ListFormCode = listFormBank.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 150,
|
Width = 150,
|
||||||
ListOrderNo = 11,
|
ListOrderNo = 11,
|
||||||
|
|
|
||||||
|
|
@ -1124,7 +1124,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
RoleId = null,
|
RoleId = null,
|
||||||
UserId = null,
|
UserId = null,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 150,
|
Width = 150,
|
||||||
ListOrderNo = 5,
|
ListOrderNo = 5,
|
||||||
|
|
@ -2979,7 +2979,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
{
|
{
|
||||||
ListFormCode = listFormPurchaseOrder.ListFormCode,
|
ListFormCode = listFormPurchaseOrder.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 11,
|
ListOrderNo = 11,
|
||||||
|
|
@ -2995,7 +2995,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
{
|
{
|
||||||
ListFormCode = listFormPurchaseOrder.ListFormCode,
|
ListFormCode = listFormPurchaseOrder.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "MobileNumber",
|
FieldName = "MobileNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 12,
|
ListOrderNo = 12,
|
||||||
|
|
@ -3808,7 +3808,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
{
|
{
|
||||||
ListFormCode = listFormDemo.ListFormCode,
|
ListFormCode = listFormDemo.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 5,
|
ListOrderNo = 5,
|
||||||
|
|
@ -4001,7 +4001,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
{
|
{
|
||||||
ListFormCode = listFormContact.ListFormCode,
|
ListFormCode = listFormContact.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 150,
|
Width = 150,
|
||||||
ListOrderNo = 3,
|
ListOrderNo = 3,
|
||||||
|
|
@ -6107,7 +6107,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
{
|
{
|
||||||
ListFormCode = listFormPsychologist.ListFormCode,
|
ListFormCode = listFormPsychologist.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 150,
|
Width = 150,
|
||||||
ListOrderNo = 3,
|
ListOrderNo = 3,
|
||||||
|
|
@ -6320,7 +6320,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
{
|
{
|
||||||
ListFormCode = listFormLawyer.ListFormCode,
|
ListFormCode = listFormLawyer.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "MobileNumber",
|
FieldName = "MobileNumber",
|
||||||
Width = 150,
|
Width = 150,
|
||||||
ListOrderNo = 4,
|
ListOrderNo = 4,
|
||||||
|
|
@ -6336,7 +6336,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
||||||
{
|
{
|
||||||
ListFormCode = listFormLawyer.ListFormCode,
|
ListFormCode = listFormLawyer.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 150,
|
Width = 150,
|
||||||
ListOrderNo = 5,
|
ListOrderNo = 5,
|
||||||
|
|
|
||||||
|
|
@ -1986,7 +1986,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
||||||
new() {
|
new() {
|
||||||
ListFormCode = listFormEmployee.ListFormCode,
|
ListFormCode = listFormEmployee.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 16,
|
ListOrderNo = 16,
|
||||||
|
|
|
||||||
|
|
@ -1665,7 +1665,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
||||||
new() {
|
new() {
|
||||||
ListFormCode = listFormVisitor.ListFormCode,
|
ListFormCode = listFormVisitor.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 5,
|
ListOrderNo = 5,
|
||||||
|
|
@ -1674,7 +1674,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
||||||
IsDeleted = false,
|
IsDeleted = false,
|
||||||
AllowSearch = true,
|
AllowSearch = true,
|
||||||
EditorOptions = EditorOptionValues.PhoneEditorOptions,
|
EditorOptions = EditorOptionValues.PhoneEditorOptions,
|
||||||
ValidationRuleJson = DefaultValidationRuleEmailJson,
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
PermissionJson = DefaultFieldPermissionJson(AppCodes.Intranet.Visitor),
|
PermissionJson = DefaultFieldPermissionJson(AppCodes.Intranet.Visitor),
|
||||||
PivotSettingsJson = DefaultPivotSettingsJson
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
|
@ -1690,7 +1690,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
||||||
IsActive = true,
|
IsActive = true,
|
||||||
IsDeleted = false,
|
IsDeleted = false,
|
||||||
AllowSearch = true,
|
AllowSearch = true,
|
||||||
ValidationRuleJson = DefaultValidationRuleEmailJson,
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
PermissionJson = DefaultFieldPermissionJson(AppCodes.Intranet.Visitor),
|
PermissionJson = DefaultFieldPermissionJson(AppCodes.Intranet.Visitor),
|
||||||
PivotSettingsJson = DefaultPivotSettingsJson
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
|
|
||||||
|
|
@ -458,7 +458,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
||||||
{
|
{
|
||||||
ListFormCode = formTenant.ListFormCode,
|
ListFormCode = formTenant.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 17,
|
ListOrderNo = 17,
|
||||||
|
|
@ -1081,7 +1081,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
||||||
{
|
{
|
||||||
ListFormCode = listFormTenants.ListFormCode,
|
ListFormCode = listFormTenants.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 17,
|
ListOrderNo = 17,
|
||||||
|
|
@ -1561,7 +1561,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
||||||
{
|
{
|
||||||
ListFormCode = listFormBranches.ListFormCode,
|
ListFormCode = listFormBranches.ListFormCode,
|
||||||
CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
SourceDbType = DbType.Int64,
|
SourceDbType = DbType.String,
|
||||||
FieldName = "PhoneNumber",
|
FieldName = "PhoneNumber",
|
||||||
Width = 100,
|
Width = 100,
|
||||||
ListOrderNo = 16,
|
ListOrderNo = 16,
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ public static class SeederDefaults
|
||||||
});
|
});
|
||||||
public static readonly string DefaultValidationRuleEmailJson = JsonSerializer.Serialize(new ValidationRuleDto[]
|
public static readonly string DefaultValidationRuleEmailJson = JsonSerializer.Serialize(new ValidationRuleDto[]
|
||||||
{
|
{
|
||||||
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.email) }
|
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.email), Reevaluate = true, IgnoreEmptyValue = true }
|
||||||
});
|
});
|
||||||
public static string DefaultPermissionJson(string c, string r, string u, string d, string e, string i, string a)
|
public static string DefaultPermissionJson(string c, string r, string u, string d, string e, string i, string a)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue