Phone, Mobile ve Fax düzenlemesi

This commit is contained in:
Sedat Öztürk 2025-11-03 23:31:28 +03:00
parent aba197599c
commit 0ce3a96876
83 changed files with 615 additions and 705 deletions

View file

@ -10,7 +10,7 @@ public class Notification : FullAuditedEntity<Guid>
public required string NotificationType { get; set; } public required string NotificationType { get; set; }
// Bildirim tipine göre bildirimi alacak olan hedef bilgisini içerir // Bildirim tipine göre bildirimi alacak olan hedef bilgisini içerir
public required string Identifier { get; set; } //UserId, Email, Phone.. public required string Identifier { get; set; } //UserId, Email, PhoneNumber..
public Guid? UserId { get; set; } public Guid? UserId { get; set; }
public required string Message { get; set; } public required string Message { get; set; }

View file

@ -14,6 +14,6 @@ public class BankDto : AuditedEntityDto<Guid>
public string City { get; set; } public string City { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public string Country { get; set; } public string Country { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
} }

View file

@ -21,8 +21,8 @@ public class EmployeeDto : FullAuditedEntityDto<Guid>
public string District { get; set; } public string District { get; set; }
public string Street { get; set; } public string Street { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public string Phone { get; set; } public long? PhoneNumber { get; set; }
public string PersonalPhone { get; set; } public long? MobileNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Address1 { get; set; } public string Address1 { get; set; }
public string Address2 { get; set; } public string Address2 { get; set; }
@ -30,7 +30,7 @@ public class EmployeeDto : FullAuditedEntityDto<Guid>
// Emergency contact // Emergency contact
public string EmergencyContactName { get; set; } public string EmergencyContactName { get; set; }
public string EmergencyContactRelationship { get; set; } public string EmergencyContactRelationship { get; set; }
public string EmergencyContactPhone { get; set; } public long EmergencyContactPhoneNumber { get; set; }
public DateTime HireDate { get; set; } public DateTime HireDate { get; set; }
public DateTime? TerminationDate { get; set; } public DateTime? TerminationDate { get; set; }

View file

@ -10,7 +10,7 @@ public class VisitorDto : FullAuditedEntityDto<Guid>
public string FullName { get; set; } public string FullName { get; set; }
public string CompanyName { get; set; } public string CompanyName { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Purpose { get; set; } public string Purpose { get; set; }
public DateTime VisitDate { get; set; } public DateTime VisitDate { get; set; }
public DateTime? CheckIn { get; set; } public DateTime? CheckIn { get; set; }

View file

@ -22,9 +22,9 @@ public class CreateUpdateTenantInput
public string Address1 { get; set; } public string Address1 { get; set; }
public string Address2 { get; set; } public string Address2 { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public long Phone { get; set; } public long? PhoneNumber { get; set; }
public long Mobile { get; set; } public long? MobileNumber { get; set; }
public long Fax { get; set; } public long? FaxNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Website { get; set; } public string Website { get; set; }
public string MenuGroup { get; set; } public string MenuGroup { get; set; }

View file

@ -8,7 +8,7 @@ namespace Kurs.Platform.Public;
public class ContactDto : EntityDto<Guid> public class ContactDto : EntityDto<Guid>
{ {
public string Address { get; set; } public string Address { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Location { get; set; } public string Location { get; set; }
public string TaxNumber { get; set; } public string TaxNumber { get; set; }

View file

@ -9,7 +9,7 @@ public class DemoDto : FullAuditedEntityDto<Guid>
public string OrganizationName { get; set; } public string OrganizationName { get; set; }
public string FullName { get; set; } public string FullName { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Address { get; set; } public string Address { get; set; }
public int NumberOfBranches { get; set; } public int NumberOfBranches { get; set; }
public int NumberOfUsers { get; set; } public int NumberOfUsers { get; set; }

View file

@ -19,9 +19,9 @@ public class CustomTenantDto
public string Address1 { get; set; } public string Address1 { get; set; }
public string Address2 { get; set; } public string Address2 { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public long Phone { get; set; } public long MobileNumber { get; set; }
public long Mobile { get; set; } public long? PhoneNumber { get; set; }
public long Fax { get; set; } public long? FaxNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Website { get; set; } public string Website { get; set; }
public string MenuGroup { get; set; } public string MenuGroup { get; set; }

View file

@ -124,9 +124,9 @@ public class ListFormDynamicApiAppService : PlatformAppService, IListFormDynamic
entity.SetAddress1(input.Data.Address1); entity.SetAddress1(input.Data.Address1);
entity.SetAddress2(input.Data.Address2); entity.SetAddress2(input.Data.Address2);
entity.SetPostalCode(input.Data.PostalCode); entity.SetPostalCode(input.Data.PostalCode);
entity.SetPhone(input.Data.Phone); entity.SetPhoneNumber(input.Data.PhoneNumber);
entity.SetMobile(input.Data.Mobile); entity.SetMobileNumber(input.Data.MobileNumber);
entity.SetFax(input.Data.Fax); entity.SetFaxNumber(input.Data.FaxNumber);
entity.SetEmail(input.Data.Email); entity.SetEmail(input.Data.Email);
entity.SetWebsite(input.Data.Website); entity.SetWebsite(input.Data.Website);
entity.SetMenuGroup(input.Data.MenuGroup); entity.SetMenuGroup(input.Data.MenuGroup);
@ -159,9 +159,9 @@ public class ListFormDynamicApiAppService : PlatformAppService, IListFormDynamic
entity.SetAddress1(input.Data.Address1); entity.SetAddress1(input.Data.Address1);
entity.SetAddress2(input.Data.Address2); entity.SetAddress2(input.Data.Address2);
entity.SetPostalCode(input.Data.PostalCode); entity.SetPostalCode(input.Data.PostalCode);
entity.SetPhone(input.Data.Phone); entity.SetPhoneNumber(input.Data.PhoneNumber);
entity.SetMobile(input.Data.Mobile); entity.SetMobileNumber(input.Data.MobileNumber);
entity.SetFax(input.Data.Fax); entity.SetFaxNumber(input.Data.FaxNumber);
entity.SetEmail(input.Data.Email); entity.SetEmail(input.Data.Email);
entity.SetWebsite(input.Data.Website); entity.SetWebsite(input.Data.Website);
entity.SetMenuGroup(input.Data.MenuGroup); entity.SetMenuGroup(input.Data.MenuGroup);

View file

@ -75,7 +75,7 @@ public class PublicAppService : PlatformAppService
bodyBuilder.AppendLine($"Şirket: {input.OrganizationName}"); bodyBuilder.AppendLine($"Şirket: {input.OrganizationName}");
bodyBuilder.AppendLine($"Ad Soyad: {input.FullName}"); bodyBuilder.AppendLine($"Ad Soyad: {input.FullName}");
bodyBuilder.AppendLine($"E-Posta: {input.Email}"); bodyBuilder.AppendLine($"E-Posta: {input.Email}");
bodyBuilder.AppendLine($"Telefon: {input.Phone}"); bodyBuilder.AppendLine($"Telefon: {input.PhoneNumber}");
bodyBuilder.AppendLine($"Adres: {input.Address}"); bodyBuilder.AppendLine($"Adres: {input.Address}");
bodyBuilder.AppendLine($"Şube Sayısı: {input.NumberOfBranches}"); bodyBuilder.AppendLine($"Şube Sayısı: {input.NumberOfBranches}");
bodyBuilder.AppendLine($"Kullanıcı Sayısı: {input.NumberOfUsers}"); bodyBuilder.AppendLine($"Kullanıcı Sayısı: {input.NumberOfUsers}");
@ -235,9 +235,9 @@ public class PublicAppService : PlatformAppService
Country = input.Tenant.Country, Country = input.Tenant.Country,
City = input.Tenant.City, City = input.Tenant.City,
PostalCode = input.Tenant.PostalCode, PostalCode = input.Tenant.PostalCode,
Phone = input.Tenant.Phone, MobileNumber = input.Tenant.MobileNumber,
Mobile = input.Tenant.Mobile, PhoneNumber = input.Tenant.PhoneNumber,
Fax = input.Tenant.Fax, FaxNumber = input.Tenant.FaxNumber,
Email = input.Tenant.Email, Email = input.Tenant.Email,
Website = input.Tenant.Website, Website = input.Tenant.Website,
MenuGroup = input.Tenant.MenuGroup, MenuGroup = input.Tenant.MenuGroup,

View file

@ -86,9 +86,9 @@ public class PlatformTenantAppService : TenantAppService, IPlatformTenantAppServ
dto.Address1 = tenant.GetAddress1(); dto.Address1 = tenant.GetAddress1();
dto.Address2 = tenant.GetAddress2(); dto.Address2 = tenant.GetAddress2();
dto.PostalCode = tenant.GetPostalCode(); dto.PostalCode = tenant.GetPostalCode();
dto.Phone = tenant.GetPhone(); dto.PhoneNumber = tenant.GetPhoneNumber();
dto.Mobile = tenant.GetMobile(); dto.MobileNumber = tenant.GetMobileNumber();
dto.Fax = tenant.GetFax(); dto.FaxNumber = tenant.GetFaxNumber();
dto.Email = tenant.GetEmail(); dto.Email = tenant.GetEmail();
dto.Website = tenant.GetWebsite(); dto.Website = tenant.GetWebsite();
dto.MenuGroup = tenant.GetMenuGroup(); dto.MenuGroup = tenant.GetMenuGroup();

View file

@ -7227,9 +7227,9 @@
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Public.common.phone", "key": "Public.common.phoneNumber",
"tr": "Telefon", "tr": "Telefon No",
"en": "Phone" "en": "Phone Number"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -7299,9 +7299,9 @@
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Public.contact.phone", "key": "Public.contact.phoneNumber",
"tr": "Telefon", "tr": "Telefon No",
"en": "Phone" "en": "Phone Number"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -7395,7 +7395,7 @@
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Public.demo.phone", "key": "Public.demo.phoneNumber",
"tr": "+90 (555) 123-4567", "tr": "+90 (555) 123-4567",
"en": "+90 (555) 123-4567" "en": "+90 (555) 123-4567"
}, },
@ -8049,9 +8049,9 @@
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Public.payment.customer.phone", "key": "Public.payment.customer.phoneNumber",
"tr": "Telefon:", "tr": "Telefon No:",
"en": "Phone:" "en": "Phone Number:"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -8277,9 +8277,9 @@
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "Public.products.tenantForm.phone", "key": "Public.products.tenantForm.phoneNumber",
"tr": "Telefon *", "tr": "Telefon No*",
"en": "Phone *" "en": "Phone Number*"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",

View file

@ -13,8 +13,6 @@ using Volo.Abp.Data;
using Volo.Abp.DependencyInjection; using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories; using Volo.Abp.Domain.Repositories;
using Volo.Abp.Identity; using Volo.Abp.Identity;
using Volo.Abp.TenantManagement;
using AbpIdentity = Kurs.Platform.Data.Seeds.SeedConsts.AbpIdentity;
using AppCodes = Kurs.Platform.Data.Seeds.SeedConsts.AppCodes; using AppCodes = Kurs.Platform.Data.Seeds.SeedConsts.AppCodes;
using static Kurs.Platform.PlatformConsts; using static Kurs.Platform.PlatformConsts;
using static Kurs.Platform.PlatformSeeder.SeederDefaults; using static Kurs.Platform.PlatformSeeder.SeederDefaults;
@ -110,7 +108,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
new EditingFormItemDto { Order = 7, DataField = "City", ColSpan = 1, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 7, DataField = "City", ColSpan = 1, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 8, DataField = "District", ColSpan = 1, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 8, DataField = "District", ColSpan = 1, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 9, DataField = "PostalCode", ColSpan = 1, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 9, DataField = "PostalCode", ColSpan = 1, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 10, DataField = "Phone", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 10, DataField = "PhoneNumber", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 11, DataField = "Email", ColSpan = 1, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 11, DataField = "Email", ColSpan = 1, EditorType2=EditorTypes.dxTextBox },
]} ]}
}), }),
@ -327,13 +325,14 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
ListFormCode = formBank.ListFormCode, ListFormCode = formBank.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 150, Width = 150,
ListOrderNo = 11, ListOrderNo = 11,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Accounting.Bank), PermissionJson = DefaultFieldPermissionJson(AppCodes.Accounting.Bank),
PivotSettingsJson = DefaultPivotSettingsJson, PivotSettingsJson = DefaultPivotSettingsJson,
@ -415,7 +414,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
new EditingFormItemDto { Order = 8, DataField = "City", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 8, DataField = "City", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 9, DataField = "District", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 9, DataField = "District", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 10, DataField = "PostalCode", ColSpan = 2, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 10, DataField = "PostalCode", ColSpan = 2, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 11, DataField = "Phone", ColSpan = 2, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 11, DataField = "PhoneNumber", ColSpan = 2, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 12, DataField = "Email", ColSpan = 2, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 12, DataField = "Email", ColSpan = 2, EditorType2=EditorTypes.dxTextBox },
]} ]}
}), }),
@ -637,13 +636,14 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
ListFormCode = listFormBank.ListFormCode, ListFormCode = listFormBank.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 150, Width = 150,
ListOrderNo = 11, ListOrderNo = 11,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Accounting.Bank), PermissionJson = DefaultFieldPermissionJson(AppCodes.Accounting.Bank),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson

View file

@ -1132,6 +1132,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(PlatformConsts.IdentityPermissions.Users.Create, PlatformConsts.IdentityPermissions.Users.Default, PlatformConsts.IdentityPermissions.Users.Update, true, true, false), PermissionJson = DefaultFieldPermissionJson(PlatformConsts.IdentityPermissions.Users.Create, PlatformConsts.IdentityPermissions.Users.Default, PlatformConsts.IdentityPermissions.Users.Update, true, true, false),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -2264,8 +2265,8 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
new EditingFormItemDto { Order = 2, DataField = "Description", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 2, DataField = "Description", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 3, DataField = "Category", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 3, DataField = "Category", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 4, DataField = "Order", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 4, DataField = "Order", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 5, DataField = "MonthlyPrice", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 5, DataField = "MonthlyPrice", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 6, DataField = "YearlyPrice", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 6, DataField = "YearlyPrice", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 7, DataField = "IsQuantityBased", ColSpan = 2, EditorType2 = EditorTypes.dxCheckBox }, new EditingFormItemDto { Order = 7, DataField = "IsQuantityBased", ColSpan = 2, EditorType2 = EditorTypes.dxCheckBox },
new EditingFormItemDto { Order = 8, DataField = "ImageUrl", ColSpan = 2, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 8, DataField = "ImageUrl", ColSpan = 2, EditorType2 = EditorTypes.dxTextBox },
] ]
@ -2487,7 +2488,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
Items = Items =
[ [
new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "Commission", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 2, DataField = "Commission", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 3, DataField = "Logo", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 3, DataField = "Logo", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
] ]
} }
@ -2621,7 +2622,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
[ [
new EditingFormItemDto { Order = 1, DataField = "Installment", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "Installment", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 2, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 3, DataField = "Commission", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 3, DataField = "Commission", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
] ]
} }
}), }),
@ -2768,14 +2769,14 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
}, },
new() { Order=2, ColCount=1, ColSpan=1, ItemType="group", Items = new() { Order=2, ColCount=1, ColSpan=1, ItemType="group", Items =
[ [
new EditingFormItemDto { Order = 11, DataField = "Phone", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 11, DataField = "PhoneNumber", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 12, DataField = "Mobile", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 12, DataField = "MobileNumber", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 13, DataField = "Fax", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 13, DataField = "FaxNumber", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 14, DataField = "Email", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 14, DataField = "Email", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 15, DataField = "Website", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 15, DataField = "Website", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 16, DataField = "Subtotal", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 16, DataField = "Subtotal", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 17, DataField = "Commission", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 17, DataField = "Commission", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 18, DataField = "Total", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 18, DataField = "Total", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 19, DataField = "PaymentMethodId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 19, DataField = "PaymentMethodId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 20, DataField = "Installment", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 20, DataField = "Installment", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
] ]
@ -2979,13 +2980,14 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ListFormCode = listFormPurchaseOrder.ListFormCode, ListFormCode = listFormPurchaseOrder.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 100, Width = 100,
ListOrderNo = 11, ListOrderNo = 11,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Orders.PurchaseOrders), PermissionJson = DefaultFieldPermissionJson(AppCodes.Orders.PurchaseOrders),
}, },
@ -2994,13 +2996,14 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ListFormCode = listFormPurchaseOrder.ListFormCode, ListFormCode = listFormPurchaseOrder.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Mobile", FieldName = "MobileNumber",
Width = 100, Width = 100,
ListOrderNo = 12, ListOrderNo = 12,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Orders.PurchaseOrders), PermissionJson = DefaultFieldPermissionJson(AppCodes.Orders.PurchaseOrders),
}, },
@ -3009,13 +3012,14 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ListFormCode = listFormPurchaseOrder.ListFormCode, ListFormCode = listFormPurchaseOrder.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Fax", FieldName = "FaxNumber",
Width = 100, Width = 100,
ListOrderNo = 13, ListOrderNo = 13,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Orders.PurchaseOrders), PermissionJson = DefaultFieldPermissionJson(AppCodes.Orders.PurchaseOrders),
}, },
@ -3398,9 +3402,9 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
new EditingFormItemDto { Order = 4, DataField = "CoverImage", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 4, DataField = "CoverImage", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 5, DataField = "ReadTime", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 5, DataField = "ReadTime", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 6, DataField = "CategoryId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 6, DataField = "CategoryId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 7, DataField = "ViewCount", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 7, DataField = "ViewCount", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 8, DataField = "LikeCount", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 8, DataField = "LikeCount", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 9, DataField = "CommentCount", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 9, DataField = "CommentCount", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 10, DataField = "IsPublished", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxCheckBox }, new EditingFormItemDto { Order = 10, DataField = "IsPublished", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxCheckBox },
new EditingFormItemDto { Order = 11, DataField = "PublishedAt", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxDateBox }, new EditingFormItemDto { Order = 11, DataField = "PublishedAt", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxDateBox },
new EditingFormItemDto { Order = 12, DataField = "ContentTr", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxHtmlEditor, EditorOptions=EditorOptionValues.HtmlEditorOptions }, new EditingFormItemDto { Order = 12, DataField = "ContentTr", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxHtmlEditor, EditorOptions=EditorOptionValues.HtmlEditorOptions },
@ -3712,7 +3716,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
new EditingFormItemDto { Order = 1, DataField = "OrganizationName", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "OrganizationName", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "FullName", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 2, DataField = "FullName", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 3, DataField = "Email", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 3, DataField = "Email", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 4, DataField = "Phone", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 4, DataField = "PhoneNumber", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 5, DataField = "Address", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextArea }, new EditingFormItemDto { Order = 5, DataField = "Address", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextArea },
new EditingFormItemDto { Order = 6, DataField = "NumberOfBranches", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 6, DataField = "NumberOfBranches", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 7, DataField = "NumberOfUsers", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 7, DataField = "NumberOfUsers", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox },
@ -3805,13 +3809,14 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ListFormCode = listFormDemo.ListFormCode, ListFormCode = listFormDemo.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 100, Width = 100,
ListOrderNo = 5, ListOrderNo = 5,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Demos), PermissionJson = DefaultFieldPermissionJson(AppCodes.Demos),
}, },
@ -3931,7 +3936,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
Items = Items =
[ [
new EditingFormItemDto { Order = 1, DataField = "Address", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 1, DataField = "Address", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 2, DataField = "Phone", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 2, DataField = "PhoneNumber", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 3, DataField = "Email", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 3, DataField = "Email", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 4, DataField = "Location", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 4, DataField = "Location", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 5, DataField = "TaxNumber", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 5, DataField = "TaxNumber", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox },
@ -3997,13 +4002,14 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ListFormCode = listFormContact.ListFormCode, ListFormCode = listFormContact.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 150, Width = 150,
ListOrderNo = 3, ListOrderNo = 3,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ValidationRuleJson = DefaultValidationRuleRequiredJson, ValidationRuleJson = DefaultValidationRuleRequiredJson,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Contact), PermissionJson = DefaultFieldPermissionJson(AppCodes.Contact),
@ -5752,12 +5758,12 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
new EditingFormItemDto { Order = 3, DataField = "ModelYear", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 3, DataField = "ModelYear", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 4, DataField = "DriverNationalId", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 4, DataField = "DriverNationalId", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 5, DataField = "DriverName", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 5, DataField = "DriverName", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 6, DataField = "DriverPhone1", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 6, DataField = "DriverPhone1", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 7, DataField = "DriverPhone2", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 7, DataField = "DriverPhone2", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 8, DataField = "AssistantDriverNationalId", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 8, DataField = "AssistantDriverNationalId", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 9, DataField = "AssistantDriverName", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 9, DataField = "AssistantDriverName", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 10, DataField = "AssistantDriverPhone1", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 10, DataField = "AssistantDriverPhone1", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 11, DataField = "AssistantDriverPhone2", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 11, DataField = "AssistantDriverPhone2", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 12, DataField = "Status", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 12, DataField = "Status", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox },
]} ]}
}), }),
@ -5875,6 +5881,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle), PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -5889,6 +5896,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle), PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -5933,6 +5941,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle), PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -5947,6 +5956,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle), PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Vehicle),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -6034,7 +6044,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ItemType = "group", ItemType = "group",
Items =[ Items =[
new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "Phone", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 2, DataField = "PhoneNumber", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 3, DataField = "Email", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 3, DataField = "Email", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 4, DataField = "Address", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea }, new EditingFormItemDto { Order = 4, DataField = "Address", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea },
new EditingFormItemDto { Order = 5, DataField = "Status", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 5, DataField = "Status", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox },
@ -6092,18 +6102,19 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Psychologist), PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Psychologist),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
}, },
// Phone // PhoneNumber
new() new()
{ {
ListFormCode = listFormPsychologist.ListFormCode, ListFormCode = listFormPsychologist.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 150, Width = 150,
ListOrderNo = 3, ListOrderNo = 3,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Psychologist), PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Psychologist),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -6211,7 +6222,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
PagerOptionJson = DefaultPagerOptionJson, PagerOptionJson = DefaultPagerOptionJson,
EditingOptionJson = JsonSerializer.Serialize(new GridEditingDto EditingOptionJson = JsonSerializer.Serialize(new GridEditingDto
{ {
Popup = new GridEditingPopupDto() { Title = ListFormCodes.Lists.Lawyer, Width = 700, Height = 700 }, Popup = new GridEditingPopupDto() { Title = ListFormCodes.Lists.Lawyer, Width = 700, Height = 500 },
AllowDeleting = true, AllowDeleting = true,
AllowAdding = true, AllowAdding = true,
AllowUpdating = true, AllowUpdating = true,
@ -6225,19 +6236,16 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ColSpan = 2, ColSpan = 2,
ItemType = "group", ItemType = "group",
Items =[ Items =[
new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "FullName", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "ContactPerson", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 2, DataField = "Email", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 3, DataField = "Email", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 3, DataField = "MobileNumber", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 4, DataField = "Address", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea }, new EditingFormItemDto { Order = 4, DataField = "PhoneNumber", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 5, DataField = "TaxOffice", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 5, DataField = "FaxNumber", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 6, DataField = "TaxNumber", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 6, DataField = "Address", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea },
new EditingFormItemDto { Order = 7, DataField = "Phone1", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 7, DataField = "TaxOffice", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 8, DataField = "Phone2", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 8, DataField = "TaxNumber", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 9, DataField = "Phone3", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 9, DataField = "Description", ColSpan = 1, EditorType2 = EditorTypes.dxTextArea },
new EditingFormItemDto { Order = 10, DataField = "Phone4", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 10, DataField = "Status", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 11, DataField = "Fax", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 12, DataField = "Description", ColSpan = 1, EditorType2 = EditorTypes.dxTextArea },
new EditingFormItemDto { Order = 13, DataField = "Status", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
]} ]}
}), }),
InsertFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] InsertFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[]
@ -6278,7 +6286,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
ListFormCode = listFormLawyer.ListFormCode, ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Name", FieldName = "FullName",
Width = 200, Width = 200,
ListOrderNo = 2, ListOrderNo = 2,
Visible = true, Visible = true,
@ -6293,28 +6301,13 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
}, },
new() new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.String,
FieldName = "ContactPerson",
Width = 200,
ListOrderNo = 3,
Visible = true,
IsActive = true,
IsDeleted = false,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
new()
{ {
ListFormCode = listFormLawyer.ListFormCode, ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Email", FieldName = "Email",
Width = 200, Width = 200,
ListOrderNo = 4, ListOrderNo = 3,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -6324,13 +6317,61 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
}, },
new() new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "MobileNumber",
Width = 150,
ListOrderNo = 4,
Visible = true,
IsActive = true,
IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "PhoneNumber",
Width = 150,
ListOrderNo = 5,
Visible = true,
IsActive = true,
IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "FaxNumber",
Width = 150,
ListOrderNo = 6,
Visible = true,
IsActive = true,
IsDeleted = false,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
new()
{ {
ListFormCode = listFormLawyer.ListFormCode, ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Address", FieldName = "Address",
Width = 300, Width = 300,
ListOrderNo = 5, ListOrderNo = 7,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -6345,7 +6386,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "TaxOffice", FieldName = "TaxOffice",
Width = 150, Width = 150,
ListOrderNo = 6, ListOrderNo = 8,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -6360,37 +6401,6 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "TaxNumber", FieldName = "TaxNumber",
Width = 150, Width = 150,
ListOrderNo = 7,
Visible = true,
IsActive = true,
IsDeleted = false,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
// Telefon ve Fax alanları
new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "Phone1",
Width = 150,
ListOrderNo = 8,
Visible = true,
IsActive = true,
IsDeleted = false,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "Phone2",
Width = 150,
ListOrderNo = 9, ListOrderNo = 9,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
@ -6399,51 +6409,6 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer), PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
}, },
new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "Phone3",
Width = 150,
ListOrderNo = 10,
Visible = true,
IsActive = true,
IsDeleted = false,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "Phone4",
Width = 150,
ListOrderNo = 11,
Visible = true,
IsActive = true,
IsDeleted = false,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
new()
{
ListFormCode = listFormLawyer.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64,
FieldName = "Fax",
Width = 150,
ListOrderNo = 12,
Visible = true,
IsActive = true,
IsDeleted = false,
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Definitions.Lawyer),
PivotSettingsJson = DefaultPivotSettingsJson
},
// Description ve Status // Description ve Status
new() new()
{ {
@ -6452,7 +6417,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Description", FieldName = "Description",
Width = 300, Width = 300,
ListOrderNo = 13, ListOrderNo = 10,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -6466,7 +6431,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Status", FieldName = "Status",
Width = 120, Width = 120,
ListOrderNo = 14, ListOrderNo = 11,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,

View file

@ -420,8 +420,8 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order = 3, DataField="Description", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea }, new EditingFormItemDto { Order = 3, DataField="Description", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea },
new EditingFormItemDto { Order = 4, DataField="DepartmentId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 4, DataField="DepartmentId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 5, DataField="Level", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 5, DataField="Level", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 6, DataField="MinSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 6, DataField="MinSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 7, DataField="MaxSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 7, DataField="MaxSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 8, DataField="CurrencyId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 8, DataField="CurrencyId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 9, DataField="RequiredSkills", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea }, new EditingFormItemDto { Order = 9, DataField="RequiredSkills", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea },
new EditingFormItemDto { Order = 10, DataField="Responsibilities", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea }, new EditingFormItemDto { Order = 10, DataField="Responsibilities", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea },
@ -743,7 +743,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order = 4, DataField="ParentDepartmentId", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 4, DataField="ParentDepartmentId", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 5, DataField="ManagerId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 5, DataField="ManagerId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 6, DataField="CostCenterId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 6, DataField="CostCenterId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 7, DataField="Budget", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 7, DataField="Budget", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 8, DataField="IsActive", ColSpan = 2, EditorType2 = EditorTypes.dxCheckBox} new EditingFormItemDto { Order = 8, DataField="IsActive", ColSpan = 2, EditorType2 = EditorTypes.dxCheckBox}
]} ]}
}), }),
@ -1311,8 +1311,8 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order = 5, DataField="ResponsibleEmployeeId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 5, DataField="ResponsibleEmployeeId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 6, DataField="DepartmentId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 6, DataField="DepartmentId", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 7, DataField="CostCenterType", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 7, DataField="CostCenterType", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 8, DataField="BudgetedAmount", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 8, DataField="BudgetedAmount", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 9, DataField="ActualAmount", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 9, DataField="ActualAmount", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 10, DataField="CurrencyId", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 10, DataField="CurrencyId", ColSpan = 2, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 11, DataField="FiscalYear", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 11, DataField="FiscalYear", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 12, DataField="IsActive", ColSpan = 2, EditorType2 = EditorTypes.dxCheckBox} new EditingFormItemDto { Order = 12, DataField="IsActive", ColSpan = 2, EditorType2 = EditorTypes.dxCheckBox}
@ -1650,8 +1650,8 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order = 3, DataField="District", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 3, DataField="District", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 4, DataField="Street", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 4, DataField="Street", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 5, DataField="PostalCode", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 5, DataField="PostalCode", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 6, DataField="Phone", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 6, DataField="PhoneNumber", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 7, DataField="PersonalPhone", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 7, DataField="MobileNumber", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 8, DataField="Email", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 8, DataField="Email", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 9, DataField="Address1", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 9, DataField="Address1", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 10, DataField="Address2", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 10, DataField="Address2", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
@ -1675,7 +1675,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
Order=4, Caption="Emergency", ColCount=1, ColSpan=1, ItemType="group", Items =[ Order=4, Caption="Emergency", ColCount=1, ColSpan=1, ItemType="group", Items =[
new EditingFormItemDto { Order = 1, DataField="EmergencyContactName", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField="EmergencyContactName", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField="EmergencyContactRelationship", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 2, DataField="EmergencyContactRelationship", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 3, DataField="EmergencyContactPhone", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 3, DataField="EmergencyContactPhoneNumber", ColSpan = 1, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
]}, ]},
}), }),
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] { FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
@ -1987,13 +1987,14 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
ListFormCode = listFormEmployee.ListFormCode, ListFormCode = listFormEmployee.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 100, Width = 100,
ListOrderNo = 16, ListOrderNo = 16,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Hr.Employee), PermissionJson = DefaultFieldPermissionJson(AppCodes.Hr.Employee),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -2002,13 +2003,14 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
ListFormCode = listFormEmployee.ListFormCode, ListFormCode = listFormEmployee.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "PersonalPhone", FieldName = "MobileNumber",
Width = 100, Width = 100,
ListOrderNo = 17, ListOrderNo = 17,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Hr.Employee), PermissionJson = DefaultFieldPermissionJson(AppCodes.Hr.Employee),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -2064,13 +2066,14 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
ListFormCode = listFormEmployee.ListFormCode, ListFormCode = listFormEmployee.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "EmergencyContactPhone", FieldName = "EmergencyContactPhoneNumber",
Width = 150, Width = 150,
ListOrderNo = 21, ListOrderNo = 21,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Hr.Employee), PermissionJson = DefaultFieldPermissionJson(AppCodes.Hr.Employee),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -2735,7 +2738,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order = 6, DataField = "TotalHours", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.Disabled}, new EditingFormItemDto { Order = 6, DataField = "TotalHours", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.Disabled},
new EditingFormItemDto { Order = 7, DataField = "Reason", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextArea}, new EditingFormItemDto { Order = 7, DataField = "Reason", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextArea},
new EditingFormItemDto { Order = 8, DataField = "Rate", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox}, new EditingFormItemDto { Order = 8, DataField = "Rate", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox},
new EditingFormItemDto { Order = 9, DataField = "Amount", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.Disabled}, new EditingFormItemDto { Order = 9, DataField = "Amount", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = "{ \"disabled\" : true, \"format\" : { \"type\" : \"fixedPoint\", \"precision\" : 2 } }"},
new EditingFormItemDto { Order = 10, DataField = "Status", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox}, new EditingFormItemDto { Order = 10, DataField = "Status", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox},
]} ]}
}), }),
@ -3078,7 +3081,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
Order=1, ColCount=1, ColSpan=2, ItemType="group", Items =[ Order=1, ColCount=1, ColSpan=2, ItemType="group", Items =[
new EditingFormItemDto { Order = 1, DataField = "EmployeeId", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 1, DataField = "EmployeeId", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 2, DataField = "Category", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 2, DataField = "Category", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 3, DataField = "Amount", IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 3, DataField = "Amount", IsRequired = true, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 4, DataField = "CurrencyId", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 4, DataField = "CurrencyId", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 5, DataField = "RequestDate", IsRequired = true, EditorType2 = EditorTypes.dxDateBox }, new EditingFormItemDto { Order = 5, DataField = "RequestDate", IsRequired = true, EditorType2 = EditorTypes.dxDateBox },
new EditingFormItemDto { Order = 6, DataField = "Description", EditorType2 = EditorTypes.dxTextArea }, new EditingFormItemDto { Order = 6, DataField = "Description", EditorType2 = EditorTypes.dxTextArea },
@ -3183,6 +3186,8 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Decimal, SourceDbType = DbType.Decimal,
FieldName = "Amount", FieldName = "Amount",
Format = "fixedPoint",
Alignment = "right",
Width = 100, Width = 100,
ListOrderNo = 4, ListOrderNo = 4,
Visible = true, Visible = true,
@ -3388,7 +3393,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order = 7, DataField = "Bonus", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat }, new EditingFormItemDto { Order = 7, DataField = "Bonus", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 8, DataField = "GrossSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat }, new EditingFormItemDto { Order = 8, DataField = "GrossSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 9, DataField = "NetSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat }, new EditingFormItemDto { Order = 9, DataField = "NetSalary", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 10, DataField = "Tax", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat }, new EditingFormItemDto { Order = 10, DataField = "TaxNumber", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 11, DataField = "SocialSecurity", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat }, new EditingFormItemDto { Order = 11, DataField = "SocialSecurity", ColSpan = 2, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 12, DataField = "Status", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox}, new EditingFormItemDto { Order = 12, DataField = "Status", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox},
]} ]}
@ -3403,7 +3408,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new() { FieldName = "Bonus", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "Bonus", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
new() { FieldName = "GrossSalary", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "GrossSalary", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
new() { FieldName = "NetSalary", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "NetSalary", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
new() { FieldName = "Tax", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "TaxNumber", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
new() { FieldName = "SocialSecurity", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, new() { FieldName = "SocialSecurity", FieldDbType = DbType.Decimal, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value },
}), }),
CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] { CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] {
@ -3640,8 +3645,8 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new() { new() {
ListFormCode = listFormPayroll.ListFormCode, ListFormCode = listFormPayroll.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Decimal, SourceDbType = DbType.Int64,
FieldName = "Tax", FieldName = "TaxNumber",
Format = "fixedPoint", Format = "fixedPoint",
Alignment = "right", Alignment = "right",
Width = 100, Width = 100,

View file

@ -1052,7 +1052,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
new EditingFormItemDto { Order = 2, DataField = "Type", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 2, DataField = "Type", IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 3, DataField = "DepartureTime", IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions = EditorOptionValues.TimeSpanOptions }, new EditingFormItemDto { Order = 3, DataField = "DepartureTime", IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions = EditorOptionValues.TimeSpanOptions },
new EditingFormItemDto { Order = 4, DataField = "ArrivalTime", IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions = EditorOptionValues.TimeSpanOptions }, new EditingFormItemDto { Order = 4, DataField = "ArrivalTime", IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions = EditorOptionValues.TimeSpanOptions },
new EditingFormItemDto { Order = 5, DataField = "Capacity", EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 5, DataField = "Capacity", EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
new EditingFormItemDto { Order = 6, DataField = "Route", IsRequired = true, EditorType2 = EditorTypes.dxTagBox } new EditingFormItemDto { Order = 6, DataField = "Route", IsRequired = true, EditorType2 = EditorTypes.dxTagBox }
] ]
} }
@ -1162,6 +1162,8 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int32, SourceDbType = DbType.Int32,
FieldName = "Capacity", FieldName = "Capacity",
Format = "fixedPoint",
Alignment = "right",
Width = 100, Width = 100,
ListOrderNo = 6, ListOrderNo = 6,
Visible = true, Visible = true,
@ -1576,7 +1578,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
new EditingFormItemDto { Order = 1, DataField = "FullName", IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "FullName", IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "CompanyName", IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 2, DataField = "CompanyName", IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 3, DataField = "Email", EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 3, DataField = "Email", EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 4, DataField = "Phone", IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions = EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order = 4, DataField = "PhoneNumber", IsRequired = true, EditorType2 = EditorTypes.dxTextBox, EditorOptions = EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order = 5, DataField = "Purpose", IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 5, DataField = "Purpose", IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 6, DataField = "VisitDate", IsRequired = true, EditorType2 = EditorTypes.dxDateBox }, new EditingFormItemDto { Order = 6, DataField = "VisitDate", IsRequired = true, EditorType2 = EditorTypes.dxDateBox },
new EditingFormItemDto { Order = 7, DataField = "CheckIn", EditorType2 = EditorTypes.dxDateBox }, new EditingFormItemDto { Order = 7, DataField = "CheckIn", EditorType2 = EditorTypes.dxDateBox },
@ -1664,13 +1666,14 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
ListFormCode = listFormVisitor.ListFormCode, ListFormCode = listFormVisitor.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 100, Width = 100,
ListOrderNo = 5, ListOrderNo = 5,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ValidationRuleJson = DefaultValidationRuleEmailJson, ValidationRuleJson = DefaultValidationRuleEmailJson,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Intranet.Visitor), PermissionJson = DefaultFieldPermissionJson(AppCodes.Intranet.Visitor),

View file

@ -108,9 +108,9 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order=3, DataField = "Founder", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=3, DataField = "Founder", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=4, DataField = "VknTckn", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxNumberBox }, new EditingFormItemDto { Order=4, DataField = "VknTckn", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxNumberBox },
new EditingFormItemDto { Order=5, DataField = "TaxOffice", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=5, DataField = "TaxOffice", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=6, DataField = "Mobile", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=6, DataField = "MobileNumber", ColSpan=1, IsRequired=true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=7, DataField = "Phone", ColSpan=1, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=7, DataField = "PhoneNumber", ColSpan=1, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=8, DataField = "Fax", ColSpan=1, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=8, DataField = "FaxNumber", ColSpan=1, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=9, DataField = "IsActive", ColSpan=1, IsRequired=false, EditorType2=EditorTypes.dxCheckBox }, new EditingFormItemDto { Order=9, DataField = "IsActive", ColSpan=1, IsRequired=false, EditorType2=EditorTypes.dxCheckBox },
]}, ]},
new() { Order=2, ColCount=2, ColSpan=1, ItemType="group", Items = [ new() { Order=2, ColCount=2, ColSpan=1, ItemType="group", Items = [
@ -442,13 +442,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = formTenant.ListFormCode, ListFormCode = formTenant.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Mobile", FieldName = "MobileNumber",
Width = 100, Width = 100,
ListOrderNo = 16, ListOrderNo = 16,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Default), PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Default),
PivotSettingsJson = DefaultPivotSettingsJson, PivotSettingsJson = DefaultPivotSettingsJson,
@ -458,13 +459,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = formTenant.ListFormCode, ListFormCode = formTenant.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 100, Width = 100,
ListOrderNo = 17, ListOrderNo = 17,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Default), PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Default),
PivotSettingsJson = DefaultPivotSettingsJson, PivotSettingsJson = DefaultPivotSettingsJson,
@ -474,13 +476,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = formTenant.ListFormCode, ListFormCode = formTenant.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Fax", FieldName = "FaxNumber",
Width = 100, Width = 100,
ListOrderNo = 18, ListOrderNo = 18,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Default), PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Default),
PivotSettingsJson = DefaultPivotSettingsJson, PivotSettingsJson = DefaultPivotSettingsJson,
@ -721,9 +724,9 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order=3, DataField = "Founder", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=3, DataField = "Founder", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=4, DataField = "VknTckn", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxNumberBox }, new EditingFormItemDto { Order=4, DataField = "VknTckn", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxNumberBox },
new EditingFormItemDto { Order=5, DataField = "TaxOffice", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=5, DataField = "TaxOffice", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=6, DataField = "Mobile", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=6, DataField = "MobileNumber", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=7, DataField = "Phone", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=7, DataField = "PhoneNumber", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=8, DataField = "Fax", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=8, DataField = "FaxNumber", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=9, DataField = "IsActive", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxCheckBox }, new EditingFormItemDto { Order=9, DataField = "IsActive", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxCheckBox },
] ]
}, },
@ -1062,13 +1065,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = listFormTenants.ListFormCode, ListFormCode = listFormTenants.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Mobile", FieldName = "MobileNumber",
Width = 100, Width = 100,
ListOrderNo = 16, ListOrderNo = 16,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Create, TenantManagementPermissions.Tenants.Default, TenantManagementPermissions.Tenants.Update, true, true, false), PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Create, TenantManagementPermissions.Tenants.Default, TenantManagementPermissions.Tenants.Update, true, true, false),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -1078,13 +1082,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = listFormTenants.ListFormCode, ListFormCode = listFormTenants.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 100, Width = 100,
ListOrderNo = 17, ListOrderNo = 17,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Create, TenantManagementPermissions.Tenants.Default, TenantManagementPermissions.Tenants.Update, true, true, false), PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Create, TenantManagementPermissions.Tenants.Default, TenantManagementPermissions.Tenants.Update, true, true, false),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -1094,13 +1099,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = listFormTenants.ListFormCode, ListFormCode = listFormTenants.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Fax", FieldName = "FaxNumber",
Width = 100, Width = 100,
ListOrderNo = 18, ListOrderNo = 18,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Create, TenantManagementPermissions.Tenants.Default, TenantManagementPermissions.Tenants.Update, true, true, false), PermissionJson = DefaultFieldPermissionJson(TenantManagementPermissions.Tenants.Create, TenantManagementPermissions.Tenants.Default, TenantManagementPermissions.Tenants.Update, true, true, false),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -1199,9 +1205,9 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order=3, DataField = "Name", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=3, DataField = "Name", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=4, DataField = "VknTckn", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxNumberBox }, new EditingFormItemDto { Order=4, DataField = "VknTckn", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxNumberBox },
new EditingFormItemDto { Order=5, DataField = "TaxOffice", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=5, DataField = "TaxOffice", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=6, DataField = "Mobile", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=6, DataField = "MobileNumber", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=7, DataField = "Phone", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=7, DataField = "PhoneNumber", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=8, DataField = "Fax", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions }, new EditingFormItemDto { Order=8, DataField = "FaxNumber", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxTextBox, EditorOptions=EditorOptionValues.PhoneEditorOptions },
new EditingFormItemDto { Order=9, DataField = "IsActive", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxCheckBox }, new EditingFormItemDto { Order=9, DataField = "IsActive", ColSpan=2, IsRequired=false, EditorType2=EditorTypes.dxCheckBox },
] ]
}, },
@ -1539,13 +1545,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = listFormBranches.ListFormCode, ListFormCode = listFormBranches.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Mobile", FieldName = "MobileNumber",
Width = 100, Width = 100,
ListOrderNo = 15, ListOrderNo = 15,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Branches), PermissionJson = DefaultFieldPermissionJson(AppCodes.Branches),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -1555,13 +1562,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = listFormBranches.ListFormCode, ListFormCode = listFormBranches.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Phone", FieldName = "PhoneNumber",
Width = 100, Width = 100,
ListOrderNo = 16, ListOrderNo = 16,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Branches), PermissionJson = DefaultFieldPermissionJson(AppCodes.Branches),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -1571,13 +1579,14 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ListFormCode = listFormBranches.ListFormCode, ListFormCode = listFormBranches.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Int64, SourceDbType = DbType.Int64,
FieldName = "Fax", FieldName = "FaxNumber",
Width = 100, Width = 100,
ListOrderNo = 17, ListOrderNo = 17,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
EditorOptions = EditorOptionValues.PhoneEditorOptions,
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(AppCodes.Branches), PermissionJson = DefaultFieldPermissionJson(AppCodes.Branches),
PivotSettingsJson = DefaultPivotSettingsJson PivotSettingsJson = DefaultPivotSettingsJson
@ -2032,7 +2041,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order=2, DataField="Group", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=2, DataField="Group", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=3, DataField="Term", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=3, DataField="Term", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=4, DataField="Url", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order=4, DataField="Url", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order=5, DataField="Weight", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxNumberBox }, new EditingFormItemDto { Order=5, DataField="Weight", ColSpan=2, IsRequired=true, EditorType2=EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat },
]} ]}
}), }),
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] { FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
@ -4666,46 +4675,11 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
ItemType = "group", ItemType = "group",
Items = Items =
[ [
new EditingFormItemDto new EditingFormItemDto { Order = 1, DataField = "Code", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
{ new EditingFormItemDto { Order = 2, DataField = "Symbol", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxTextBox },
Order = 1, new EditingFormItemDto { Order = 3, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
DataField = "Code", new EditingFormItemDto { Order = 4, DataField = "Rate", ColSpan = 2, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox },
ColSpan = 2, new EditingFormItemDto { Order = 5, DataField = "IsActive", ColSpan = 2, IsRequired = false, EditorType2 = EditorTypes.dxCheckBox }
IsRequired = true,
EditorType2 = EditorTypes.dxTextBox
},
new EditingFormItemDto
{
Order = 2,
DataField = "Symbol",
ColSpan = 2,
IsRequired = false,
EditorType2 = EditorTypes.dxTextBox
},
new EditingFormItemDto
{
Order = 3,
DataField = "Name",
ColSpan = 2,
IsRequired = true,
EditorType2 = EditorTypes.dxTextBox
},
new EditingFormItemDto
{
Order = 4,
DataField = "Rate",
ColSpan = 2,
IsRequired = true,
EditorType2 = EditorTypes.dxNumberBox
},
new EditingFormItemDto
{
Order = 5,
DataField = "IsActive",
ColSpan = 2,
IsRequired = false,
EditorType2 = EditorTypes.dxCheckBox
}
] ]
} }
}), }),

View file

@ -24,7 +24,7 @@ public static class PlatformConsts
public static string HtmlEditorOptions = "{\"toolbar\": {\"multiline\": true, \"items\": [{\"name\": \"undo\"},{\"name\": \"redo\"},{\"name\": \"separator\"},{\"name\": \"size\",\"acceptedValues\": [\"8pt\",\"10pt\",\"12pt\",\"14pt\",\"18pt\",\"24pt\",\"36pt\"],\"options\": {\"inputAttr\": {\"aria-label\": \"Font size\"}}},{\"name\": \"font\",\"acceptedValues\": [\"Arial\",\"Courier New\",\"Georgia\",\"Impact\",\"Lucida Console\",\"Tahoma\",\"Times New Roman\",\"Verdana\"],\"options\": {\"inputAttr\": {\"aria-label\": \"Font family\"}}},{\"name\": \"separator\"},{\"name\": \"bold\"},{\"name\": \"italic\"},{\"name\": \"strike\"},{\"name\": \"underline\"},{\"name\": \"separator\"},{\"name\": \"alignLeft\"},{\"name\": \"alignCenter\"},{\"name\": \"alignRight\"},{\"name\": \"alignJustify\"},{\"name\": \"separator\"},{\"name\": \"orderedList\"},{\"name\": \"bulletList\"},{\"name\": \"separator\"},{\"name\": \"header\",\"acceptedValues\": [false,1,2,3,4,5],\"options\": {\"inputAttr\": {\"aria-label\": \"Font family\"}}},{\"name\": \"separator\"},{\"name\": \"color\"},{\"name\": \"background\"},{\"name\": \"separator\"},{\"name\": \"link\"},{\"name\": \"image\"},{\"name\": \"separator\"},{\"name\": \"clear\"},{\"name\": \"codeBlock\"},{\"name\": \"blockquote\"},{\"name\": \"separator\"},{\"name\": \"insertTable\"},{\"name\": \"deleteTable\"},{\"name\": \"insertRowAbove\"},{\"name\": \"insertRowBelow\"},{\"name\": \"deleteRow\"},{\"name\": \"insertColumnLeft\"},{\"name\": \"insertColumnRight\"},{\"name\": \"deleteColumn\"}]}}"; public static string HtmlEditorOptions = "{\"toolbar\": {\"multiline\": true, \"items\": [{\"name\": \"undo\"},{\"name\": \"redo\"},{\"name\": \"separator\"},{\"name\": \"size\",\"acceptedValues\": [\"8pt\",\"10pt\",\"12pt\",\"14pt\",\"18pt\",\"24pt\",\"36pt\"],\"options\": {\"inputAttr\": {\"aria-label\": \"Font size\"}}},{\"name\": \"font\",\"acceptedValues\": [\"Arial\",\"Courier New\",\"Georgia\",\"Impact\",\"Lucida Console\",\"Tahoma\",\"Times New Roman\",\"Verdana\"],\"options\": {\"inputAttr\": {\"aria-label\": \"Font family\"}}},{\"name\": \"separator\"},{\"name\": \"bold\"},{\"name\": \"italic\"},{\"name\": \"strike\"},{\"name\": \"underline\"},{\"name\": \"separator\"},{\"name\": \"alignLeft\"},{\"name\": \"alignCenter\"},{\"name\": \"alignRight\"},{\"name\": \"alignJustify\"},{\"name\": \"separator\"},{\"name\": \"orderedList\"},{\"name\": \"bulletList\"},{\"name\": \"separator\"},{\"name\": \"header\",\"acceptedValues\": [false,1,2,3,4,5],\"options\": {\"inputAttr\": {\"aria-label\": \"Font family\"}}},{\"name\": \"separator\"},{\"name\": \"color\"},{\"name\": \"background\"},{\"name\": \"separator\"},{\"name\": \"link\"},{\"name\": \"image\"},{\"name\": \"separator\"},{\"name\": \"clear\"},{\"name\": \"codeBlock\"},{\"name\": \"blockquote\"},{\"name\": \"separator\"},{\"name\": \"insertTable\"},{\"name\": \"deleteTable\"},{\"name\": \"insertRowAbove\"},{\"name\": \"insertRowBelow\"},{\"name\": \"deleteRow\"},{\"name\": \"insertColumnLeft\"},{\"name\": \"insertColumnRight\"},{\"name\": \"deleteColumn\"}]}}";
public static string PhoneEditorOptions = "{\"format\": \"phoneGlobal\", \"mask\":\"(000) 000-0000\", \"maskInvalidMessage\":\"Lütfen geçerli bir telefon numarası girin\", \"useMaskedValue\":false, \"maskRules\": { \"X\": \"[1-9]\" }, \"placeholder\": \"(555) 123-4567\" }"; public static string PhoneEditorOptions = "{\"format\": \"phoneGlobal\", \"mask\":\"(000) 000-0000\", \"maskInvalidMessage\":\"Lütfen geçerli bir telefon numarası girin\", \"useMaskedValue\":false, \"maskRules\": { \"X\": \"[1-9]\" }, \"placeholder\": \"(555) 123-4567\" }";
public static string TimeSpanOptions = "{\"type\":\"time\",\"pickerType\":\"list\",\"displayFormat\":\"HH:mm\",\"dateSerializationFormat\":\"yyyy-MM-ddTHH:mm:ss\",\"interval\":30,\"width\":\"100%\"}"; public static string TimeSpanOptions = "{\"type\":\"time\",\"pickerType\":\"list\",\"displayFormat\":\"HH:mm\",\"dateSerializationFormat\":\"yyyy-MM-ddTHH:mm:ss\",\"interval\":30,\"width\":\"100%\"}";
public static string NumberStandartFormat = "{ \"format\": \",##0.###\" }"; public static string NumberStandartFormat = "{ \"format\": \"fixedPoint\", \"precision\": 2 }";
public static string NumberPercentFormat = "{ \"format\": \"#0.##'%'\" }"; public static string NumberPercentFormat = "{ \"format\": \"#0.##'%'\" }";
public static string DateFormat = "{ \"format\": \"dd/MM/yyyy\", \"displayFormat\" : \"dd/MM/yyyy\" }"; public static string DateFormat = "{ \"format\": \"dd/MM/yyyy\", \"displayFormat\" : \"dd/MM/yyyy\" }";
public static string DateTimeFormat = "{ \"format\": \"dd/MM/yyyy HH:mm\", \"displayFormat\" : \"dd/MM/yyyy HH:mm\" }"; public static string DateTimeFormat = "{ \"format\": \"dd/MM/yyyy HH:mm\", \"displayFormat\" : \"dd/MM/yyyy HH:mm\" }";
@ -62,9 +62,9 @@ public static class PlatformConsts
public const string Address1 = "Address1"; public const string Address1 = "Address1";
public const string Address2 = "Address2"; public const string Address2 = "Address2";
public const string PostalCode = "PostalCode"; public const string PostalCode = "PostalCode";
public const string Phone = "Phone"; public const string PhoneNumber = "PhoneNumber";
public const string Mobile = "Mobile"; public const string MobileNumber = "MobileNumber";
public const string Fax = "Fax"; public const string FaxNumber = "FaxNumber";
public const string Email = "Email"; public const string Email = "Email";
public const string Website = "Website"; public const string Website = "Website";
public const string MenuGroup = "MenuGroup"; public const string MenuGroup = "MenuGroup";

View file

@ -17,7 +17,7 @@ public class Bank : FullAuditedEntity<Guid>, IMultiTenant
public string City { get; set; } public string City { get; set; }
public string District { get; set; } public string District { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public string Phone { get; set; } public long? PhoneNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
Guid? IMultiTenant.TenantId => TenantId; Guid? IMultiTenant.TenantId => TenantId;

View file

@ -9,7 +9,7 @@ public class Contact : FullAuditedEntity<Guid>, IMultiTenant
public Guid? TenantId { get; set; } public Guid? TenantId { get; set; }
public string Address { get; set; } public string Address { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Location { get; set; } public string Location { get; set; }
public string TaxNumber { get; set; } public string TaxNumber { get; set; }

View file

@ -11,7 +11,7 @@ public class Demo : FullAuditedEntity<Guid>, IMultiTenant
public string OrganizationName { get; set; } public string OrganizationName { get; set; }
public string FullName { get; set; } public string FullName { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Address { get; set; } public string Address { get; set; }
public int NumberOfBranches { get; set; } public int NumberOfBranches { get; set; }
public int NumberOfUsers { get; set; } public int NumberOfUsers { get; set; }

View file

@ -8,18 +8,15 @@ public class Lawyer : FullAuditedEntity<Guid>, IMultiTenant
{ {
public Guid? TenantId { get; set; } public Guid? TenantId { get; set; }
public string Name { get; set; } public string FullName { get; set; }
public string ContactPerson { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Address { get; set; } public string Address { get; set; }
public string TaxOffice { get; set; } public string TaxOffice { get; set; }
public string TaxNumber { get; set; } public string TaxNumber { get; set; }
public long Phone1 { get; set; } public long MobileNumber { get; set; }
public long Phone2 { get; set; } public long? PhoneNumber { get; set; }
public long Phone3 { get; set; } public long? FaxNumber { get; set; }
public long Phone4 { get; set; }
public long Fax { get; set; }
public string Description { get; set; } public string Description { get; set; }
public string Status { get; set; } public string Status { get; set; }

View file

@ -22,9 +22,9 @@ public class Order : FullAuditedEntity<Guid>, IMultiTenant
public string Country { get; set; } public string Country { get; set; }
public string City { get; set; } public string City { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public long Phone { get; set; } public long MobileNumber { get; set; }
public long Mobile { get; set; } public long? PhoneNumber { get; set; }
public long Fax { get; set; } public long? FaxNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Website { get; set; } public string Website { get; set; }
public string MenuGroup { get; set; } public string MenuGroup { get; set; }

View file

@ -9,7 +9,7 @@ public class Psychologist : FullAuditedEntity<Guid>, IMultiTenant
public Guid? TenantId { get; set; } public Guid? TenantId { get; set; }
public string Name { get; set; } // AdSoyad public string Name { get; set; } // AdSoyad
public string Phone { get; set; } // Telefon public long PhoneNumber { get; set; } // Telefon
public string Email { get; set; } // Eposta public string Email { get; set; } // Eposta
public string Address { get; set; } // Adres public string Address { get; set; } // Adres
public string Status { get; set; } // Durum public string Status { get; set; } // Durum

View file

@ -23,8 +23,8 @@ public class Employee : FullAuditedEntity<Guid>, IMultiTenant
public string District { get; set; } public string District { get; set; }
public string Street { get; set; } public string Street { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public string Phone { get; set; } public long MobileNumber { get; set; }
public string PersonalPhone { get; set; } public long? PhoneNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Address1 { get; set; } public string Address1 { get; set; }
public string Address2 { get; set; } public string Address2 { get; set; }
@ -32,7 +32,7 @@ public class Employee : FullAuditedEntity<Guid>, IMultiTenant
// Emergency contact // Emergency contact
public string EmergencyContactName { get; set; } public string EmergencyContactName { get; set; }
public string EmergencyContactRelationship { get; set; } public string EmergencyContactRelationship { get; set; }
public string EmergencyContactPhone { get; set; } public string EmergencyContactPhoneNumber { get; set; }
public DateTime HireDate { get; set; } public DateTime HireDate { get; set; }
public DateTime? TerminationDate { get; set; } public DateTime? TerminationDate { get; set; }

View file

@ -17,7 +17,7 @@ public class Payroll : FullAuditedEntity<Guid>, IMultiTenant
public decimal? Bonus { get; set; } public decimal? Bonus { get; set; }
public decimal? GrossSalary { get; set; } public decimal? GrossSalary { get; set; }
public decimal? NetSalary { get; set; } public decimal? NetSalary { get; set; }
public decimal? Tax { get; set; } public long? TaxNumber { get; set; }
public decimal? SocialSecurity { get; set; } public decimal? SocialSecurity { get; set; }
public string Status { get; set; } public string Status { get; set; }
public DateTime? PaymentDate { get; set; } public DateTime? PaymentDate { get; set; }

View file

@ -11,7 +11,7 @@ public class Visitor : FullAuditedEntity<Guid>, IMultiTenant
public string FullName { get; set; } public string FullName { get; set; }
public string CompanyName { get; set; } public string CompanyName { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Purpose { get; set; } public string Purpose { get; set; }
public DateTime VisitDate { get; set; } public DateTime VisitDate { get; set; }
public DateTime? CheckIn { get; set; } public DateTime? CheckIn { get; set; }

View file

@ -18,9 +18,9 @@ public class Branch : FullAuditedEntity<Guid>
public string Address1 { get; set; } public string Address1 { get; set; }
public string Address2 { get; set; } public string Address2 { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public long Phone { get; set; } public long MobileNumber { get; set; }
public long Mobile { get; set; } public long? PhoneNumber { get; set; }
public long Fax { get; set; } public long? FaxNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Website { get; set; } public string Website { get; set; }
public bool? IsActive { get; set; } public bool? IsActive { get; set; }

View file

@ -29,9 +29,9 @@ public class Partner : FullAuditedEntity<Guid>, IMultiTenant
public string Address1 { get; set; } public string Address1 { get; set; }
public string Address2 { get; set; } public string Address2 { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public string Phone { get; set; } public long MobileNumber { get; set; }
public string Mobile { get; set; } public long? PhoneNumber { get; set; }
public string Fax { get; set; } public long? FaxNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Website { get; set; } public string Website { get; set; }

View file

@ -14,8 +14,8 @@ public class PartnerContact : FullAuditedEntity<Guid>, IMultiTenant
public string Title { get; set; } public string Title { get; set; }
public string Department { get; set; } public string Department { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Phone { get; set; } public long MobileNumber { get; set; }
public string Mobile { get; set; } public long? PhoneNumber { get; set; }
public bool IsPrimary { get; set; } public bool IsPrimary { get; set; }
public bool IsActive { get; set; } public bool IsActive { get; set; }
} }

View file

@ -112,31 +112,31 @@ public static class AbpTenantExtensions
return tenant.GetProperty<string>(PlatformConsts.Tenants.PostalCode); return tenant.GetProperty<string>(PlatformConsts.Tenants.PostalCode);
} }
public static void SetPhone(this Tenant tenant, long phone) public static void SetPhoneNumber(this Tenant tenant, long? phoneNumber)
{ {
tenant.SetProperty(PlatformConsts.Tenants.Phone, phone); tenant.SetProperty(PlatformConsts.Tenants.PhoneNumber, phoneNumber);
} }
public static long GetPhone(this Tenant tenant) public static long GetPhoneNumber(this Tenant tenant)
{ {
return tenant.GetProperty<long>(PlatformConsts.Tenants.Phone); return tenant.GetProperty<long>(PlatformConsts.Tenants.PhoneNumber);
} }
public static void SetMobile(this Tenant tenant, long mobile) public static void SetMobileNumber(this Tenant tenant, long? mobileNumber)
{ {
tenant.SetProperty(PlatformConsts.Tenants.Mobile, mobile); tenant.SetProperty(PlatformConsts.Tenants.MobileNumber, mobileNumber);
} }
public static long GetMobile(this Tenant tenant) public static long GetMobileNumber(this Tenant tenant)
{ {
return tenant.GetProperty<long>(PlatformConsts.Tenants.Mobile); return tenant.GetProperty<long>(PlatformConsts.Tenants.MobileNumber);
} }
public static void SetFax(this Tenant tenant, long fax) public static void SetFaxNumber(this Tenant tenant, long? faxNumber)
{ {
tenant.SetProperty(PlatformConsts.Tenants.Fax, fax); tenant.SetProperty(PlatformConsts.Tenants.FaxNumber, faxNumber);
} }
public static long GetFax(this Tenant tenant) public static long GetFaxNumber(this Tenant tenant)
{ {
return tenant.GetProperty<long>(PlatformConsts.Tenants.Fax); return tenant.GetProperty<long>(PlatformConsts.Tenants.FaxNumber);
} }
public static void SetEmail(this Tenant tenant, string email) public static void SetEmail(this Tenant tenant, string email)

View file

@ -275,9 +275,9 @@ public class PlatformDbContext :
b.Property(a => a.Address1).HasMaxLength(512); b.Property(a => a.Address1).HasMaxLength(512);
b.Property(a => a.Address2).HasMaxLength(512); b.Property(a => a.Address2).HasMaxLength(512);
b.Property(a => a.PostalCode).HasMaxLength(16); b.Property(a => a.PostalCode).HasMaxLength(16);
b.Property(a => a.Phone).HasMaxLength(20); b.Property(a => a.PhoneNumber).HasMaxLength(20);
b.Property(a => a.Mobile).IsRequired().HasMaxLength(20); b.Property(a => a.MobileNumber).IsRequired().HasMaxLength(20);
b.Property(a => a.Fax).HasMaxLength(20); b.Property(a => a.FaxNumber).HasMaxLength(20);
b.Property(a => a.Email).HasMaxLength(128); b.Property(a => a.Email).HasMaxLength(128);
b.Property(a => a.Website).HasMaxLength(128); b.Property(a => a.Website).HasMaxLength(128);
b.Property(a => a.IsActive).HasDefaultValue(true); b.Property(a => a.IsActive).HasDefaultValue(true);
@ -1235,7 +1235,7 @@ public class PlatformDbContext :
b.ConfigureByConvention(); b.ConfigureByConvention();
b.Property(x => x.Name).HasMaxLength(100).IsRequired(); b.Property(x => x.Name).HasMaxLength(100).IsRequired();
b.Property(x => x.Phone).HasMaxLength(20); b.Property(x => x.PhoneNumber).HasMaxLength(20);
b.Property(x => x.Email).HasMaxLength(100); b.Property(x => x.Email).HasMaxLength(100);
b.Property(x => x.Address).HasMaxLength(250); b.Property(x => x.Address).HasMaxLength(250);
b.Property(x => x.Status).HasMaxLength(10); b.Property(x => x.Status).HasMaxLength(10);
@ -1254,18 +1254,15 @@ public class PlatformDbContext :
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.Lawyer)), Prefix.DbSchema); b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.Lawyer)), Prefix.DbSchema);
b.ConfigureByConvention(); b.ConfigureByConvention();
b.Property(x => x.Name).HasMaxLength(100).IsRequired(); b.Property(x => x.FullName).HasMaxLength(100).IsRequired();
b.Property(x => x.ContactPerson).HasMaxLength(50);
b.Property(x => x.Email).HasMaxLength(100); b.Property(x => x.Email).HasMaxLength(100);
b.Property(x => x.Address).HasMaxLength(250); b.Property(x => x.Address).HasMaxLength(250);
b.Property(x => x.TaxOffice).HasMaxLength(50); b.Property(x => x.TaxOffice).HasMaxLength(50);
b.Property(x => x.TaxNumber).HasMaxLength(20); b.Property(x => x.TaxNumber).HasMaxLength(20);
b.Property(x => x.Phone1).HasMaxLength(20); b.Property(x => x.PhoneNumber).HasMaxLength(20);
b.Property(x => x.Phone2).HasMaxLength(20); b.Property(x => x.MobileNumber).HasMaxLength(20);
b.Property(x => x.Phone3).HasMaxLength(20); b.Property(x => x.FaxNumber).HasMaxLength(20);
b.Property(x => x.Phone4).HasMaxLength(20);
b.Property(x => x.Fax).HasMaxLength(20);
b.Property(x => x.Description).HasMaxLength(1000); b.Property(x => x.Description).HasMaxLength(1000);
b.Property(x => x.Status).HasMaxLength(10); b.Property(x => x.Status).HasMaxLength(10);
@ -1484,7 +1481,7 @@ public class PlatformDbContext :
b.Property(x => x.OrganizationName).IsRequired().HasMaxLength(256); b.Property(x => x.OrganizationName).IsRequired().HasMaxLength(256);
b.Property(x => x.FullName).IsRequired().HasMaxLength(256); b.Property(x => x.FullName).IsRequired().HasMaxLength(256);
b.Property(x => x.Email).IsRequired().HasMaxLength(256); b.Property(x => x.Email).IsRequired().HasMaxLength(256);
b.Property(x => x.Phone).IsRequired().HasMaxLength(20); b.Property(x => x.PhoneNumber).IsRequired().HasMaxLength(20);
b.Property(x => x.Address).IsRequired().HasMaxLength(512); b.Property(x => x.Address).IsRequired().HasMaxLength(512);
b.Property(x => x.NumberOfBranches).IsRequired(); b.Property(x => x.NumberOfBranches).IsRequired();
b.Property(x => x.NumberOfUsers).IsRequired(); b.Property(x => x.NumberOfUsers).IsRequired();
@ -1497,7 +1494,7 @@ public class PlatformDbContext :
b.ConfigureByConvention(); b.ConfigureByConvention();
b.Property(x => x.Address).HasMaxLength(500); b.Property(x => x.Address).HasMaxLength(500);
b.Property(x => x.Phone).HasMaxLength(50); b.Property(x => x.PhoneNumber).HasMaxLength(50);
b.Property(x => x.Email).HasMaxLength(150); b.Property(x => x.Email).HasMaxLength(150);
b.Property(x => x.Location).HasMaxLength(150); b.Property(x => x.Location).HasMaxLength(150);
b.Property(x => x.TaxNumber).HasMaxLength(50); b.Property(x => x.TaxNumber).HasMaxLength(50);
@ -1637,7 +1634,7 @@ public class PlatformDbContext :
b.Property(x => x.City).HasMaxLength(128); b.Property(x => x.City).HasMaxLength(128);
b.Property(x => x.PostalCode).HasMaxLength(16); b.Property(x => x.PostalCode).HasMaxLength(16);
b.Property(x => x.Country).HasMaxLength(128); b.Property(x => x.Country).HasMaxLength(128);
b.Property(x => x.Phone).HasMaxLength(64); b.Property(x => x.PhoneNumber).HasMaxLength(64);
b.Property(x => x.Email).HasMaxLength(128); b.Property(x => x.Email).HasMaxLength(128);
}); });
@ -1763,8 +1760,8 @@ public class PlatformDbContext :
b.Property(x => x.Code).IsRequired().HasMaxLength(50); b.Property(x => x.Code).IsRequired().HasMaxLength(50);
b.Property(x => x.FullName).HasMaxLength(200); b.Property(x => x.FullName).HasMaxLength(200);
b.Property(x => x.Email).HasMaxLength(150); b.Property(x => x.Email).HasMaxLength(150);
b.Property(x => x.Phone).HasMaxLength(50); b.Property(x => x.PhoneNumber).HasMaxLength(50);
b.Property(x => x.PersonalPhone).HasMaxLength(50); b.Property(x => x.MobileNumber).HasMaxLength(50);
b.Property(x => x.Avatar).HasMaxLength(250); b.Property(x => x.Avatar).HasMaxLength(250);
b.Property(x => x.NationalId).HasMaxLength(20); b.Property(x => x.NationalId).HasMaxLength(20);
b.Property(x => x.PayrollGroup).HasMaxLength(50); b.Property(x => x.PayrollGroup).HasMaxLength(50);
@ -1847,7 +1844,7 @@ public class PlatformDbContext :
b.Property(x => x.Bonus).HasPrecision(18, 2); b.Property(x => x.Bonus).HasPrecision(18, 2);
b.Property(x => x.GrossSalary).HasPrecision(18, 2); b.Property(x => x.GrossSalary).HasPrecision(18, 2);
b.Property(x => x.NetSalary).HasPrecision(18, 2); b.Property(x => x.NetSalary).HasPrecision(18, 2);
b.Property(x => x.Tax).HasPrecision(18, 2); b.Property(x => x.TaxNumber).HasPrecision(18, 2);
b.Property(x => x.SocialSecurity).HasPrecision(18, 2); b.Property(x => x.SocialSecurity).HasPrecision(18, 2);
}); });
@ -2007,7 +2004,7 @@ public class PlatformDbContext :
b.Property(x => x.FullName).IsRequired().HasMaxLength(100); b.Property(x => x.FullName).IsRequired().HasMaxLength(100);
b.Property(x => x.CompanyName).HasMaxLength(150); b.Property(x => x.CompanyName).HasMaxLength(150);
b.Property(a => a.Phone).IsRequired().HasMaxLength(20); b.Property(a => a.PhoneNumber).IsRequired().HasMaxLength(20);
b.Property(x => x.Email).HasMaxLength(150); b.Property(x => x.Email).HasMaxLength(150);
b.Property(x => x.Purpose).HasMaxLength(250); b.Property(x => x.Purpose).HasMaxLength(250);
b.Property(x => x.Status).IsRequired().HasMaxLength(20); b.Property(x => x.Status).IsRequired().HasMaxLength(20);
@ -2287,9 +2284,9 @@ public class PlatformDbContext :
b.Property(p => p.Address1).HasMaxLength(256); b.Property(p => p.Address1).HasMaxLength(256);
b.Property(p => p.Address2).HasMaxLength(256); b.Property(p => p.Address2).HasMaxLength(256);
b.Property(p => p.PostalCode).HasMaxLength(16); b.Property(p => p.PostalCode).HasMaxLength(16);
b.Property(p => p.Phone).HasMaxLength(32); b.Property(p => p.PhoneNumber).HasMaxLength(32);
b.Property(p => p.Mobile).HasMaxLength(32); b.Property(p => p.MobileNumber).HasMaxLength(32);
b.Property(p => p.Fax).HasMaxLength(32); b.Property(p => p.FaxNumber).HasMaxLength(32);
b.Property(p => p.Email).HasMaxLength(128); b.Property(p => p.Email).HasMaxLength(128);
b.Property(p => p.Website).HasMaxLength(128); b.Property(p => p.Website).HasMaxLength(128);
b.Property(p => p.Status).IsRequired(); b.Property(p => p.Status).IsRequired();
@ -2381,8 +2378,8 @@ public class PlatformDbContext :
b.Property(x => x.Title).HasMaxLength(64); b.Property(x => x.Title).HasMaxLength(64);
b.Property(x => x.Department).HasMaxLength(64); b.Property(x => x.Department).HasMaxLength(64);
b.Property(x => x.Email).HasMaxLength(128); b.Property(x => x.Email).HasMaxLength(128);
b.Property(x => x.Phone).HasMaxLength(32); b.Property(x => x.PhoneNumber).HasMaxLength(32);
b.Property(x => x.Mobile).HasMaxLength(32); b.Property(x => x.MobileNumber).HasMaxLength(32);
b.Property(x => x.IsPrimary).HasDefaultValue(false); b.Property(x => x.IsPrimary).HasDefaultValue(false);
b.Property(x => x.IsActive).HasDefaultValue(true); b.Property(x => x.IsActive).HasDefaultValue(true);

View file

@ -156,7 +156,7 @@ public static class PlatformEfCoreEntityExtensionMappings
ObjectExtensionManager.Instance ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, long>( .MapEfCoreProperty<Tenant, long>(
PlatformConsts.Tenants.Phone, PlatformConsts.Tenants.PhoneNumber,
(entityBuilder, propertyBuilder) => (entityBuilder, propertyBuilder) =>
{ {
propertyBuilder.HasDefaultValue(null); propertyBuilder.HasDefaultValue(null);
@ -165,7 +165,7 @@ public static class PlatformEfCoreEntityExtensionMappings
ObjectExtensionManager.Instance ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, long>( .MapEfCoreProperty<Tenant, long>(
PlatformConsts.Tenants.Mobile, PlatformConsts.Tenants.MobileNumber,
(entityBuilder, propertyBuilder) => (entityBuilder, propertyBuilder) =>
{ {
propertyBuilder.HasDefaultValue(null); propertyBuilder.HasDefaultValue(null);
@ -174,7 +174,7 @@ public static class PlatformEfCoreEntityExtensionMappings
ObjectExtensionManager.Instance ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, long>( .MapEfCoreProperty<Tenant, long>(
PlatformConsts.Tenants.Fax, PlatformConsts.Tenants.FaxNumber,
(entityBuilder, propertyBuilder) => (entityBuilder, propertyBuilder) =>
{ {
propertyBuilder.HasDefaultValue(null); propertyBuilder.HasDefaultValue(null);

View file

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace Kurs.Platform.Migrations namespace Kurs.Platform.Migrations
{ {
[DbContext(typeof(PlatformDbContext))] [DbContext(typeof(PlatformDbContext))]
[Migration("20251103145000_Initial")] [Migration("20251103202730_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -1173,9 +1173,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<string>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasMaxLength(16) .HasMaxLength(16)
@ -1537,7 +1537,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<long>("Fax") b.Property<long?>("FaxNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -1560,7 +1560,7 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<long>("Mobile") b.Property<long>("MobileNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -1569,7 +1569,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<long>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -2336,9 +2336,9 @@ namespace Kurs.Platform.Migrations
b.Property<string>("MapJson") b.Property<string>("MapJson")
.HasColumnType("text"); .HasColumnType("text");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("bigint");
b.Property<string>("TaxNumber") b.Property<string>("TaxNumber")
.HasMaxLength(50) .HasMaxLength(50)
@ -3279,10 +3279,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(256) .HasMaxLength(256)
.HasColumnType("nvarchar(256)"); .HasColumnType("nvarchar(256)");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.IsRequired()
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("bigint");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -3673,7 +3672,7 @@ namespace Kurs.Platform.Migrations
b.Property<string>("EmergencyContactName") b.Property<string>("EmergencyContactName")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("EmergencyContactPhone") b.Property<string>("EmergencyContactPhoneNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("EmergencyContactRelationship") b.Property<string>("EmergencyContactRelationship")
@ -3723,6 +3722,10 @@ namespace Kurs.Platform.Migrations
b.Property<string>("MaritalStatus") b.Property<string>("MaritalStatus")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<long>("MobileNumber")
.HasMaxLength(50)
.HasColumnType("bigint");
b.Property<string>("NationalId") b.Property<string>("NationalId")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("nvarchar(20)");
@ -3731,13 +3734,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PersonalPhone") b.Property<long?>("PhoneNumber")
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("bigint");
b.Property<string>("Phone")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
@ -4523,10 +4522,6 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(250) .HasMaxLength(250)
.HasColumnType("nvarchar(250)"); .HasColumnType("nvarchar(250)");
b.Property<string>("ContactPerson")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
@ -4551,10 +4546,15 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(100) .HasMaxLength(100)
.HasColumnType("nvarchar(100)"); .HasColumnType("nvarchar(100)");
b.Property<long>("Fax") b.Property<long?>("FaxNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("FullName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("nvarchar(100)");
b.Property<bool>("IsDeleted") b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -4569,24 +4569,11 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Name") b.Property<long>("MobileNumber")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("nvarchar(100)");
b.Property<long>("Phone1")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<long>("Phone2") b.Property<long?>("PhoneNumber")
.HasMaxLength(20)
.HasColumnType("bigint");
b.Property<long>("Phone3")
.HasMaxLength(20)
.HasColumnType("bigint");
b.Property<long>("Phone4")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -6038,7 +6025,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<long>("Fax") b.Property<long?>("FaxNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Founder") b.Property<string>("Founder")
@ -6069,7 +6056,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<long>("Mobile") b.Property<long>("MobileNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Name") b.Property<string>("Name")
@ -6087,7 +6074,7 @@ namespace Kurs.Platform.Migrations
b.Property<Guid>("PaymentMethodId") b.Property<Guid>("PaymentMethodId")
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<long>("Phone") b.Property<long?>("PhoneNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
@ -6368,9 +6355,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<string>("Fax") b.Property<long?>("FaxNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<bool>("IsDeleted") b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
@ -6395,9 +6382,9 @@ namespace Kurs.Platform.Migrations
.HasColumnType("decimal(18,2)") .HasColumnType("decimal(18,2)")
.HasDefaultValue(0m); .HasDefaultValue(0m);
b.Property<string>("Mobile") b.Property<long>("MobileNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<string>("Name") b.Property<string>("Name")
.IsRequired() .IsRequired()
@ -6413,9 +6400,9 @@ namespace Kurs.Platform.Migrations
b.Property<string>("PerformanceMetricsJson") b.Property<string>("PerformanceMetricsJson")
.HasColumnType("text"); .HasColumnType("text");
b.Property<string>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasMaxLength(16) .HasMaxLength(16)
@ -6725,16 +6712,16 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Mobile") b.Property<long>("MobileNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<Guid>("PartnerId") b.Property<Guid>("PartnerId")
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<string>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -6932,9 +6919,9 @@ namespace Kurs.Platform.Migrations
b.Property<string>("Status") b.Property<string>("Status")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<decimal?>("Tax") b.Property<long?>("TaxNumber")
.HasPrecision(18, 2) .HasPrecision(18, 2)
.HasColumnType("decimal(18,2)"); .HasColumnType("bigint");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -7272,9 +7259,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(100) .HasMaxLength(100)
.HasColumnType("nvarchar(100)"); .HasColumnType("nvarchar(100)");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("bigint");
b.Property<string>("Status") b.Property<string>("Status")
.HasMaxLength(10) .HasMaxLength(10)
@ -10018,10 +10005,9 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.IsRequired()
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("bigint");
b.Property<string>("Photo") b.Property<string>("Photo")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
@ -12212,7 +12198,7 @@ namespace Kurs.Platform.Migrations
.HasColumnType("nvarchar(max)") .HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<long>("Fax") b.Property<long>("FaxNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Founder") b.Property<string>("Founder")
@ -12241,7 +12227,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<long>("Mobile") b.Property<long>("MobileNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Name") b.Property<string>("Name")
@ -12258,7 +12244,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<long>("Phone") b.Property<long>("PhoneNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")

View file

@ -347,13 +347,13 @@ namespace Kurs.Platform.Migrations
Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
District = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), District = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
Fax = table.Column<long>(type: "bigint", nullable: false), FaxNumber = table.Column<long>(type: "bigint", nullable: false),
Founder = table.Column<string>(type: "nvarchar(max)", nullable: true), Founder = table.Column<string>(type: "nvarchar(max)", nullable: true),
IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: true), IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: true),
MenuGroup = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), MenuGroup = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
Mobile = table.Column<long>(type: "bigint", nullable: false), MobileNumber = table.Column<long>(type: "bigint", nullable: false),
OrganizationName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), OrganizationName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
Phone = table.Column<long>(type: "bigint", nullable: false), PhoneNumber = table.Column<long>(type: "bigint", nullable: false),
PostalCode = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true), PostalCode = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
Street = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Street = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
TaxOffice = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), TaxOffice = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
@ -449,7 +449,7 @@ namespace Kurs.Platform.Migrations
City = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), City = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
District = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), District = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true), PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true),
Phone = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 64, nullable: true),
Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
@ -539,7 +539,7 @@ namespace Kurs.Platform.Migrations
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Address = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true), Address = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
Phone = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 50, nullable: false),
Email = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true), Email = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true),
Location = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true), Location = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true),
TaxNumber = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), TaxNumber = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
@ -568,7 +568,7 @@ namespace Kurs.Platform.Migrations
OrganizationName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false), OrganizationName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false),
FullName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false), FullName = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false),
Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false), Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: false),
Phone = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
Address = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false), Address = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
NumberOfBranches = table.Column<int>(type: "int", nullable: false), NumberOfBranches = table.Column<int>(type: "int", nullable: false),
NumberOfUsers = table.Column<int>(type: "int", nullable: false), NumberOfUsers = table.Column<int>(type: "int", nullable: false),
@ -675,17 +675,14 @@ namespace Kurs.Platform.Migrations
{ {
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false), FullName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false),
ContactPerson = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Email = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true), Email = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true),
Address = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true), Address = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true),
TaxOffice = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), TaxOffice = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
TaxNumber = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true), TaxNumber = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
Phone1 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false), MobileNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
Phone2 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: true),
Phone3 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false), FaxNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: true),
Phone4 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
Fax = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
Description = table.Column<string>(type: "nvarchar(1000)", maxLength: 1000, nullable: true), Description = table.Column<string>(type: "nvarchar(1000)", maxLength: 1000, nullable: true),
Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true), Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -719,9 +716,9 @@ namespace Kurs.Platform.Migrations
Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
City = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), City = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true), PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true),
Phone = table.Column<long>(type: "bigint", nullable: false), MobileNumber = table.Column<long>(type: "bigint", nullable: false),
Mobile = table.Column<long>(type: "bigint", nullable: false), PhoneNumber = table.Column<long>(type: "bigint", nullable: true),
Fax = table.Column<long>(type: "bigint", nullable: false), FaxNumber = table.Column<long>(type: "bigint", nullable: true),
Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
MenuGroup = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), MenuGroup = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
@ -800,7 +797,7 @@ namespace Kurs.Platform.Migrations
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false), Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false),
Phone = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
Email = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true), Email = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true),
Address = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true), Address = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true),
Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true), Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
@ -1274,7 +1271,7 @@ namespace Kurs.Platform.Migrations
Bonus = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true), Bonus = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true),
GrossSalary = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true), GrossSalary = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true),
NetSalary = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true), NetSalary = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true),
Tax = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true), TaxNumber = table.Column<long>(type: "bigint", precision: 18, scale: 2, nullable: true),
SocialSecurity = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true), SocialSecurity = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: true),
Status = table.Column<string>(type: "nvarchar(max)", nullable: true), Status = table.Column<string>(type: "nvarchar(max)", nullable: true),
PaymentDate = table.Column<DateTime>(type: "datetime2", nullable: true), PaymentDate = table.Column<DateTime>(type: "datetime2", nullable: true),
@ -2167,9 +2164,9 @@ namespace Kurs.Platform.Migrations
Address1 = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), Address1 = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
Address2 = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true), Address2 = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true), PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true),
Phone = table.Column<long>(type: "bigint", maxLength: 20, nullable: false), MobileNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
Mobile = table.Column<long>(type: "bigint", maxLength: 20, nullable: false), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: true),
Fax = table.Column<long>(type: "bigint", maxLength: 20, nullable: false), FaxNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: true),
Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
IsActive = table.Column<bool>(type: "bit", nullable: true, defaultValue: true), IsActive = table.Column<bool>(type: "bit", nullable: true, defaultValue: true),
@ -4048,9 +4045,9 @@ namespace Kurs.Platform.Migrations
Address1 = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), Address1 = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
Address2 = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), Address2 = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true), PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true),
Phone = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: true), MobileNumber = table.Column<long>(type: "bigint", maxLength: 32, nullable: false),
Mobile = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: true), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 32, nullable: true),
Fax = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: true), FaxNumber = table.Column<long>(type: "bigint", maxLength: 32, nullable: true),
Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
CurrencyId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), CurrencyId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
@ -4210,8 +4207,8 @@ namespace Kurs.Platform.Migrations
Title = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), Title = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
Department = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), Department = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
Phone = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: true), MobileNumber = table.Column<long>(type: "bigint", maxLength: 32, nullable: false),
Mobile = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: true), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 32, nullable: true),
IsPrimary = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), IsPrimary = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: true), IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
@ -4401,14 +4398,14 @@ namespace Kurs.Platform.Migrations
District = table.Column<string>(type: "nvarchar(max)", nullable: true), District = table.Column<string>(type: "nvarchar(max)", nullable: true),
Street = table.Column<string>(type: "nvarchar(max)", nullable: true), Street = table.Column<string>(type: "nvarchar(max)", nullable: true),
PostalCode = table.Column<string>(type: "nvarchar(max)", nullable: true), PostalCode = table.Column<string>(type: "nvarchar(max)", nullable: true),
Phone = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), MobileNumber = table.Column<long>(type: "bigint", maxLength: 50, nullable: false),
PersonalPhone = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 50, nullable: true),
Email = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true), Email = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true),
Address1 = table.Column<string>(type: "nvarchar(max)", nullable: true), Address1 = table.Column<string>(type: "nvarchar(max)", nullable: true),
Address2 = table.Column<string>(type: "nvarchar(max)", nullable: true), Address2 = table.Column<string>(type: "nvarchar(max)", nullable: true),
EmergencyContactName = table.Column<string>(type: "nvarchar(max)", nullable: true), EmergencyContactName = table.Column<string>(type: "nvarchar(max)", nullable: true),
EmergencyContactRelationship = table.Column<string>(type: "nvarchar(max)", nullable: true), EmergencyContactRelationship = table.Column<string>(type: "nvarchar(max)", nullable: true),
EmergencyContactPhone = table.Column<string>(type: "nvarchar(max)", nullable: true), EmergencyContactPhoneNumber = table.Column<string>(type: "nvarchar(max)", nullable: true),
HireDate = table.Column<DateTime>(type: "datetime2", nullable: false), HireDate = table.Column<DateTime>(type: "datetime2", nullable: false),
TerminationDate = table.Column<DateTime>(type: "datetime2", nullable: true), TerminationDate = table.Column<DateTime>(type: "datetime2", nullable: true),
EmploymentTypeId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), EmploymentTypeId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
@ -4812,7 +4809,7 @@ namespace Kurs.Platform.Migrations
FullName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false), FullName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false),
CompanyName = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true), CompanyName = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true),
Email = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true), Email = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true),
Phone = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false), PhoneNumber = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
Purpose = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true), Purpose = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true),
VisitDate = table.Column<DateTime>(type: "datetime2", nullable: false), VisitDate = table.Column<DateTime>(type: "datetime2", nullable: false),
CheckIn = table.Column<DateTime>(type: "datetime2", nullable: true), CheckIn = table.Column<DateTime>(type: "datetime2", nullable: true),

View file

@ -1170,9 +1170,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<string>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasMaxLength(16) .HasMaxLength(16)
@ -1534,7 +1534,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<long>("Fax") b.Property<long?>("FaxNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -1557,7 +1557,7 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<long>("Mobile") b.Property<long>("MobileNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -1566,7 +1566,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<long>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -2333,9 +2333,9 @@ namespace Kurs.Platform.Migrations
b.Property<string>("MapJson") b.Property<string>("MapJson")
.HasColumnType("text"); .HasColumnType("text");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("bigint");
b.Property<string>("TaxNumber") b.Property<string>("TaxNumber")
.HasMaxLength(50) .HasMaxLength(50)
@ -3276,10 +3276,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(256) .HasMaxLength(256)
.HasColumnType("nvarchar(256)"); .HasColumnType("nvarchar(256)");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.IsRequired()
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("bigint");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -3670,7 +3669,7 @@ namespace Kurs.Platform.Migrations
b.Property<string>("EmergencyContactName") b.Property<string>("EmergencyContactName")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("EmergencyContactPhone") b.Property<string>("EmergencyContactPhoneNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("EmergencyContactRelationship") b.Property<string>("EmergencyContactRelationship")
@ -3720,6 +3719,10 @@ namespace Kurs.Platform.Migrations
b.Property<string>("MaritalStatus") b.Property<string>("MaritalStatus")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<long>("MobileNumber")
.HasMaxLength(50)
.HasColumnType("bigint");
b.Property<string>("NationalId") b.Property<string>("NationalId")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("nvarchar(20)");
@ -3728,13 +3731,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("PersonalPhone") b.Property<long?>("PhoneNumber")
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("bigint");
b.Property<string>("Phone")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
@ -4520,10 +4519,6 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(250) .HasMaxLength(250)
.HasColumnType("nvarchar(250)"); .HasColumnType("nvarchar(250)");
b.Property<string>("ContactPerson")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
@ -4548,10 +4543,15 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(100) .HasMaxLength(100)
.HasColumnType("nvarchar(100)"); .HasColumnType("nvarchar(100)");
b.Property<long>("Fax") b.Property<long?>("FaxNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("FullName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("nvarchar(100)");
b.Property<bool>("IsDeleted") b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("bit") .HasColumnType("bit")
@ -4566,24 +4566,11 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Name") b.Property<long>("MobileNumber")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("nvarchar(100)");
b.Property<long>("Phone1")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<long>("Phone2") b.Property<long?>("PhoneNumber")
.HasMaxLength(20)
.HasColumnType("bigint");
b.Property<long>("Phone3")
.HasMaxLength(20)
.HasColumnType("bigint");
b.Property<long>("Phone4")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("bigint"); .HasColumnType("bigint");
@ -6035,7 +6022,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<long>("Fax") b.Property<long?>("FaxNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Founder") b.Property<string>("Founder")
@ -6066,7 +6053,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<long>("Mobile") b.Property<long>("MobileNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Name") b.Property<string>("Name")
@ -6084,7 +6071,7 @@ namespace Kurs.Platform.Migrations
b.Property<Guid>("PaymentMethodId") b.Property<Guid>("PaymentMethodId")
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<long>("Phone") b.Property<long?>("PhoneNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
@ -6365,9 +6352,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(128) .HasMaxLength(128)
.HasColumnType("nvarchar(128)"); .HasColumnType("nvarchar(128)");
b.Property<string>("Fax") b.Property<long?>("FaxNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<bool>("IsDeleted") b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
@ -6392,9 +6379,9 @@ namespace Kurs.Platform.Migrations
.HasColumnType("decimal(18,2)") .HasColumnType("decimal(18,2)")
.HasDefaultValue(0m); .HasDefaultValue(0m);
b.Property<string>("Mobile") b.Property<long>("MobileNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<string>("Name") b.Property<string>("Name")
.IsRequired() .IsRequired()
@ -6410,9 +6397,9 @@ namespace Kurs.Platform.Migrations
b.Property<string>("PerformanceMetricsJson") b.Property<string>("PerformanceMetricsJson")
.HasColumnType("text"); .HasColumnType("text");
b.Property<string>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasMaxLength(16) .HasMaxLength(16)
@ -6722,16 +6709,16 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Mobile") b.Property<long>("MobileNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<Guid>("PartnerId") b.Property<Guid>("PartnerId")
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<string>("Phone") b.Property<long?>("PhoneNumber")
.HasMaxLength(32) .HasMaxLength(32)
.HasColumnType("nvarchar(32)"); .HasColumnType("bigint");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -6929,9 +6916,9 @@ namespace Kurs.Platform.Migrations
b.Property<string>("Status") b.Property<string>("Status")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<decimal?>("Tax") b.Property<long?>("TaxNumber")
.HasPrecision(18, 2) .HasPrecision(18, 2)
.HasColumnType("decimal(18,2)"); .HasColumnType("bigint");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
@ -7269,9 +7256,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(100) .HasMaxLength(100)
.HasColumnType("nvarchar(100)"); .HasColumnType("nvarchar(100)");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("bigint");
b.Property<string>("Status") b.Property<string>("Status")
.HasMaxLength(10) .HasMaxLength(10)
@ -10015,10 +10002,9 @@ namespace Kurs.Platform.Migrations
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Phone") b.Property<long>("PhoneNumber")
.IsRequired()
.HasMaxLength(20) .HasMaxLength(20)
.HasColumnType("nvarchar(20)"); .HasColumnType("bigint");
b.Property<string>("Photo") b.Property<string>("Photo")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
@ -12209,7 +12195,7 @@ namespace Kurs.Platform.Migrations
.HasColumnType("nvarchar(max)") .HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<long>("Fax") b.Property<long>("FaxNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Founder") b.Property<string>("Founder")
@ -12238,7 +12224,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<long>("Mobile") b.Property<long>("MobileNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("Name") b.Property<string>("Name")
@ -12255,7 +12241,7 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(64) .HasMaxLength(64)
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<long>("Phone") b.Property<long>("PhoneNumber")
.HasColumnType("bigint"); .HasColumnType("bigint");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")

View file

@ -594,7 +594,7 @@
"Contacts": [ "Contacts": [
{ {
"address": "Public.contact.address.full", "address": "Public.contact.address.full",
"phone": "+90 (544) 769 7 638", "phoneNumber": "5447697638",
"email": "destek@sozsoft.com", "email": "destek@sozsoft.com",
"location": "Sarıgazi", "location": "Sarıgazi",
"taxNumber": "32374982750", "taxNumber": "32374982750",
@ -2859,14 +2859,14 @@
"district": "Ümraniye", "district": "Ümraniye",
"street": "Fatih sultan mehmet mah.", "street": "Fatih sultan mehmet mah.",
"postalCode": "34771", "postalCode": "34771",
"phone": "2125550100", "phoneNumber": "2125550100",
"personalPhone": "5325550101", "mobileNumber": "5325550101",
"email": "ali.ozturk@company.com", "email": "ali.ozturk@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Ayşe Öztürk", "emergencyContactname": "Ayşe Öztürk",
"emergencyContactrelationship": "Eşi", "emergencyContactrelationship": "Eşi",
"emergencyContactphone": "5325550100", "emergencyContactphoneNumber": "5325550100",
"hireDate": "09-01-2020", "hireDate": "09-01-2020",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -2899,14 +2899,14 @@
"district": "Güdül", "district": "Güdül",
"street": "Özköy mah.", "street": "Özköy mah.",
"postalCode": "6840", "postalCode": "6840",
"phone": "2125550102", "phoneNumber": "2125550102",
"personalPhone": "5325550103", "mobileNumber": "5325550103",
"email": "ayse.kaya@company.com", "email": "ayse.kaya@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Fatma Kaya", "emergencyContactname": "Fatma Kaya",
"emergencyContactrelationship": "Anne", "emergencyContactrelationship": "Anne",
"emergencyContactphone": "5325550104", "emergencyContactphoneNumber": "5325550104",
"hireDate": "01-06-2021", "hireDate": "01-06-2021",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -2939,14 +2939,14 @@
"district": "Merkez", "district": "Merkez",
"street": "Kızıldamlar köyü", "street": "Kızıldamlar köyü",
"postalCode": "34000", "postalCode": "34000",
"phone": "2125550105", "phoneNumber": "2125550105",
"personalPhone": "5325550106", "mobileNumber": "5325550106",
"email": "mehmet.yilmaz@company.com", "email": "mehmet.yilmaz@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Zeynep Yılmaz", "emergencyContactname": "Zeynep Yılmaz",
"emergencyContactrelationship": "Eşi", "emergencyContactrelationship": "Eşi",
"emergencyContactphone": "5325550107", "emergencyContactphoneNumber": "5325550107",
"hireDate": "10-02-2020", "hireDate": "10-02-2020",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -2979,14 +2979,14 @@
"district": "", "district": "",
"street": "", "street": "",
"postalCode": "06100", "postalCode": "06100",
"phone": "3125550108", "phoneNumber": "3125550108",
"personalPhone": "5425550109", "mobileNumber": "5425550109",
"email": "selin.demir@company.com", "email": "selin.demir@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Ali Demir", "emergencyContactname": "Ali Demir",
"emergencyContactrelationship": "Baba", "emergencyContactrelationship": "Baba",
"emergencyContactphone": "5325550110", "emergencyContactphoneNumber": "5325550110",
"hireDate": "10-01-2022", "hireDate": "10-01-2022",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Part Time", "employmentTypeName": "Part Time",
@ -3019,14 +3019,14 @@
"district": "Kadıköy", "district": "Kadıköy",
"street": "Bağdat Cad.", "street": "Bağdat Cad.",
"postalCode": "34728", "postalCode": "34728",
"phone": "2125550111", "phoneNumber": "2125550111",
"personalPhone": "5325550112", "mobileNumber": "5325550112",
"email": "ahmet.celik@company.com", "email": "ahmet.celik@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Emine Çelik", "emergencyContactname": "Emine Çelik",
"emergencyContactrelationship": "Eşi", "emergencyContactrelationship": "Eşi",
"emergencyContactphone": "5325550113", "emergencyContactphoneNumber": "5325550113",
"hireDate": "01-04-2019", "hireDate": "01-04-2019",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -3059,14 +3059,14 @@
"district": "İzmir", "district": "İzmir",
"street": "Yıldız Mah.", "street": "Yıldız Mah.",
"postalCode": "35000", "postalCode": "35000",
"phone": "2165550114", "phoneNumber": "2165550114",
"personalPhone": "5325550115", "mobileNumber": "5325550115",
"email": "zeynep.arslan@company.com", "email": "zeynep.arslan@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Hasan Arslan", "emergencyContactname": "Hasan Arslan",
"emergencyContactrelationship": "Baba", "emergencyContactrelationship": "Baba",
"emergencyContactphone": "5325550116", "emergencyContactphoneNumber": "5325550116",
"hireDate": "02-03-2023", "hireDate": "02-03-2023",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Intern", "employmentTypeName": "Intern",
@ -3099,14 +3099,14 @@
"district": "Ankara", "district": "Ankara",
"street": "Osmangazi Mah.", "street": "Osmangazi Mah.",
"postalCode": "16000", "postalCode": "16000",
"phone": "2245550117", "phoneNumber": "2245550117",
"personalPhone": "5325550118", "mobileNumber": "5325550118",
"email": "burak.koc@company.com", "email": "burak.koc@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Elif Koç", "emergencyContactname": "Elif Koç",
"emergencyContactrelationship": "Eşi", "emergencyContactrelationship": "Eşi",
"emergencyContactphone": "5325550119", "emergencyContactphoneNumber": "5325550119",
"hireDate": "09-07-2021", "hireDate": "09-07-2021",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -3139,14 +3139,14 @@
"district": "İzmir", "district": "İzmir",
"street": "Alsancak Mah. No:88", "street": "Alsancak Mah. No:88",
"postalCode": "35220", "postalCode": "35220",
"phone": "2325550120", "phoneNumber": "2325550120",
"personalPhone": "5325550121", "mobileNumber": "5325550121",
"email": "elif.sahin@company.com", "email": "elif.sahin@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Murat Şahin", "emergencyContactname": "Murat Şahin",
"emergencyContactrelationship": "Eşi", "emergencyContactrelationship": "Eşi",
"emergencyContactphone": "5325550122", "emergencyContactphoneNumber": "5325550122",
"hireDate": "01-09-2018", "hireDate": "01-09-2018",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -3179,14 +3179,14 @@
"district": "Ankara", "district": "Ankara",
"street": "Bahçelievler Mah. No:55", "street": "Bahçelievler Mah. No:55",
"postalCode": "06490", "postalCode": "06490",
"phone": "3125550123", "phoneNumber": "3125550123",
"personalPhone": "5325550124", "mobileNumber": "5325550124",
"email": "canan.ozturk@company.com", "email": "canan.ozturk@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Hüseyin Öztürk", "emergencyContactname": "Hüseyin Öztürk",
"emergencyContactrelationship": "Baba", "emergencyContactrelationship": "Baba",
"emergencyContactphone": "5325550125", "emergencyContactphoneNumber": "5325550125",
"hireDate": "02-06-2020", "hireDate": "02-06-2020",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -3219,14 +3219,14 @@
"district": "İstanbul", "district": "İstanbul",
"street": "Şişli Mah. No:101", "street": "Şişli Mah. No:101",
"postalCode": "34360", "postalCode": "34360",
"phone": "2125550126", "phoneNumber": "2125550126",
"personalPhone": "5325550127", "mobileNumber": "5325550127",
"email": "murat.aydin@company.com", "email": "murat.aydin@company.com",
"address1": "", "address1": "",
"address2": "", "address2": "",
"emergencyContactname": "Ayten Aydın", "emergencyContactname": "Ayten Aydın",
"emergencyContactrelationship": "Eşi", "emergencyContactrelationship": "Eşi",
"emergencyContactphone": "5325550128", "emergencyContactphoneNumber": "5325550128",
"hireDate": "06-05-2017", "hireDate": "06-05-2017",
"terminationDate": null, "terminationDate": null,
"employmentTypeName": "Full Time", "employmentTypeName": "Full Time",
@ -3775,7 +3775,7 @@
"fullName": "Ali Veli", "fullName": "Ali Veli",
"companyName": "ABC Teknoloji", "companyName": "ABC Teknoloji",
"email": "ali.veli@abc.com", "email": "ali.veli@abc.com",
"phone": "5321112233", "phoneNumber": "5321112233",
"visitDate": "2025-10-29T09:00:00", "visitDate": "2025-10-29T09:00:00",
"checkIn": "2025-10-29T09:15:00", "checkIn": "2025-10-29T09:15:00",
"employeeCode": "EMP-001", "employeeCode": "EMP-001",
@ -3787,7 +3787,7 @@
"fullName": "Fatma Yıldız", "fullName": "Fatma Yıldız",
"companyName": "XYZ Danışmanlık", "companyName": "XYZ Danışmanlık",
"email": "fatma@xyz.com", "email": "fatma@xyz.com",
"phone": "5332223344", "phoneNumber": "5332223344",
"visitDate": "2025-10-30T10:30:00", "visitDate": "2025-10-30T10:30:00",
"employeeCode": "EMP-002", "employeeCode": "EMP-002",
"purpose": "Eğitim Danışmanlığı", "purpose": "Eğitim Danışmanlığı",
@ -3798,7 +3798,7 @@
"fullName": "Mehmet Kara", "fullName": "Mehmet Kara",
"companyName": "DEF Yazılım", "companyName": "DEF Yazılım",
"email": "mehmet@def.com", "email": "mehmet@def.com",
"phone": "5343334455", "phoneNumber": "5343334455",
"visitDate": "2025-10-31T14:00:00", "visitDate": "2025-10-31T14:00:00",
"checkIn": "2025-10-31T14:10:00", "checkIn": "2025-10-31T14:10:00",
"checkOut": "2025-10-31T16:00:00", "checkOut": "2025-10-31T16:00:00",

View file

@ -589,7 +589,7 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
await _contactRepository.InsertAsync(new Contact await _contactRepository.InsertAsync(new Contact
{ {
Address = item.Address, Address = item.Address,
Phone = item.Phone, PhoneNumber = item.PhoneNumber,
Email = item.Email, Email = item.Email,
Location = item.Location, Location = item.Location,
TaxNumber = item.TaxNumber, TaxNumber = item.TaxNumber,
@ -1052,15 +1052,15 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
District = item.District, District = item.District,
Street = item.Street, Street = item.Street,
PostalCode = item.PostalCode, PostalCode = item.PostalCode,
Phone = item.Phone, MobileNumber = item.MobileNumber,
PersonalPhone = item.PersonalPhone, PhoneNumber = item.PhoneNumber,
Email = item.Email, Email = item.Email,
Address1 = item.Address1, Address1 = item.Address1,
Address2 = item.Address2, Address2 = item.Address2,
EmergencyContactName = item.EmergencyContactName, EmergencyContactName = item.EmergencyContactName,
EmergencyContactRelationship = item.EmergencyContactRelationship, EmergencyContactRelationship = item.EmergencyContactRelationship,
EmergencyContactPhone = item.EmergencyContactPhone, EmergencyContactPhoneNumber = item.EmergencyContactPhoneNumber,
HireDate = item.HireDate, HireDate = item.HireDate,
TerminationDate = item.TerminationDate != null ? item.TerminationDate : null, TerminationDate = item.TerminationDate != null ? item.TerminationDate : null,
@ -1147,7 +1147,7 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
Bonus = item.Bonus, Bonus = item.Bonus,
GrossSalary = item.GrossSalary, GrossSalary = item.GrossSalary,
NetSalary = item.NetSalary, NetSalary = item.NetSalary,
Tax = item.Tax, TaxNumber = item.TaxNumber,
SocialSecurity = item.SocialSecurity, SocialSecurity = item.SocialSecurity,
Status = item.Status Status = item.Status
}, autoSave: true); }, autoSave: true);
@ -1298,7 +1298,7 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
FullName = item.FullName, FullName = item.FullName,
CompanyName = item.CompanyName, CompanyName = item.CompanyName,
Email = item.Email, Email = item.Email,
Phone = item.Phone, PhoneNumber = item.PhoneNumber,
Purpose = item.Purpose, Purpose = item.Purpose,
VisitDate = item.VisitDate, VisitDate = item.VisitDate,
CheckIn = item.CheckIn, CheckIn = item.CheckIn,

View file

@ -215,7 +215,7 @@ public class VisitorSeedDto
public string FullName { get; set; } public string FullName { get; set; }
public string CompanyName { get; set; } public string CompanyName { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Purpose { get; set; } public string Purpose { get; set; }
public DateTime VisitDate { get; set; } public DateTime VisitDate { get; set; }
public DateTime? CheckIn { get; set; } public DateTime? CheckIn { get; set; }
@ -310,7 +310,7 @@ public class PayrollSeedDto
public decimal Bonus { get; set; } public decimal Bonus { get; set; }
public decimal GrossSalary { get; set; } public decimal GrossSalary { get; set; }
public decimal NetSalary { get; set; } public decimal NetSalary { get; set; }
public decimal Tax { get; set; } public long TaxNumber { get; set; }
public decimal SocialSecurity { get; set; } public decimal SocialSecurity { get; set; }
public string Status { get; set; } public string Status { get; set; }
} }
@ -355,15 +355,15 @@ public class EmployeeSeedDto
public string District { get; set; } public string District { get; set; }
public string Street { get; set; } public string Street { get; set; }
public string PostalCode { get; set; } public string PostalCode { get; set; }
public string Phone { get; set; } public long MobileNumber { get; set; }
public string PersonalPhone { get; set; } public long? PhoneNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Address1 { get; set; } public string Address1 { get; set; }
public string Address2 { get; set; } public string Address2 { get; set; }
public string EmergencyContactName { get; set; } public string EmergencyContactName { get; set; }
public string EmergencyContactRelationship { get; set; } public string EmergencyContactRelationship { get; set; }
public string EmergencyContactPhone { get; set; } public string EmergencyContactPhoneNumber { get; set; }
public DateTime HireDate { get; set; } public DateTime HireDate { get; set; }
public DateTime? TerminationDate { get; set; } public DateTime? TerminationDate { get; set; }
@ -606,7 +606,7 @@ public class AboutSeedDto
public class ContactSeedDto public class ContactSeedDto
{ {
public string Address { get; set; } public string Address { get; set; }
public string Phone { get; set; } public long PhoneNumber { get; set; }
public string Email { get; set; } public string Email { get; set; }
public string Location { get; set; } public string Location { get; set; }
public string TaxNumber { get; set; } public string TaxNumber { get; set; }

View file

@ -171,9 +171,9 @@ export const PaymentForm: React.FC<PaymentFormProps> = ({
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<FaPhone className="w-4 h-4 text-gray-500" /> <FaPhone className="w-4 h-4 text-gray-500" />
<span className="font-medium"> <span className="font-medium">
{translate('::Public.payment.customer.phone')} {translate('::Public.payment.customer.phoneNumber')}
</span> </span>
<span>{tenant.phone}</span> <span>{tenant.phoneNumber}</span>
</div> </div>
<div className="flex items-start gap-2"> <div className="flex items-start gap-2">

View file

@ -60,9 +60,9 @@ export const TenantForm: React.FC<TenantFormProps> = ({ onSubmit }) => {
country: tenant.data.country, country: tenant.data.country,
city: tenant.data.city, city: tenant.data.city,
postalCode: tenant.data.postalCode, postalCode: tenant.data.postalCode,
phone: tenant.data.phone, phoneNumber: tenant.data.phoneNumber,
mobile: tenant.data.mobile, mobileNumber: tenant.data.mobileNumber,
fax: tenant.data.fax, faxNumber: tenant.data.faxNumber,
email: tenant.data.email, email: tenant.data.email,
website: tenant.data.website, website: tenant.data.website,
menuGroup: tenant.data.menuGroup, menuGroup: tenant.data.menuGroup,
@ -187,7 +187,7 @@ export const TenantForm: React.FC<TenantFormProps> = ({ onSubmit }) => {
<span className="font-medium"> <span className="font-medium">
{translate('::Public.products.tenantForm.mobile')}: {translate('::Public.products.tenantForm.mobile')}:
</span> </span>
<span>{formData.mobile}</span> <span>{formData.mobileNumber}</span>
</div> </div>
<div className="flex items-start gap-2"> <div className="flex items-start gap-2">
@ -301,7 +301,7 @@ export const TenantForm: React.FC<TenantFormProps> = ({ onSubmit }) => {
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4"> <div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
<div> <div>
<label className="text-sm font-medium text-gray-700"> <label className="text-sm font-medium text-gray-700">
{translate('::Public.products.tenantForm.phone')} {translate('::Public.products.tenantForm.phoneNumber')}
</label> </label>
<div className="relative"> <div className="relative">
<FaPhone className="absolute left-3 top-1/2 -translate-y-1/2 text-gray-400 w-5 h-5" /> <FaPhone className="absolute left-3 top-1/2 -translate-y-1/2 text-gray-400 w-5 h-5" />
@ -309,8 +309,8 @@ export const TenantForm: React.FC<TenantFormProps> = ({ onSubmit }) => {
type="tel" type="tel"
required required
placeholder="+90 (___) ___-____" placeholder="+90 (___) ___-____"
value={formData.phone || ''} value={formData.phoneNumber || ''}
onChange={(e) => handleInputChange('phone', e.target.value)} onChange={(e) => handleInputChange('phoneNumber', e.target.value)}
className="w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent" className="w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
/> />
</div> </div>

View file

@ -16,7 +16,7 @@ export const mockBanks: BankAccount[] = [
dailyTransferLimit: 100000, dailyTransferLimit: 100000,
isActive: true, isActive: true,
contactPerson: "Mehmet Ak", contactPerson: "Mehmet Ak",
phone: "+90 212 555 1111", phoneNumber: "+90 212 555 1111",
creationTime: new Date("2024-01-01"), creationTime: new Date("2024-01-01"),
lastModificationTime: new Date("2024-01-20"), lastModificationTime: new Date("2024-01-20"),
swiftCode: "ISBKTRIS", swiftCode: "ISBKTRIS",
@ -36,7 +36,7 @@ export const mockBanks: BankAccount[] = [
dailyTransferLimit: 50000, dailyTransferLimit: 50000,
isActive: true, isActive: true,
contactPerson: "Ayşe Yıldız", contactPerson: "Ayşe Yıldız",
phone: "+90 212 555 2222", phoneNumber: "+90 212 555 2222",
creationTime: new Date("2024-01-01"), creationTime: new Date("2024-01-01"),
lastModificationTime: new Date("2024-01-18"), lastModificationTime: new Date("2024-01-18"),
swiftCode: "TGBATRIS", swiftCode: "TGBATRIS",

View file

@ -17,15 +17,15 @@ export const mockBusinessParties: BusinessParty[] = [
title: 'Genel Müdür', title: 'Genel Müdür',
department: 'Yönetim', department: 'Yönetim',
email: 'fatma.demir@uretim.com', email: 'fatma.demir@uretim.com',
phone: '+90 312 555 0202', phoneNumber: '+90 312 555 0202',
mobile: '+90 532 555 0202', mobileNumber: '+90 532 555 0202',
isPrimary: true, isPrimary: true,
isActive: true, isActive: true,
creationTime: new Date(), creationTime: new Date(),
lastModificationTime: new Date(), lastModificationTime: new Date(),
}, },
email: 'aliveli@gmail.com', email: 'aliveli@gmail.com',
phone: '+90 212 555 1234', phoneNumber: '+90 212 555 1234',
address: { address: {
street: 'İstiklal Cad. No:10', street: 'İstiklal Cad. No:10',
city: 'İstanbul', city: 'İstanbul',
@ -84,7 +84,7 @@ export const mockBusinessParties: BusinessParty[] = [
fullName: 'Ali Veli', fullName: 'Ali Veli',
title: 'Satınalma Müdürü', title: 'Satınalma Müdürü',
email: 'aliveli@gmail.com', email: 'aliveli@gmail.com',
phone: '+90 212 555 1234', phoneNumber: '+90 212 555 1234',
department: 'Satınalma', department: 'Satınalma',
isPrimary: true, isPrimary: true,
isActive: false, isActive: false,
@ -109,15 +109,15 @@ export const mockBusinessParties: BusinessParty[] = [
title: 'Genel Müdür', title: 'Genel Müdür',
department: 'Yönetim', department: 'Yönetim',
email: 'fatma.demir@uretim.com', email: 'fatma.demir@uretim.com',
phone: '+90 312 555 0202', phoneNumber: '+90 312 555 0202',
mobile: '+90 532 555 0202', mobileNumber: '+90 532 555 0202',
isPrimary: true, isPrimary: true,
isActive: true, isActive: true,
creationTime: new Date(), creationTime: new Date(),
lastModificationTime: new Date(), lastModificationTime: new Date(),
}, },
email: 'aysedemir@gmail.com', email: 'aysedemir@gmail.com',
phone: '+90 216 555 5678', phoneNumber: '+90 216 555 5678',
address: { address: {
street: 'Barbaros Bulv. No:20', street: 'Barbaros Bulv. No:20',
city: 'İstanbul', city: 'İstanbul',
@ -176,7 +176,7 @@ export const mockBusinessParties: BusinessParty[] = [
fullName: 'Ayşe Demir', fullName: 'Ayşe Demir',
title: 'Satış Müdürü', title: 'Satış Müdürü',
email: 'aysedemir@gmail.com', email: 'aysedemir@gmail.com',
phone: '+90 216 555 5678', phoneNumber: '+90 216 555 5678',
department: 'Satış', department: 'Satış',
isPrimary: true, isPrimary: true,
isActive: false, isActive: false,
@ -201,15 +201,15 @@ export const mockBusinessParties: BusinessParty[] = [
title: 'Genel Müdür', title: 'Genel Müdür',
department: 'Yönetim', department: 'Yönetim',
email: 'fatma.demir@uretim.com', email: 'fatma.demir@uretim.com',
phone: '+90 312 555 0202', phoneNumber: '+90 312 555 0202',
mobile: '+90 532 555 0202', mobileNumber: '+90 532 555 0202',
isPrimary: true, isPrimary: true,
isActive: true, isActive: true,
creationTime: new Date(), creationTime: new Date(),
lastModificationTime: new Date(), lastModificationTime: new Date(),
}, },
email: 'mehmetyilmaz@gmail.com', email: 'mehmetyilmaz@gmail.com',
phone: '+90 232 555 7890', phoneNumber: '+90 232 555 7890',
address: { address: {
street: 'Atatürk Cad. No:5', street: 'Atatürk Cad. No:5',
city: 'İzmir', city: 'İzmir',
@ -268,7 +268,7 @@ export const mockBusinessParties: BusinessParty[] = [
fullName: 'Mehmet Yılmaz', fullName: 'Mehmet Yılmaz',
title: 'Genel Müdür', title: 'Genel Müdür',
email: 'mehmetyilmaz@gmail.com', email: 'mehmetyilmaz@gmail.com',
phone: '+90 232 555 7890', phoneNumber: '+90 232 555 7890',
department: 'Yönetim', department: 'Yönetim',
isPrimary: true, isPrimary: true,
isActive: false, isActive: false,
@ -293,15 +293,15 @@ export const mockBusinessParties: BusinessParty[] = [
title: 'Genel Müdür', title: 'Genel Müdür',
department: 'Yönetim', department: 'Yönetim',
email: 'fatma.demir@uretim.com', email: 'fatma.demir@uretim.com',
phone: '+90 312 555 0202', phoneNumber: '+90 312 555 0202',
mobile: '+90 532 555 0202', mobileNumber: '+90 532 555 0202',
isPrimary: true, isPrimary: true,
isActive: true, isActive: true,
creationTime: new Date(), creationTime: new Date(),
lastModificationTime: new Date(), lastModificationTime: new Date(),
}, },
email: 'fatmacelik@gmail.com', email: 'fatmacelik@gmail.com',
phone: '+90 312 555 3456', phoneNumber: '+90 312 555 3456',
address: { address: {
street: 'Kızılay Meydanı No:15', street: 'Kızılay Meydanı No:15',
city: 'Ankara', city: 'Ankara',
@ -360,7 +360,7 @@ export const mockBusinessParties: BusinessParty[] = [
fullName: 'Fatma Çelik', fullName: 'Fatma Çelik',
title: 'Finans Müdürü', title: 'Finans Müdürü',
email: 'fatmacelik@gmail.com', email: 'fatmacelik@gmail.com',
phone: '+90 312 555 3456', phoneNumber: '+90 312 555 3456',
department: 'Finans', department: 'Finans',
isPrimary: true, isPrimary: true,
isActive: false, isActive: false,
@ -387,8 +387,8 @@ export const mockBusinessParties: BusinessParty[] = [
title: 'Genel Müdür', title: 'Genel Müdür',
department: 'Yönetim', department: 'Yönetim',
email: 'fatma.demir@uretim.com', email: 'fatma.demir@uretim.com',
phone: '+90 312 555 0202', phoneNumber: '+90 312 555 0202',
mobile: '+90 532 555 0202', mobileNumber: '+90 532 555 0202',
isPrimary: true, isPrimary: true,
isActive: true, isActive: true,
creationTime: new Date(), creationTime: new Date(),
@ -438,8 +438,8 @@ export const mockBusinessParties: BusinessParty[] = [
title: 'Satınalma Müdürü', title: 'Satınalma Müdürü',
department: 'Satınalma', department: 'Satınalma',
email: 'ali.yilmaz@teknoloji.com', email: 'ali.yilmaz@teknoloji.com',
phone: '+90 212 555 0201', phoneNumber: '+90 212 555 0201',
mobile: '+90 532 555 0201', mobileNumber: '+90 532 555 0201',
isPrimary: true, isPrimary: true,
isActive: true, isActive: true,
creationTime: new Date(), creationTime: new Date(),
@ -482,7 +482,7 @@ export const mockBusinessPartyNew: BusinessParty = {
supplierType: SupplierTypeEnum.ServiceProvider, supplierType: SupplierTypeEnum.ServiceProvider,
name: '', name: '',
email: '', email: '',
phone: '', phoneNumber: '',
address: { address: {
street: '', street: '',
city: '', city: '',

View file

@ -11,7 +11,7 @@ export const mockCurrentAccounts: FiCurrentAccount[] = [
taxNumber: "1234567890", taxNumber: "1234567890",
taxOffice: "Beylikdüzü V.D.", taxOffice: "Beylikdüzü V.D.",
contactPerson: "Ahmet Yılmaz", contactPerson: "Ahmet Yılmaz",
phone: "+90 212 555 1234", phoneNumber: "+90 212 555 1234",
email: "info@abctedarik.com", email: "info@abctedarik.com",
address: "Beylikdüzü Organize Sanayi Bölgesi, İstanbul", address: "Beylikdüzü Organize Sanayi Bölgesi, İstanbul",
creditLimit: 50000, creditLimit: 50000,
@ -33,7 +33,7 @@ export const mockCurrentAccounts: FiCurrentAccount[] = [
taxNumber: "9876543210", taxNumber: "9876543210",
taxOffice: "Kadıköy V.D.", taxOffice: "Kadıköy V.D.",
contactPerson: "Fatma Demir", contactPerson: "Fatma Demir",
phone: "+90 216 888 5678", phoneNumber: "+90 216 888 5678",
email: "satis@xyzmuster.com", email: "satis@xyzmuster.com",
address: "Kadıköy, İstanbul", address: "Kadıköy, İstanbul",
creditLimit: 100000, creditLimit: 100000,
@ -55,7 +55,7 @@ export const mockCurrentAccounts: FiCurrentAccount[] = [
taxNumber: "5555666677", taxNumber: "5555666677",
taxOffice: "Ümraniye V.D.", taxOffice: "Ümraniye V.D.",
contactPerson: "Mehmet Kaya", contactPerson: "Mehmet Kaya",
phone: "+90 216 333 4455", phoneNumber: "+90 216 333 4455",
email: "info@definsaat.com", email: "info@definsaat.com",
address: "Ümraniye, İstanbul", address: "Ümraniye, İstanbul",
creditLimit: 75000, creditLimit: 75000,
@ -77,7 +77,7 @@ export const mockCurrentAccounts: FiCurrentAccount[] = [
taxNumber: "1111222233", taxNumber: "1111222233",
taxOffice: "Beşiktaş V.D.", taxOffice: "Beşiktaş V.D.",
contactPerson: "Ayşe Özkan", contactPerson: "Ayşe Özkan",
phone: "+90 212 777 8899", phoneNumber: "+90 212 777 8899",
email: "info@ghiteknoloji.com", email: "info@ghiteknoloji.com",
address: "Beşiktaş, İstanbul", address: "Beşiktaş, İstanbul",
creditLimit: 200000, creditLimit: 200000,
@ -99,7 +99,7 @@ export const mockCurrentAccounts: FiCurrentAccount[] = [
taxNumber: "9999888877", taxNumber: "9999888877",
taxOffice: "Maltepe V.D.", taxOffice: "Maltepe V.D.",
contactPerson: "Ali Öz", contactPerson: "Ali Öz",
phone: "+90 216 555 1122", phoneNumber: "+90 216 555 1122",
email: "info@jklgida.com", email: "info@jklgida.com",
address: "Maltepe, İstanbul", address: "Maltepe, İstanbul",
creditLimit: 30000, creditLimit: 30000,

View file

@ -17,8 +17,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Öztürk", lastName: "Öztürk",
fullName: "Ali Öztürk", fullName: "Ali Öztürk",
email: "ali.ozturk@company.com", email: "ali.ozturk@company.com",
phone: "+90 212 555 0100", phoneNumber: "+90 212 555 0100",
personalPhone: "+90 532 555 0101", mobileNumber: "+90 532 555 0101",
avatar: "https://i.pravatar.cc/150?img=12", avatar: "https://i.pravatar.cc/150?img=12",
nationalId: "12345678901", nationalId: "12345678901",
birthDate: new Date("1988-10-20"), birthDate: new Date("1988-10-20"),
@ -34,7 +34,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Ayşe Öztürk", name: "Ayşe Öztürk",
relationship: "Eşi", relationship: "Eşi",
phone: "+90 532 555 0100", phoneNumber: "+90 532 555 0100",
}, },
hireDate: new Date("2020-01-15"), hireDate: new Date("2020-01-15"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,
@ -75,8 +75,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Kaya", lastName: "Kaya",
fullName: "Ayşe Kaya", fullName: "Ayşe Kaya",
email: "ayse.kaya@company.com", email: "ayse.kaya@company.com",
phone: "+90 212 555 0102", phoneNumber: "+90 212 555 0102",
personalPhone: "+90 532 555 0103", mobileNumber: "+90 532 555 0103",
avatar: "https://i.pravatar.cc/150?img=5", avatar: "https://i.pravatar.cc/150?img=5",
nationalId: "12345678902", nationalId: "12345678902",
birthDate: new Date("1990-08-22"), birthDate: new Date("1990-08-22"),
@ -92,7 +92,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Fatma Kaya", name: "Fatma Kaya",
relationship: "Anne", relationship: "Anne",
phone: "+90 532 555 0104", phoneNumber: "+90 532 555 0104",
}, },
hireDate: new Date("2021-06-01"), hireDate: new Date("2021-06-01"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,
@ -134,8 +134,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Yılmaz", lastName: "Yılmaz",
fullName: "Mehmet Yılmaz", fullName: "Mehmet Yılmaz",
email: "mehmet.yilmaz@company.com", email: "mehmet.yilmaz@company.com",
phone: "+90 212 555 0105", phoneNumber: "+90 212 555 0105",
personalPhone: "+90 532 555 0106", mobileNumber: "+90 532 555 0106",
avatar: "https://i.pravatar.cc/150?img=8", avatar: "https://i.pravatar.cc/150?img=8",
nationalId: "12345678903", nationalId: "12345678903",
birthDate: new Date("1987-03-12"), birthDate: new Date("1987-03-12"),
@ -151,7 +151,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Zeynep Yılmaz", name: "Zeynep Yılmaz",
relationship: "Eşi", relationship: "Eşi",
phone: "+90 532 555 0107", phoneNumber: "+90 532 555 0107",
}, },
hireDate: new Date("2020-02-15"), hireDate: new Date("2020-02-15"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,
@ -193,8 +193,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Demir", lastName: "Demir",
fullName: "Selin Demir", fullName: "Selin Demir",
email: "selin.demir@company.com", email: "selin.demir@company.com",
phone: "+90 312 555 0108", phoneNumber: "+90 312 555 0108",
personalPhone: "+90 542 555 0109", mobileNumber: "+90 542 555 0109",
avatar: "https://i.pravatar.cc/150?img=9", avatar: "https://i.pravatar.cc/150?img=9",
nationalId: "12345678904", nationalId: "12345678904",
birthDate: new Date("1993-05-25"), birthDate: new Date("1993-05-25"),
@ -210,7 +210,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Ali Demir", name: "Ali Demir",
relationship: "Baba", relationship: "Baba",
phone: "+90 532 555 0110", phoneNumber: "+90 532 555 0110",
}, },
hireDate: new Date("2022-01-10"), hireDate: new Date("2022-01-10"),
employmentType: EmploymentTypeEnum.PartTime, employmentType: EmploymentTypeEnum.PartTime,
@ -252,8 +252,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Çelik", lastName: "Çelik",
fullName: "Ahmet Çelik", fullName: "Ahmet Çelik",
email: "ahmet.celik@company.com", email: "ahmet.celik@company.com",
phone: "+90 212 555 0111", phoneNumber: "+90 212 555 0111",
personalPhone: "+90 532 555 0112", mobileNumber: "+90 532 555 0112",
avatar: "https://i.pravatar.cc/150?img=33", avatar: "https://i.pravatar.cc/150?img=33",
nationalId: "12345678905", nationalId: "12345678905",
birthDate: new Date("1985-09-10"), birthDate: new Date("1985-09-10"),
@ -269,7 +269,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Emine Çelik", name: "Emine Çelik",
relationship: "Eşi", relationship: "Eşi",
phone: "+90 532 555 0113", phoneNumber: "+90 532 555 0113",
}, },
hireDate: new Date("2019-04-01"), hireDate: new Date("2019-04-01"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,
@ -311,8 +311,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Arslan", lastName: "Arslan",
fullName: "Zeynep Arslan", fullName: "Zeynep Arslan",
email: "zeynep.arslan@company.com", email: "zeynep.arslan@company.com",
phone: "+90 216 555 0114", phoneNumber: "+90 216 555 0114",
personalPhone: "+90 532 555 0115", mobileNumber: "+90 532 555 0115",
avatar: "https://i.pravatar.cc/150?img=10", avatar: "https://i.pravatar.cc/150?img=10",
nationalId: "12345678906", nationalId: "12345678906",
birthDate: new Date("1995-01-30"), birthDate: new Date("1995-01-30"),
@ -328,7 +328,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Hasan Arslan", name: "Hasan Arslan",
relationship: "Baba", relationship: "Baba",
phone: "+90 532 555 0116", phoneNumber: "+90 532 555 0116",
}, },
hireDate: new Date("2023-03-20"), hireDate: new Date("2023-03-20"),
employmentType: EmploymentTypeEnum.Intern, employmentType: EmploymentTypeEnum.Intern,
@ -370,8 +370,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Koç", lastName: "Koç",
fullName: "Burak Koç", fullName: "Burak Koç",
email: "burak.koc@company.com", email: "burak.koc@company.com",
phone: "+90 224 555 0117", phoneNumber: "+90 224 555 0117",
personalPhone: "+90 532 555 0118", mobileNumber: "+90 532 555 0118",
avatar: "https://i.pravatar.cc/150?img=14", avatar: "https://i.pravatar.cc/150?img=14",
nationalId: "12345678907", nationalId: "12345678907",
birthDate: new Date("1991-06-18"), birthDate: new Date("1991-06-18"),
@ -387,7 +387,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Elif Koç", name: "Elif Koç",
relationship: "Eşi", relationship: "Eşi",
phone: "+90 532 555 0119", phoneNumber: "+90 532 555 0119",
}, },
hireDate: new Date("2021-07-12"), hireDate: new Date("2021-07-12"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,
@ -429,8 +429,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Şahin", lastName: "Şahin",
fullName: "Elif Şahin", fullName: "Elif Şahin",
email: "elif.sahin@company.com", email: "elif.sahin@company.com",
phone: "+90 232 555 0120", phoneNumber: "+90 232 555 0120",
personalPhone: "+90 532 555 0121", mobileNumber: "+90 532 555 0121",
avatar: "https://i.pravatar.cc/150?img=20", avatar: "https://i.pravatar.cc/150?img=20",
nationalId: "12345678908", nationalId: "12345678908",
birthDate: new Date("1989-11-05"), birthDate: new Date("1989-11-05"),
@ -446,7 +446,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Murat Şahin", name: "Murat Şahin",
relationship: "Eşi", relationship: "Eşi",
phone: "+90 532 555 0122", phoneNumber: "+90 532 555 0122",
}, },
hireDate: new Date("2018-09-01"), hireDate: new Date("2018-09-01"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,
@ -488,8 +488,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Öztürk", lastName: "Öztürk",
fullName: "Canan Öztürk", fullName: "Canan Öztürk",
email: "canan.ozturk@company.com", email: "canan.ozturk@company.com",
phone: "+90 312 555 0123", phoneNumber: "+90 312 555 0123",
personalPhone: "+90 532 555 0124", mobileNumber: "+90 532 555 0124",
avatar: "https://i.pravatar.cc/150?img=25", avatar: "https://i.pravatar.cc/150?img=25",
nationalId: "12345678909", nationalId: "12345678909",
birthDate: new Date("1992-04-14"), birthDate: new Date("1992-04-14"),
@ -505,7 +505,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Hüseyin Öztürk", name: "Hüseyin Öztürk",
relationship: "Baba", relationship: "Baba",
phone: "+90 532 555 0125", phoneNumber: "+90 532 555 0125",
}, },
hireDate: new Date("2020-11-02"), hireDate: new Date("2020-11-02"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,
@ -547,8 +547,8 @@ export const mockEmployees: EmployeeDto[] = [
lastName: "Aydın", lastName: "Aydın",
fullName: "Murat Aydın", fullName: "Murat Aydın",
email: "murat.aydin@company.com", email: "murat.aydin@company.com",
phone: "+90 212 555 0126", phoneNumber: "+90 212 555 0126",
personalPhone: "+90 532 555 0127", mobileNumber: "+90 532 555 0127",
avatar: "https://i.pravatar.cc/150?img=30", avatar: "https://i.pravatar.cc/150?img=30",
nationalId: "12345678910", nationalId: "12345678910",
birthDate: new Date("1984-12-22"), birthDate: new Date("1984-12-22"),
@ -564,7 +564,7 @@ export const mockEmployees: EmployeeDto[] = [
emergencyContact: { emergencyContact: {
name: "Ayten Aydın", name: "Ayten Aydın",
relationship: "Eşi", relationship: "Eşi",
phone: "+90 532 555 0128", phoneNumber: "+90 532 555 0128",
}, },
hireDate: new Date("2017-05-15"), hireDate: new Date("2017-05-15"),
employmentType: EmploymentTypeEnum.FullTime, employmentType: EmploymentTypeEnum.FullTime,

View file

@ -37,9 +37,9 @@ export interface CustomTenantDto extends TenantDto {
country: string country: string
city: string city: string
postalCode: string postalCode: string
phone: number phoneNumber: number
mobile: number mobileNumber: number
fax: number faxNumber: number
email: string email: string
website: string website: string
menuGroup?: string menuGroup?: string

View file

@ -1,7 +1,7 @@
export interface ContactDto { export interface ContactDto {
id: string id: string
address: string address: string
phone: string phoneNumber: string
email: string email: string
location: string location: string
taxNumber: string taxNumber: string

View file

@ -4,7 +4,7 @@ export interface DemoDto {
organizationName: string organizationName: string
fullName: string fullName: string
email: string email: string
phone: string phoneNumber: string
address: string address: string
numberOfBranches: number numberOfBranches: number
numberOfUsers: number numberOfUsers: number

View file

@ -67,8 +67,8 @@ export interface EmployeeDto {
lastName: string lastName: string
fullName: string fullName: string
email: string email: string
phone?: string phoneNumber?: string
personalPhone?: string mobileNumber?: string
avatar?: string // Avatar URL avatar?: string // Avatar URL
nationalId: string nationalId: string
birthDate: Date birthDate: Date
@ -149,7 +149,7 @@ export interface VisitorDto {
fullName: string fullName: string
companyName: string companyName: string
email: string email: string
phone: string phoneNumber: string
purpose: string purpose: string
visitDate: Date visitDate: Date
checkIn?: Date checkIn?: Date

View file

@ -44,7 +44,7 @@ export interface BusinessParty {
contacts?: Contact[] contacts?: Contact[]
industry?: BusinessPartyIndustryEnum industry?: BusinessPartyIndustryEnum
email?: string email?: string
phone?: string phoneNumber?: string
website?: string website?: string
lastOrderDate?: Date lastOrderDate?: Date
status?: BusinessPartyStatusEnum status?: BusinessPartyStatusEnum
@ -138,8 +138,8 @@ export interface Contact {
title?: string title?: string
department?: string department?: string
email: string email: string
phone?: string phoneNumber?: string
mobile?: string mobileNumber?: string
isPrimary: boolean isPrimary: boolean
isActive: boolean isActive: boolean
creationTime: Date creationTime: Date
@ -171,7 +171,7 @@ export interface BankAccount {
dailyTransferLimit: number dailyTransferLimit: number
isActive: boolean isActive: boolean
contactPerson?: string contactPerson?: string
phone?: string phoneNumber?: string
swiftCode?: string swiftCode?: string
isDefault: boolean isDefault: boolean
creationTime: Date creationTime: Date

View file

@ -9,7 +9,7 @@ export interface FiCurrentAccount {
businessParty?: BusinessParty businessParty?: BusinessParty
type: AccountTypeEnum type: AccountTypeEnum
contactPerson?: string contactPerson?: string
phone?: string phoneNumber?: string
email?: string email?: string
address?: string address?: string
taxNumber?: string taxNumber?: string

View file

@ -150,7 +150,7 @@ export interface HrEmergencyContact {
// İnsan Kaynakları Acil Durum İletişim // İnsan Kaynakları Acil Durum İletişim
name: string name: string
relationship: string relationship: string
phone: string phoneNumber: string
email?: string email?: string
address?: Address address?: Address
} }

View file

@ -82,7 +82,7 @@ const BankPage: React.FC = () => {
overdraftLimit: accountData.overdraftLimit || 0, overdraftLimit: accountData.overdraftLimit || 0,
dailyTransferLimit: accountData.dailyTransferLimit || 0, dailyTransferLimit: accountData.dailyTransferLimit || 0,
contactPerson: accountData.contactPerson, contactPerson: accountData.contactPerson,
phone: accountData.phone, phoneNumber: accountData.phoneNumber,
isActive: accountData.isActive ?? true, isActive: accountData.isActive ?? true,
creationTime: new Date(), creationTime: new Date(),
lastModificationTime: new Date(), lastModificationTime: new Date(),

View file

@ -290,7 +290,7 @@ const BankAccountDetails: React.FC<BankAccountDetailsProps> = ({
</div> </div>
</div> </div>
{(account.contactPerson || account.phone) && ( {(account.contactPerson || account.phoneNumber) && (
<div className="bg-gray-50 rounded-lg p-4"> <div className="bg-gray-50 rounded-lg p-4">
<h3 className="text-base font-semibold text-gray-900 mb-3 flex items-center gap-2"> <h3 className="text-base font-semibold text-gray-900 mb-3 flex items-center gap-2">
<FaUser className="w-5 h-5 text-purple-600" /> <FaUser className="w-5 h-5 text-purple-600" />
@ -305,10 +305,10 @@ const BankAccountDetails: React.FC<BankAccountDetailsProps> = ({
</span> </span>
</div> </div>
)} )}
{account.phone && ( {account.phoneNumber && (
<div className="flex justify-between"> <div className="flex justify-between">
<span className="text-gray-600">Telefon:</span> <span className="text-gray-600">Telefon:</span>
<span className="font-medium">{account.phone}</span> <span className="font-medium">{account.phoneNumber}</span>
</div> </div>
)} )}
</div> </div>

View file

@ -25,7 +25,7 @@ const BankAccountForm: React.FC<BankAccountFormProps> = ({ account, isOpen, onCl
overdraftLimit: 0, overdraftLimit: 0,
dailyTransferLimit: 0, dailyTransferLimit: 0,
contactPerson: '', contactPerson: '',
phone: '', phoneNumber: '',
isActive: true, isActive: true,
}) })
@ -47,7 +47,7 @@ const BankAccountForm: React.FC<BankAccountFormProps> = ({ account, isOpen, onCl
overdraftLimit: 0, overdraftLimit: 0,
dailyTransferLimit: 0, dailyTransferLimit: 0,
contactPerson: '', contactPerson: '',
phone: '', phoneNumber: '',
isActive: true, isActive: true,
}) })
} }
@ -379,8 +379,8 @@ const BankAccountForm: React.FC<BankAccountFormProps> = ({ account, isOpen, onCl
<label className="block text-sm font-medium text-gray-700 mb-1">Telefon</label> <label className="block text-sm font-medium text-gray-700 mb-1">Telefon</label>
<input <input
type="tel" type="tel"
name="phone" name="phoneNumber"
value={formData.phone || ''} value={formData.phoneNumber || ''}
onChange={handleInputChange} onChange={handleInputChange}
className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"
placeholder="+90 212 555 1234" placeholder="+90 212 555 1234"

View file

@ -227,8 +227,8 @@ const BankManagement: React.FC<BankManagementProps> = ({
{account.contactPerson && ( {account.contactPerson && (
<div className="text-gray-900">{account.contactPerson}</div> <div className="text-gray-900">{account.contactPerson}</div>
)} )}
{account.phone && ( {account.phoneNumber && (
<div className="text-gray-500">{account.phone}</div> <div className="text-gray-500">{account.phoneNumber}</div>
)} )}
</div> </div>
), ),

View file

@ -137,12 +137,12 @@ const CurrentAccountDetails: React.FC<CurrentAccountDetailsProps> = ({
</div> </div>
)} )}
{account.phone && ( {account.phoneNumber && (
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<FaPhoneAlt className="w-4 h-4 text-gray-400" /> <FaPhoneAlt className="w-4 h-4 text-gray-400" />
<div> <div>
<div className="text-sm text-gray-500">Telefon</div> <div className="text-sm text-gray-500">Telefon</div>
<div className="font-medium">{account.phone}</div> <div className="font-medium">{account.phoneNumber}</div>
</div> </div>
</div> </div>
)} )}

View file

@ -27,7 +27,7 @@ const CurrentAccountForm: React.FC<CurrentAccountFormProps> = ({
businessPartyId: '', businessPartyId: '',
type: AccountTypeEnum.Customer, type: AccountTypeEnum.Customer,
contactPerson: '', contactPerson: '',
phone: '', phoneNumber: '',
email: '', email: '',
address: '', address: '',
taxNumber: '', taxNumber: '',
@ -54,7 +54,7 @@ const CurrentAccountForm: React.FC<CurrentAccountFormProps> = ({
businessPartyId: '', businessPartyId: '',
type: AccountTypeEnum.Customer, type: AccountTypeEnum.Customer,
contactPerson: '', contactPerson: '',
phone: '', phoneNumber: '',
email: '', email: '',
address: '', address: '',
taxNumber: '', taxNumber: '',
@ -226,8 +226,8 @@ const CurrentAccountForm: React.FC<CurrentAccountFormProps> = ({
<label className="block text-sm font-medium text-gray-700 mb-1">Telefon</label> <label className="block text-sm font-medium text-gray-700 mb-1">Telefon</label>
<input <input
type="text" type="text"
name="phone" name="phoneNumber"
value={formData.phone || ''} value={formData.phoneNumber || ''}
onChange={handleInputChange} onChange={handleInputChange}
className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500"
placeholder="+90 212 555 1234" placeholder="+90 212 555 1234"

View file

@ -400,7 +400,7 @@ const CurrentAccountManagement: React.FC<CurrentAccountManagementProps> = ({
header: 'İletişim', header: 'İletişim',
render: (account: FiCurrentAccount) => ( render: (account: FiCurrentAccount) => (
<div className="text-sm"> <div className="text-sm">
{account.phone && <div className="text-gray-900">{account.phone}</div>} {account.phoneNumber && <div className="text-gray-900">{account.phoneNumber}</div>}
{account.email && <div className="text-gray-500">{account.email}</div>} {account.email && <div className="text-gray-500">{account.email}</div>}
</div> </div>
), ),

View file

@ -155,9 +155,9 @@ const InvoiceDetails: React.FC<InvoiceDetailsProps> = ({
{invoice.currentAccount.contactPerson} {invoice.currentAccount.contactPerson}
</div> </div>
)} )}
{invoice.currentAccount?.phone && ( {invoice.currentAccount?.phoneNumber && (
<div className="text-sm text-gray-600"> <div className="text-sm text-gray-600">
Tel: {invoice.currentAccount.phone} Tel: {invoice.currentAccount.phoneNumber}
</div> </div>
)} )}
{invoice.currentAccount?.email && ( {invoice.currentAccount?.email && (

View file

@ -190,7 +190,7 @@ const WaybillDetails: React.FC<WaybillDetailsProps> = ({
</div> </div>
<div className="flex justify-between"> <div className="flex justify-between">
<span className="text-gray-600">Telefon:</span> <span className="text-gray-600">Telefon:</span>
<span className="font-medium">{account.phone || "-"}</span> <span className="font-medium">{account.phoneNumber || "-"}</span>
</div> </div>
<div className="flex justify-between"> <div className="flex justify-between">
<span className="text-gray-600">E-posta:</span> <span className="text-gray-600">E-posta:</span>

View file

@ -309,6 +309,7 @@ function JsonRowOpDialogEditForm({
<div className="font-bold"> Editor Options</div> <div className="font-bold"> Editor Options</div>
<div className="ml-5 gap-2"> <div className="ml-5 gap-2">
<pre>{`• {"showClearButton":true }`}</pre> <pre>{`• {"showClearButton":true }`}</pre>
<pre>{`• {"format": "fixedPoint", "precision": 2}`}</pre>
<pre>{`• {"format": "phoneGlobal", "mask":"(000) 000-0000", "maskInvalidMessage":"Lütfen geçerli bir telefon numarası girin", "useMaskedValue":false, "maskRules": { "X": "[1-9]" }, "placeholder": "(555) 123-4567" }`}</pre> <pre>{`• {"format": "phoneGlobal", "mask":"(000) 000-0000", "maskInvalidMessage":"Lütfen geçerli bir telefon numarası girin", "useMaskedValue":false, "maskRules": { "X": "[1-9]" }, "placeholder": "(555) 123-4567" }`}</pre>
<pre>{`• {"height":200}`}</pre> <pre>{`• {"height":200}`}</pre>
<pre> <pre>

View file

@ -206,10 +206,10 @@ const ActivityDetails: React.FC<ActivityDetailsProps> = ({ isOpen, onClose, onEd
<FaEnvelope className="w-4 h-4 text-gray-400" /> <FaEnvelope className="w-4 h-4 text-gray-400" />
<span className="text-gray-900">{customer.primaryContact?.email}</span> <span className="text-gray-900">{customer.primaryContact?.email}</span>
</div> </div>
{customer.primaryContact?.phone && ( {customer.primaryContact?.phoneNumber && (
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<FaPhone className="w-4 h-4 text-gray-400" /> <FaPhone className="w-4 h-4 text-gray-400" />
<span className="text-gray-900">{customer.primaryContact.phone}</span> <span className="text-gray-900">{customer.primaryContact.phoneNumber}</span>
</div> </div>
)} )}
</div> </div>

View file

@ -325,10 +325,10 @@ const CustomerCards: React.FC = () => {
<FaEnvelope className="w-4 h-4 mr-2 text-gray-400" /> <FaEnvelope className="w-4 h-4 mr-2 text-gray-400" />
<span className="truncate">{customer.primaryContact?.email}</span> <span className="truncate">{customer.primaryContact?.email}</span>
</div> </div>
{customer.primaryContact?.phone && ( {customer.primaryContact?.phoneNumber && (
<div className="flex items-center text-sm text-gray-600"> <div className="flex items-center text-sm text-gray-600">
<FaPhone className="w-4 h-4 mr-2 text-gray-400" /> <FaPhone className="w-4 h-4 mr-2 text-gray-400" />
<span>{customer.primaryContact.phone}</span> <span>{customer.primaryContact.phoneNumber}</span>
</div> </div>
)} )}
<div className="flex items-center text-sm text-gray-600"> <div className="flex items-center text-sm text-gray-600">

View file

@ -473,8 +473,8 @@ const CustomerEdit: React.FC = () => {
</label> </label>
<input <input
type="tel" type="tel"
value={formData.primaryContact?.phone} value={formData.primaryContact?.phoneNumber}
onChange={(e) => handleInputChange('primaryContact.phone', e.target.value)} onChange={(e) => handleInputChange('primaryContact.phoneNumber', e.target.value)}
className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent" className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
placeholder="+90 (212) 555 0123" placeholder="+90 (212) 555 0123"
/> />
@ -486,7 +486,7 @@ const CustomerEdit: React.FC = () => {
</label> </label>
<input <input
type="tel" type="tel"
value={formData.primaryContact?.mobile} value={formData.primaryContact?.mobileNumber}
onChange={(e) => handleInputChange('primaryContact.mobile', e.target.value)} onChange={(e) => handleInputChange('primaryContact.mobile', e.target.value)}
className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent" className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
placeholder="+90 (555) 123 4567" placeholder="+90 (555) 123 4567"

View file

@ -286,16 +286,16 @@ const CustomerForm: React.FC = () => {
<label className="block text-xs font-medium text-gray-700 mb-1">Telefon *</label> <label className="block text-xs font-medium text-gray-700 mb-1">Telefon *</label>
<input <input
type="tel" type="tel"
value={formData.phone} value={formData.phoneNumber}
onChange={(e) => handleInputChange('phone', e.target.value)} onChange={(e) => handleInputChange('phoneNumber', e.target.value)}
className={`block w-full px-3 py-1.5 text-sm border rounded-md shadow-sm focus:outline-none focus:ring-1 ${ className={`block w-full px-3 py-1.5 text-sm border rounded-md shadow-sm focus:outline-none focus:ring-1 ${
errors.phone errors.phoneNumber
? 'border-red-300 focus:border-red-500 focus:ring-red-500' ? 'border-red-300 focus:border-red-500 focus:ring-red-500'
: 'border-gray-300 focus:border-blue-500 focus:ring-blue-500' : 'border-gray-300 focus:border-blue-500 focus:ring-blue-500'
}`} }`}
placeholder="+90 212 555 0123" placeholder="+90 212 555 0123"
/> />
{errors.phone && <p className="mt-1 text-sm text-red-600">{errors.phone}</p>} {errors.phoneNumber && <p className="mt-1 text-sm text-red-600">{errors.phoneNumber}</p>}
</div> </div>
</div> </div>
</div> </div>

View file

@ -282,16 +282,16 @@ const CustomerForm: React.FC = () => {
<label className="block text-xs font-medium text-gray-700 mb-1">Telefon *</label> <label className="block text-xs font-medium text-gray-700 mb-1">Telefon *</label>
<input <input
type="tel" type="tel"
value={formData.phone} value={formData.phoneNumber}
onChange={(e) => handleInputChange('phone', e.target.value)} onChange={(e) => handleInputChange('phoneNumber', e.target.value)}
className={`block w-full px-3 py-1.5 text-sm border rounded-md shadow-sm focus:outline-none focus:ring-1 ${ className={`block w-full px-3 py-1.5 text-sm border rounded-md shadow-sm focus:outline-none focus:ring-1 ${
errors.phone errors.phoneNumber
? 'border-red-300 focus:border-red-500 focus:ring-red-500' ? 'border-red-300 focus:border-red-500 focus:ring-red-500'
: 'border-gray-300 focus:border-blue-500 focus:ring-blue-500' : 'border-gray-300 focus:border-blue-500 focus:ring-blue-500'
}`} }`}
placeholder="+90 212 555 0123" placeholder="+90 212 555 0123"
/> />
{errors.phone && <p className="mt-1 text-sm text-red-600">{errors.phone}</p>} {errors.phoneNumber && <p className="mt-1 text-sm text-red-600">{errors.phoneNumber}</p>}
</div> </div>
</div> </div>
</div> </div>

View file

@ -289,10 +289,10 @@ const CustomerList: React.FC = () => {
<FaEnvelope size={14} className="mr-1" /> <FaEnvelope size={14} className="mr-1" />
{customer.primaryContact?.email} {customer.primaryContact?.email}
</div> </div>
{customer.primaryContact?.phone && ( {customer.primaryContact?.phoneNumber && (
<div className="flex items-center text-sm text-gray-500"> <div className="flex items-center text-sm text-gray-500">
<FaPhone size={14} className="mr-1" /> <FaPhone size={14} className="mr-1" />
{customer.primaryContact?.phone} {customer.primaryContact?.phoneNumber}
</div> </div>
)} )}
<div className="flex items-center text-sm text-gray-400"> <div className="flex items-center text-sm text-gray-400">

View file

@ -431,14 +431,14 @@ const CustomerView: React.FC = () => {
{customer.primaryContact?.email} {customer.primaryContact?.email}
</a> </a>
</div> </div>
{customer.primaryContact?.phone && ( {customer.primaryContact?.phoneNumber && (
<div className="flex items-center"> <div className="flex items-center">
<FaPhone className="w-4 h-4 text-gray-400 mr-3" /> <FaPhone className="w-4 h-4 text-gray-400 mr-3" />
<a <a
href={`tel:${customer.primaryContact?.phone}`} href={`tel:${customer.primaryContact?.phoneNumber}`}
className="text-blue-600 hover:text-blue-800 text-sm" className="text-blue-600 hover:text-blue-800 text-sm"
> >
{customer.primaryContact.phone} {customer.primaryContact.phoneNumber}
</a> </a>
</div> </div>
)} )}
@ -542,16 +542,16 @@ const CustomerView: React.FC = () => {
</div> </div>
</div> </div>
{customer.primaryContact?.phone && ( {customer.primaryContact?.phoneNumber && (
<div className="flex items-center p-2 bg-gray-50 rounded-lg"> <div className="flex items-center p-2 bg-gray-50 rounded-lg">
<FaPhone className="w-5 h-5 text-gray-400 mr-3" /> <FaPhone className="w-5 h-5 text-gray-400 mr-3" />
<div> <div>
<p className="text-sm text-gray-600">Telefon</p> <p className="text-sm text-gray-600">Telefon</p>
<a <a
href={`tel:${customer.primaryContact?.phone}`} href={`tel:${customer.primaryContact?.phoneNumber}`}
className="text-blue-600 hover:text-blue-800 font-medium" className="text-blue-600 hover:text-blue-800 font-medium"
> >
{customer.primaryContact?.phone} {customer.primaryContact?.phoneNumber}
</a> </a>
</div> </div>
</div> </div>
@ -628,14 +628,14 @@ const CustomerView: React.FC = () => {
{contact.email} {contact.email}
</a> </a>
</div> </div>
{contact.phone && ( {contact.phoneNumber && (
<div className="flex items-center text-sm text-gray-600"> <div className="flex items-center text-sm text-gray-600">
<FaPhone className="w-3 h-3 mr-2" /> <FaPhone className="w-3 h-3 mr-2" />
<a <a
href={`tel:${contact.phone}`} href={`tel:${contact.phoneNumber}`}
className="text-blue-600 hover:text-blue-800" className="text-blue-600 hover:text-blue-800"
> >
{contact.phone} {contact.phoneNumber}
</a> </a>
</div> </div>
)} )}

View file

@ -194,10 +194,10 @@ const OpportunityDetails: React.FC<OpportunityDetailsProps> = ({
<FaEnvelope className="w-4 h-4 text-gray-400" /> <FaEnvelope className="w-4 h-4 text-gray-400" />
<span className="text-gray-900">{customer.primaryContact?.email}</span> <span className="text-gray-900">{customer.primaryContact?.email}</span>
</div> </div>
{customer.primaryContact?.phone && ( {customer.primaryContact?.phoneNumber && (
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
<FaPhone className="w-4 h-4 text-gray-400" /> <FaPhone className="w-4 h-4 text-gray-400" />
<span className="text-gray-900">{customer.primaryContact?.phone}</span> <span className="text-gray-900">{customer.primaryContact?.phoneNumber}</span>
</div> </div>
)} )}
</div> </div>

View file

@ -383,7 +383,7 @@ const SalesOrderForm: React.FC = () => {
<label className="block text-xs font-medium text-gray-700 mb-1">Telefon</label> <label className="block text-xs font-medium text-gray-700 mb-1">Telefon</label>
<input <input
type="text" type="text"
value={selectedCustomer.primaryContact?.phone || ''} value={selectedCustomer.primaryContact?.phoneNumber || ''}
disabled disabled
className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-md bg-gray-50" className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-md bg-gray-50"
/> />

View file

@ -229,7 +229,7 @@ const SalesOrderView: React.FC = () => {
</div> </div>
<div className="flex items-center text-sm text-gray-600"> <div className="flex items-center text-sm text-gray-600">
<FaPhone className="mr-2" /> <FaPhone className="mr-2" />
<span>{order.customer?.primaryContact?.phone || 'Belirtilmemiş'}</span> <span>{order.customer?.primaryContact?.phoneNumber || 'Belirtilmemiş'}</span>
</div> </div>
<div className="flex items-center text-sm text-gray-600"> <div className="flex items-center text-sm text-gray-600">
<FaEnvelope className="mr-2" /> <FaEnvelope className="mr-2" />

View file

@ -486,19 +486,19 @@ const OrganizationChart: React.FC = () => {
<span className="text-sm">E-posta:</span> <span className="text-sm">E-posta:</span>
<span className="ml-2 text-sm font-medium">{selectedEmployee.email}</span> <span className="ml-2 text-sm font-medium">{selectedEmployee.email}</span>
</div> </div>
{selectedEmployee.phone && ( {selectedEmployee.phoneNumber && (
<div className="flex items-center"> <div className="flex items-center">
<FaPhone className="w-4 h-4 text-gray-500 mr-3" /> <FaPhone className="w-4 h-4 text-gray-500 mr-3" />
<span className="text-sm">İş Telefonu:</span> <span className="text-sm">İş Telefonu:</span>
<span className="ml-2 text-sm font-medium">{selectedEmployee.phone}</span> <span className="ml-2 text-sm font-medium">{selectedEmployee.phoneNumber}</span>
</div> </div>
)} )}
{selectedEmployee.personalPhone && ( {selectedEmployee.mobileNumber && (
<div className="flex items-center"> <div className="flex items-center">
<FaPhone className="w-4 h-4 text-gray-500 mr-3" /> <FaPhone className="w-4 h-4 text-gray-500 mr-3" />
<span className="text-sm">Kişisel Telefon:</span> <span className="text-sm">Kişisel Telefon:</span>
<span className="ml-2 text-sm font-medium"> <span className="ml-2 text-sm font-medium">
{selectedEmployee.personalPhone} {selectedEmployee.mobileNumber}
</span> </span>
</div> </div>
)} )}
@ -618,7 +618,7 @@ const OrganizationChart: React.FC = () => {
</div> </div>
<div> <div>
<span className="text-sm text-gray-600">Telefon:</span> <span className="text-sm text-gray-600">Telefon:</span>
<p className="font-medium">{selectedEmployee.emergencyContact.phone}</p> <p className="font-medium">{selectedEmployee.emergencyContact.phoneNumber}</p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -271,7 +271,7 @@ const PostItem: React.FC<PostItemProps> = ({ post, onLike, onComment, onDelete,
avatar: post.employee.avatar || 'https://i.pravatar.cc/150?img=1', avatar: post.employee.avatar || 'https://i.pravatar.cc/150?img=1',
title: post.employee.jobPosition?.name || 'Çalışan', title: post.employee.jobPosition?.name || 'Çalışan',
email: post.employee.email, email: post.employee.email,
phone: post.employee.phone, phoneNumber: post.employee.phoneNumber,
department: post.employee.department?.name, department: post.employee.department?.name,
location: post.employee.workLocation location: post.employee.workLocation
}} }}

View file

@ -9,7 +9,7 @@ interface UserProfileCardProps {
avatar: string avatar: string
title: string title: string
email?: string email?: string
phone?: string phoneNumber?: string
department?: string department?: string
location?: string location?: string
} }
@ -59,14 +59,14 @@ const UserProfileCard: React.FC<UserProfileCardProps> = ({ user, position = 'bot
</div> </div>
)} )}
{user.phone && ( {user.phoneNumber && (
<div className="flex items-center gap-2 text-sm"> <div className="flex items-center gap-2 text-sm">
<FaPhone className="w-4 h-4 text-gray-400 flex-shrink-0" /> <FaPhone className="w-4 h-4 text-gray-400 flex-shrink-0" />
<a <a
href={`tel:${user.phone}`} href={`tel:${user.phoneNumber}`}
className="text-gray-700 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400" className="text-gray-700 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400"
> >
{user.phone} {user.phoneNumber}
</a> </a>
</div> </div>
)} )}

View file

@ -291,10 +291,10 @@ const MaintenanceTeams: React.FC = () => {
<span>{leader.employee.email}</span> <span>{leader.employee.email}</span>
</div> </div>
)} )}
{leader.employee?.phone && ( {leader.employee?.phoneNumber && (
<div className="flex items-center space-x-1"> <div className="flex items-center space-x-1">
<FaPhone className="w-3 h-3" /> <FaPhone className="w-3 h-3" />
<span>{leader.employee.phone}</span> <span>{leader.employee.phoneNumber}</span>
</div> </div>
)} )}
</div> </div>

View file

@ -147,10 +147,10 @@ const ViewTeamModal: React.FC<ViewTeamModalProps> = ({ isOpen, onClose, onEdit,
<span>{leader.employee.email}</span> <span>{leader.employee.email}</span>
</div> </div>
)} )}
{leader.employee?.phone && ( {leader.employee?.phoneNumber && (
<div className="flex items-center space-x-1"> <div className="flex items-center space-x-1">
<FaPhone className="w-3 h-3" /> <FaPhone className="w-3 h-3" />
<span>{leader.employee.phone}</span> <span>{leader.employee.phoneNumber}</span>
</div> </div>
)} )}
</div> </div>
@ -206,10 +206,10 @@ const ViewTeamModal: React.FC<ViewTeamModalProps> = ({ isOpen, onClose, onEdit,
<span>{member.employee.email}</span> <span>{member.employee.email}</span>
</div> </div>
)} )}
{member.employee?.phone && ( {member.employee?.phoneNumber && (
<div className="flex items-center space-x-1 text-xs text-gray-500"> <div className="flex items-center space-x-1 text-xs text-gray-500">
<FaPhone className="w-3 h-3" /> <FaPhone className="w-3 h-3" />
<span>{member.employee.phone}</span> <span>{member.employee.phoneNumber}</span>
</div> </div>
)} )}
<div className="text-xs text-gray-500"> <div className="text-xs text-gray-500">

View file

@ -1119,10 +1119,10 @@ const ProjectForm: React.FC = () => {
<FaEnvelope className="w-3 h-3 mr-1" /> <FaEnvelope className="w-3 h-3 mr-1" />
{manager.email} {manager.email}
</div> </div>
{manager.phone && ( {manager.phoneNumber && (
<div className="flex items-center mt-1 text-sm text-gray-500"> <div className="flex items-center mt-1 text-sm text-gray-500">
<FaPhone className="w-3 h-3 mr-1" /> <FaPhone className="w-3 h-3 mr-1" />
{manager.phone} {manager.phoneNumber}
</div> </div>
)} )}
</div> </div>
@ -1175,10 +1175,10 @@ const ProjectForm: React.FC = () => {
{customer.primaryContact.email} {customer.primaryContact.email}
</div> </div>
)} )}
{customer.primaryContact?.phone && ( {customer.primaryContact?.phoneNumber && (
<div className="flex items-center mt-1 text-sm text-gray-500"> <div className="flex items-center mt-1 text-sm text-gray-500">
<FaPhone className="w-3 h-3 mr-1" /> <FaPhone className="w-3 h-3 mr-1" />
{customer.primaryContact.phone} {customer.primaryContact.phoneNumber}
</div> </div>
)} )}
</div> </div>

View file

@ -315,10 +315,10 @@ const ProjectView: React.FC = () => {
<FaEnvelope className="w-3 h-3 mr-1" /> <FaEnvelope className="w-3 h-3 mr-1" />
{project.projectManager.email} {project.projectManager.email}
</div> </div>
{project.projectManager.phone && ( {project.projectManager.phoneNumber && (
<div className="flex items-center mt-1 text-sm text-gray-500"> <div className="flex items-center mt-1 text-sm text-gray-500">
<FaPhone className="w-3 h-3 mr-1" /> <FaPhone className="w-3 h-3 mr-1" />
{project.projectManager.phone} {project.projectManager.phoneNumber}
</div> </div>
)} )}
</div> </div>
@ -350,10 +350,10 @@ const ProjectView: React.FC = () => {
{project.customer.primaryContact.email} {project.customer.primaryContact.email}
</div> </div>
)} )}
{project.customer.primaryContact?.phone && ( {project.customer.primaryContact?.phoneNumber && (
<div className="flex items-center mt-1 text-sm text-gray-500"> <div className="flex items-center mt-1 text-sm text-gray-500">
<FaPhone className="w-3 h-3 mr-1" /> <FaPhone className="w-3 h-3 mr-1" />
{project.customer.primaryContact.phone} {project.customer.primaryContact.phoneNumber}
</div> </div>
)} )}
</div> </div>

View file

@ -97,7 +97,7 @@ const Contact: React.FC = () => {
<div className="flex items-start space-x-2"> <div className="flex items-start space-x-2">
<FaPhone className="w-5 h-5 text-blue-600 flex-shrink-0" /> <FaPhone className="w-5 h-5 text-blue-600 flex-shrink-0" />
<div> <div>
<p className="text-gray-600">{contact?.phone}</p> <p className="text-gray-600">{contact?.phoneNumber}</p>
</div> </div>
</div> </div>
<div className="flex items-start space-x-2"> <div className="flex items-start space-x-2">

View file

@ -28,7 +28,7 @@ const Demo: React.FC<DemoModalProps> = ({ isOpen, onClose }) => {
organizationName: "", organizationName: "",
fullName: "", fullName: "",
email: "", email: "",
phone: "", phoneNumber: "",
address: "", address: "",
numberOfBranches: 0, numberOfBranches: 0,
numberOfUsers: 0, numberOfUsers: 0,
@ -66,7 +66,7 @@ const Demo: React.FC<DemoModalProps> = ({ isOpen, onClose }) => {
} else if (!/\S+@\S+\.\S+/.test(formData.email)) { } else if (!/\S+@\S+\.\S+/.test(formData.email)) {
newErrors.email = "Please enter a valid email"; newErrors.email = "Please enter a valid email";
} }
if (!formData.phone.trim()) newErrors.phone = "Phone number is required"; if (!formData.phoneNumber.trim()) newErrors.phoneNumber = "Phone number is required";
if (!formData.address.trim()) newErrors.address = "Address is required"; if (!formData.address.trim()) newErrors.address = "Address is required";
if (!formData.message.trim()) newErrors.message = "Message is required"; if (!formData.message.trim()) newErrors.message = "Message is required";
@ -137,7 +137,7 @@ const Demo: React.FC<DemoModalProps> = ({ isOpen, onClose }) => {
organizationName: "", organizationName: "",
fullName: "", fullName: "",
email: "", email: "",
phone: "", phoneNumber: "",
address: "", address: "",
numberOfBranches: 0, numberOfBranches: 0,
numberOfUsers: 0, numberOfUsers: 0,
@ -218,7 +218,6 @@ const Demo: React.FC<DemoModalProps> = ({ isOpen, onClose }) => {
</div> </div>
</div> </div>
{/* Email & Phone Row */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<div> <div>
<label className="block text-gray-700 text-sm font-medium mb-2"> <label className="block text-gray-700 text-sm font-medium mb-2">
@ -243,21 +242,21 @@ const Demo: React.FC<DemoModalProps> = ({ isOpen, onClose }) => {
<div> <div>
<label className="block text-gray-700 text-sm font-medium mb-2"> <label className="block text-gray-700 text-sm font-medium mb-2">
{translate('::Public.common.phone')} * {translate('::Public.common.phoneNumber')} *
</label> </label>
<div className="relative"> <div className="relative">
<FaPhone className="absolute left-3 top-1/2 transform -translate-y-1/2 w-5 h-5 text-gray-400" /> <FaPhone className="absolute left-3 top-1/2 transform -translate-y-1/2 w-5 h-5 text-gray-400" />
<input <input
type="tel" type="tel"
name="phone" name="phoneNumber"
value={formData.phone} value={formData.phoneNumber}
onChange={handleInputChange} onChange={handleInputChange}
className={`w-full pl-11 pr-4 py-2.5 bg-gray-50 border ${ className={`w-full pl-11 pr-4 py-2.5 bg-gray-50 border ${
errors.phone errors.phoneNumber
? "border-red-500 focus:border-red-500 focus:ring-red-500/20" ? "border-red-500 focus:border-red-500 focus:ring-red-500/20"
: "border-gray-200 focus:border-blue-500 focus:ring-blue-500/20" : "border-gray-200 focus:border-blue-500 focus:ring-blue-500/20"
} rounded-xl text-gray-800 placeholder-gray-500 focus:outline-none transition-all duration-300`} } rounded-xl text-gray-800 placeholder-gray-500 focus:outline-none transition-all duration-300`}
placeholder={translate('::Public.demo.phone')} placeholder={translate('::Public.demo.phoneNumber')}
/> />
</div> </div>
</div> </div>

View file

@ -71,8 +71,8 @@ const SupplierForm: React.FC = () => {
} else if (!/\S+@\S+\.\S+/.test(formData.email)) { } else if (!/\S+@\S+\.\S+/.test(formData.email)) {
newErrors.email = 'Geçerli bir email adresi girin' newErrors.email = 'Geçerli bir email adresi girin'
} }
if (!formData.phone?.trim()) { if (!formData.phoneNumber?.trim()) {
newErrors.phone = 'Telefon numarası zorunludur' newErrors.phoneNumber = 'Telefon numarası zorunludur'
} }
if (!formData.address?.street?.trim()) { if (!formData.address?.street?.trim()) {
newErrors.street = 'Adres zorunludur' newErrors.street = 'Adres zorunludur'
@ -360,8 +360,8 @@ const SupplierForm: React.FC = () => {
<label className="block text-xs font-medium text-gray-700 mb-1">Telefon</label> <label className="block text-xs font-medium text-gray-700 mb-1">Telefon</label>
<input <input
type="tel" type="tel"
value={formData.primaryContact?.phone} value={formData.primaryContact?.phoneNumber}
onChange={(e) => handleInputChange('primaryContact.phone', e.target.value)} onChange={(e) => handleInputChange('primaryContact.phoneNumber', e.target.value)}
className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent" className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
placeholder="+90 (212) 555 0123" placeholder="+90 (212) 555 0123"
/> />
@ -373,7 +373,7 @@ const SupplierForm: React.FC = () => {
</label> </label>
<input <input
type="tel" type="tel"
value={formData.primaryContact?.mobile} value={formData.primaryContact?.mobileNumber}
onChange={(e) => handleInputChange('primaryContact.mobile', e.target.value)} onChange={(e) => handleInputChange('primaryContact.mobile', e.target.value)}
className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent" className="w-full px-3 py-1.5 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
placeholder="+90 (555) 123 4567" placeholder="+90 (555) 123 4567"
@ -408,17 +408,17 @@ const SupplierForm: React.FC = () => {
<FaPhone className="absolute left-3 top-2.5 h-4 w-4 text-gray-400" /> <FaPhone className="absolute left-3 top-2.5 h-4 w-4 text-gray-400" />
<input <input
type="tel" type="tel"
value={formData.phone} value={formData.phoneNumber}
onChange={(e) => handleInputChange('phone', e.target.value)} onChange={(e) => handleInputChange('phoneNumber', e.target.value)}
className={`block w-full pl-10 pr-3 py-1.5 border rounded-md shadow-sm text-sm focus:outline-none focus:ring-1 ${ className={`block w-full pl-10 pr-3 py-1.5 border rounded-md shadow-sm text-sm focus:outline-none focus:ring-1 ${
errors.phone errors.phoneNumber
? 'border-red-300 focus:border-red-500 focus:ring-red-500' ? 'border-red-300 focus:border-red-500 focus:ring-red-500'
: 'border-gray-300 focus:border-blue-500 focus:ring-blue-500' : 'border-gray-300 focus:border-blue-500 focus:ring-blue-500'
}`} }`}
placeholder="+90 212 555 0123" placeholder="+90 212 555 0123"
/> />
</div> </div>
{errors.phone && <p className="mt-1 text-sm text-red-600">{errors.phone}</p>} {errors.phoneNumber && <p className="mt-1 text-sm text-red-600">{errors.phoneNumber}</p>}
</div> </div>
</div> </div>
</div> </div>

View file

@ -288,10 +288,10 @@ const SupplierList: React.FC = () => {
{supplier.email} {supplier.email}
</div> </div>
)} )}
{supplier.phone && ( {supplier.phoneNumber && (
<div className="flex items-center text-sm text-gray-500"> <div className="flex items-center text-sm text-gray-500">
<FaPhone size={14} className="mr-1" /> <FaPhone size={14} className="mr-1" />
{supplier.phone} {supplier.phoneNumber}
</div> </div>
)} )}
</div> </div>