diff --git a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartAdaptivelayoutDto.cs b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartAdaptivelayoutDto.cs index 5880d977..1d5a12c1 100644 --- a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartAdaptivelayoutDto.cs +++ b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartAdaptivelayoutDto.cs @@ -1,7 +1,7 @@ namespace Erp.Platform.ListForms; /// Uyarlanabilir düzen özelliklerini belirtir. -/// Şu sırada gizlenir: Title, Export menu icon, Legend, Axis titles, Axis labels +/// Şu sırada gizlenir: Title, Export menu icon, Legend, Axis titles, Axis labels /// public class ChartAdaptivelayoutDto { diff --git a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartArgumentAxisDto.cs b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartArgumentAxisDto.cs index f30c7070..36f64eac 100644 --- a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartArgumentAxisDto.cs +++ b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartArgumentAxisDto.cs @@ -62,7 +62,7 @@ public class ChartArgumentAxisDto /// public string Position { get; set; } = "bottom"; /// Eksen başlığını yapılandırır. - /// Şimdilik sadece string olaran implemen edildi, ihtiyaç olması durumunda ChartTitleDto benzeri bir nesne ile değiştirilebilir + /// Şimdilik sadece string olaran implemen edildi, ihtiyaç olması durumunda ChartTitleDto benzeri bir nesne ile değiştirilebilir /// public string Title { get; set; } /// Eksen çizgisini görünür yapar. diff --git a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartCommonAxisDto.cs b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartCommonAxisDto.cs index 0918a8ac..b9880bcf 100644 --- a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartCommonAxisDto.cs +++ b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartCommonAxisDto.cs @@ -12,7 +12,7 @@ public class ChartCommonAxisDto public ChartAxisGridDto Grid { get; set; } /// Ana eksen işaretlerinin görünümünü yapılandırır. - /// Şimdilik sadece string olaran implemen edildi, ihtiyaç olması durumunda ChartTitleDto benzeri bir nesne ile değiştirilebilir + /// Şimdilik sadece string olaran implemen edildi, ihtiyaç olması durumunda ChartTitleDto benzeri bir nesne ile değiştirilebilir /// public string Title { get; set; } /// Eksen çizgisini görünür yapar. diff --git a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartValueAxisDto.cs b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartValueAxisDto.cs index d28d4ad2..77412aa1 100644 --- a/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartValueAxisDto.cs +++ b/api/src/Erp.Platform.Application.Contracts/ListForms/Chart/ChartValueAxisDto.cs @@ -28,7 +28,7 @@ public class ChartValueAxisDto /// public string Position { get; set; } = "left"; /// Eksen başlığını yapılandırır. - /// Şimdilik sadece string olaran implemen edildi, ihtiyaç olması durumunda ChartTitleDto benzeri bir nesne ile değiştirilebilir + /// Şimdilik sadece string olaran implemen edildi, ihtiyaç olması durumunda ChartTitleDto benzeri bir nesne ile değiştirilebilir /// public string Title { get; set; } /// Değerleri belirtilen bir veri türüne dönüştürür. diff --git a/api/src/Erp.Platform.Application/Public/PublicAppService.cs b/api/src/Erp.Platform.Application/Public/PublicAppService.cs index ef3149d8..02dda26d 100644 --- a/api/src/Erp.Platform.Application/Public/PublicAppService.cs +++ b/api/src/Erp.Platform.Application/Public/PublicAppService.cs @@ -76,12 +76,12 @@ public class PublicAppService : PlatformAppService await _demoRepository.InsertAsync(demo); var bodyBuilder = new StringBuilder(); - bodyBuilder.AppendLine($"Şirket: {input.OrganizationName}"); + bodyBuilder.AppendLine($"Şirket: {input.OrganizationName}"); bodyBuilder.AppendLine($"Ad Soyad: {input.FullName}"); bodyBuilder.AppendLine($"E-Posta: {input.Email}"); bodyBuilder.AppendLine($"Telefon: {input.PhoneNumber}"); 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($"Mesaj: {input.Message}"); diff --git a/api/src/Erp.Platform.Application/Reports/ReportAppService.cs b/api/src/Erp.Platform.Application/Reports/ReportAppService.cs index c6afa979..de00d934 100644 --- a/api/src/Erp.Platform.Application/Reports/ReportAppService.cs +++ b/api/src/Erp.Platform.Application/Reports/ReportAppService.cs @@ -134,7 +134,7 @@ public class ReportAppService : PlatformAppService, IReportAppService public async Task UpdateTemplateAsync(Guid id, UpdateReportTemplateDto input) { - // 1) Şablonu getir ve alanlarını güncelle + // 1) Şablonu getir ve alanlarını güncelle var template = await _reportTemplateRepository.GetAsync(id); template.Name = input.Name; @@ -143,7 +143,7 @@ public class ReportAppService : PlatformAppService, IReportAppService template.CategoryId = input.CategoryId; template.Tags = JsonSerializer.Serialize(input.Tags ?? []); - // Şablonu hemen persist et (audit alanları için de iyi olur) + // Şablonu hemen persist et (audit alanları için de iyi olur) await _reportTemplateRepository.UpdateAsync(template, autoSave: true); // 2) Parametrelerde upsert + artıklarını sil diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs index 25ec4cd5..7389fdd4 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Hr.cs @@ -995,7 +995,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency new () { Key= "💎", Name= "💎 Elmas" }, new () { Key= "💡", Name= "💡 Ampul" }, new () { Key= "🔥", Name= "🔥 Ateş" }, - new () { Key= "âš¡", Name= "âš¡ Şimşek" }, + new () { Key= "âš¡", Name= "âš¡ Şimşek" }, new () { Key= "🎯", Name= "🎯 Hedef" }, new () { Key= "📈", Name= "📈 Grafik" }, new () { Key= "🚀", Name= "🚀 Roket" }, @@ -3260,7 +3260,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency ValueExpr = "key", LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] { new () { Key= 1, Name= "01-Ocak" }, - new () { Key= 2, Name= "02-Şubat" }, + new () { Key= 2, Name= "02-Şubat" }, new () { Key= 3, Name= "03-Mart"}, new () { Key= 4, Name= "04-Nisan" }, new () { Key= 5, Name= "05-Mayıs" }, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs index f8b0924a..912b3267 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_Intranet.cs @@ -618,7 +618,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc ValueExpr = "key", LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] { new () { Key="Mercimek Çorbası", Name="Mercimek Çorbası" }, - new () { Key="Tavuk Şinitzel", Name="Tavuk Şinitzel" }, + new () { Key="Tavuk Şinitzel", Name="Tavuk Şinitzel" }, new () { Key="Bulgur Pilavı", Name="Bulgur Pilavı" }, new () { Key="Salata", Name="Salata" }, new () { Key="Meyve", Name="Meyve" }, diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs index 0ac25e01..8c5b0906 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs +++ b/api/src/Erp.Platform.DbMigrator/Seeds/ListFormSeeder_SupplyChain.cs @@ -1688,5 +1688,644 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend ]); } #endregion + + #region Supplier Bank + if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SupplyBank)) + { + var listForm = await _listFormRepository.InsertAsync( + new ListForm() + { + ListFormType = ListFormTypeEnum.List, + IsSubForm = true, + LayoutJson = DefaultLayoutJson, + CultureName = LanguageCodes.En, + ListFormCode = ListFormCodes.Lists.SupplyBank, + Name = AppCodes.SupplyChain.PartnerBank, + Title = AppCodes.SupplyChain.PartnerBank, + DataSourceCode = SeedConsts.DataSources.DefaultCode, + IsTenant = true, + IsBranch = false, + IsOrganizationUnit = false, + Description = AppCodes.SupplyChain.PartnerBank, + SelectCommandType = SelectCommandTypeEnum.Table, + SelectCommand = TableNameResolver.GetFullTableName(nameof(TableNameEnum.PartnerBank)), + KeyFieldName = "Id", + KeyFieldDbSourceType = DbType.Guid, + DefaultFilter = DefaultFilterJson, + SortMode = GridOptions.SortModeSingle, + FilterRowJson = JsonSerializer.Serialize(new GridFilterRowDto { Visible = true }), + HeaderFilterJson = JsonSerializer.Serialize(new { Visible = true }), + SearchPanelJson = JsonSerializer.Serialize(new { Visible = true }), + GroupPanelJson = JsonSerializer.Serialize(new { Visible = true }), + SelectionJson = DefaultSelectionSingleJson, + ColumnOptionJson = DefaultColumnOptionJson, + PermissionJson = DefaultPermissionJson(AppCodes.SupplyChain.PartnerBank), + DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.PartnerBank)), + DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson, + PagerOptionJson = DefaultPagerOptionJson, + EditingOptionJson = DefaultEditingOptionJson(AppCodes.SupplyChain.PartnerBank, 500, 300, true, true, true, true, false), + InsertFieldsDefaultValueJson = DefaultInsertFieldsDefaultValueJson, + EditingFormJson = JsonSerializer.Serialize(new List() + { + new() { + Order=1, ColCount=1, ColSpan=1, ItemType="group", Items =[ + new EditingFormItemDto { Order = 1, DataField="BankName", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 2, DataField="AccountNumber", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 3, DataField="Iban", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 4, DataField="SwiftCode", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 5, DataField="AccountOwner", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 6, DataField="BranchName", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 7, DataField="AccountType", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, + new EditingFormItemDto { Order = 8, DataField="CurrencyId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, + new EditingFormItemDto { Order = 9, DataField="Balance", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox }, + new EditingFormItemDto { Order = 10, DataField="OverdraftLimit", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox }, + new EditingFormItemDto { Order = 11, DataField="DailyTransferLimit", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox }, + new EditingFormItemDto { Order = 12, DataField="IsDefault", ColSpan = 1, EditorType2 = EditorTypes.dxCheckBox }, + new EditingFormItemDto { Order = 13, DataField="IsActive", ColSpan = 1, EditorType2 = EditorTypes.dxCheckBox }, + ]} + }), + FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] { + new() { FieldName = "Balance", FieldDbType = DbType.Boolean, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, + new() { FieldName = "OverdraftLimit", FieldDbType = DbType.Boolean, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, + new() { FieldName = "DailyTransferLimit", FieldDbType = DbType.Boolean, Value = "0", CustomValueType = FieldCustomValueTypeEnum.Value }, + new() { FieldName = "IsDefault", FieldDbType = DbType.Boolean, Value = "false", CustomValueType = FieldCustomValueTypeEnum.Value }, + new() { FieldName = "IsActive", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value } + }), + } + ); + + #region Partner Bank Fields + await _listFormFieldRepository.InsertManyAsync([ + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Guid, + FieldName = "Id", + Width = 100, + ListOrderNo = 1, + Visible = false, + IsActive = true, + IsDeleted = false, + SortIndex = 0, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "BankName", + Width = 100, + ListOrderNo = 2, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "AccountNumber", + Width = 100, + ListOrderNo = 3, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "Iban", + Width = 100, + ListOrderNo = 4, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "SwiftCode", + Width = 100, + ListOrderNo = 5, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "AccountOwner", + Width = 100, + ListOrderNo = 6, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "BranchName", + Width = 100, + ListOrderNo = 7, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "AccountType", + Width = 100, + ListOrderNo = 8, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + LookupJson = JsonSerializer.Serialize(new LookupDto + { + DataSourceType = UiLookupDataSourceTypeEnum.StaticData, + DisplayExpr = "name", + ValueExpr = "key", + LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] { + new() { Key="Current", Name="Current" }, + new() { Key="Deposit", Name="Deposit" }, + new() { Key="Credit", Name="Credit" }, + new() { Key="Foreign", Name="Foreign" }, + }), + }), + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Guid, + FieldName = "CurrencyId", + Width = 100, + ListOrderNo = 9, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + LookupJson = LookupQueryValues.DefaultLookupQueryJson(nameof(TableNameEnum.Currency), "Id", "Name"), + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Decimal, + FieldName = "Balance", + Width = 100, + ListOrderNo = 10, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Decimal, + FieldName = "OverdraftLimit", + Width = 100, + ListOrderNo = 11, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Decimal, + FieldName = "DailyTransferLimit", + Width = 100, + ListOrderNo = 12, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Boolean, + FieldName = "IsDefault", + Width = 100, + ListOrderNo = 13, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Boolean, + FieldName = "IsActive", + Width = 100, + ListOrderNo = 14, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerBank), + PivotSettingsJson = DefaultPivotSettingsJson + }, + ]); + #endregion + } + #endregion + + #region Supplier Certificate + if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SupplyCertificate)) + { + var listForm = await _listFormRepository.InsertAsync( + new ListForm() + { + ListFormType = ListFormTypeEnum.List, + IsSubForm = true, + LayoutJson = DefaultLayoutJson, + CultureName = LanguageCodes.En, + ListFormCode = ListFormCodes.Lists.SupplyCertificate, + Name = AppCodes.SupplyChain.PartnerCertificate, + Title = AppCodes.SupplyChain.PartnerCertificate, + DataSourceCode = SeedConsts.DataSources.DefaultCode, + IsTenant = true, + IsBranch = false, + IsOrganizationUnit = false, + Description = AppCodes.SupplyChain.PartnerCertificate, + SelectCommandType = SelectCommandTypeEnum.Table, + SelectCommand = TableNameResolver.GetFullTableName(nameof(TableNameEnum.PartnerCertificate)), + KeyFieldName = "Id", + KeyFieldDbSourceType = DbType.Guid, + DefaultFilter = DefaultFilterJson, + SortMode = GridOptions.SortModeSingle, + FilterRowJson = JsonSerializer.Serialize(new GridFilterRowDto { Visible = true }), + HeaderFilterJson = JsonSerializer.Serialize(new { Visible = true }), + SearchPanelJson = JsonSerializer.Serialize(new { Visible = true }), + GroupPanelJson = JsonSerializer.Serialize(new { Visible = true }), + SelectionJson = DefaultSelectionSingleJson, + ColumnOptionJson = DefaultColumnOptionJson, + PermissionJson = DefaultPermissionJson(AppCodes.SupplyChain.PartnerCertificate), + DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.PartnerCertificate)), + DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson, + PagerOptionJson = DefaultPagerOptionJson, + EditingOptionJson = DefaultEditingOptionJson(AppCodes.SupplyChain.PartnerCertificate, 500, 300, true, true, true, true, false), + InsertFieldsDefaultValueJson = DefaultInsertFieldsDefaultValueJson, + EditingFormJson = JsonSerializer.Serialize(new List() + { + new() { + Order=1, ColCount=1, ColSpan=1, ItemType="group", Items =[ + new EditingFormItemDto { Order = 1, DataField="Certificate", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 2, DataField="Issuer", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextArea }, + new EditingFormItemDto { Order = 3, DataField="IssueDate", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxDateBox }, + new EditingFormItemDto { Order = 4, DataField="ExpiryDate", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxDateBox }, + ]} + }), + } + ); + + #region Supplier Certificate Fields + await _listFormFieldRepository.InsertManyAsync([ + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Guid, + FieldName = "Id", + Width = 100, + ListOrderNo = 1, + Visible = false, + IsActive = true, + IsDeleted = false, + SortIndex = 0, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.SupplyCardType), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "Certificate", + Width = 200, + ListOrderNo = 2, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerCertificate), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "Issuer", + Width = 200, + ListOrderNo = 3, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerCertificate), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Date, + FieldName = "IssueDate", + Width = 100, + ListOrderNo = 4, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerCertificate), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Date, + FieldName = "ExpiryDate", + Width = 100, + ListOrderNo = 5, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerCertificate), + PivotSettingsJson = DefaultPivotSettingsJson + }, + ]); + #endregion + } + #endregion + + #region Supplier Contact + if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SupplyContact)) + { + var listForm = await _listFormRepository.InsertAsync( + new ListForm() + { + ListFormType = ListFormTypeEnum.List, + IsSubForm = true, + LayoutJson = DefaultLayoutJson, + CultureName = LanguageCodes.En, + ListFormCode = ListFormCodes.Lists.SupplyContact, + Name = AppCodes.SupplyChain.PartnerContact, + Title = AppCodes.SupplyChain.PartnerContact, + DataSourceCode = SeedConsts.DataSources.DefaultCode, + IsTenant = true, + IsBranch = false, + IsOrganizationUnit = false, + Description = AppCodes.SupplyChain.PartnerContact, + SelectCommandType = SelectCommandTypeEnum.Table, + SelectCommand = TableNameResolver.GetFullTableName(nameof(TableNameEnum.PartnerContact)), + KeyFieldName = "Id", + KeyFieldDbSourceType = DbType.Guid, + DefaultFilter = DefaultFilterJson, + SortMode = GridOptions.SortModeSingle, + FilterRowJson = JsonSerializer.Serialize(new GridFilterRowDto { Visible = true }), + HeaderFilterJson = JsonSerializer.Serialize(new { Visible = true }), + SearchPanelJson = JsonSerializer.Serialize(new { Visible = true }), + GroupPanelJson = JsonSerializer.Serialize(new { Visible = true }), + SelectionJson = DefaultSelectionSingleJson, + ColumnOptionJson = DefaultColumnOptionJson, + PermissionJson = DefaultPermissionJson(AppCodes.SupplyChain.PartnerContact), + DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.PartnerContact)), + DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson, + PagerOptionJson = DefaultPagerOptionJson, + EditingOptionJson = DefaultEditingOptionJson(AppCodes.SupplyChain.PartnerContact, 500, 300, true, true, true, true, false), + InsertFieldsDefaultValueJson = DefaultInsertFieldsDefaultValueJson, + EditingFormJson = JsonSerializer.Serialize(new List() + { + new() { + Order=1, ColCount=1, ColSpan=1, ItemType="group", Items =[ + new EditingFormItemDto { Order = 1, DataField="FullName", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 2, DataField="Title", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 3, DataField="Department", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 4, DataField="Email", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 5, DataField="PhoneNumber", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 6, DataField="MobileNumber", ColSpan = 1, EditorType2 = EditorTypes.dxTextBox }, + new EditingFormItemDto { Order = 7, DataField="IsPrimary", ColSpan = 1, EditorType2 = EditorTypes.dxCheckBox }, + new EditingFormItemDto { Order = 8, DataField="IsActive", ColSpan = 1, EditorType2 = EditorTypes.dxCheckBox }, + ]} + }), + } + ); + + #region Supplier Contact Fields + await _listFormFieldRepository.InsertManyAsync([ + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Guid, + FieldName = "Id", + Width = 100, + ListOrderNo = 1, + Visible = false, + IsActive = true, + IsDeleted = false, + SortIndex = 0, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "FullName", + Width = 200, + ListOrderNo = 2, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "Title", + Width = 100, + ListOrderNo = 3, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "Department", + Width = 100, + ListOrderNo = 4, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "Email", + Width = 100, + ListOrderNo = 5, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "PhoneNumber", + Width = 100, + ListOrderNo = 6, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.String, + FieldName = "MobileNumber", + Width = 100, + ListOrderNo = 7, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ValidationRuleJson = DefaultValidationRuleRequiredJson, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Boolean, + FieldName = "IsPrimary", + Width = 100, + ListOrderNo = 7, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + new() { + ListFormCode = listForm.ListFormCode, + CultureName = LanguageCodes.En, + SourceDbType = DbType.Boolean, + FieldName = "IsActive", + Width = 100, + ListOrderNo = 7, + Visible = true, + IsActive = true, + IsDeleted = false, + AllowSearch = true, + ColumnCustomizationJson = DefaultColumnCustomizationJson, + PermissionJson = DefaultFieldPermissionJson(AppCodes.SupplyChain.PartnerContact), + PivotSettingsJson = DefaultPivotSettingsJson + }, + ]); + #endregion + } + #endregion + } } diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json b/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json index f220149e..6b753946 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json +++ b/api/src/Erp.Platform.DbMigrator/Seeds/MenusData.json @@ -2423,11 +2423,21 @@ "RequiredPermissionName": "App.SupplyChain.Supply", "IsDisabled": false }, + { + "ParentCode": "App.SupplyChain", + "Code": "App.SupplyChain.Approval", + "DisplayName": "App.SupplyChain.Approval", + "Order": 8, + "Url": "/admin/supplychain/approvals", + "Icon": "FcApproval", + "RequiredPermissionName": "App.SupplyChain.Approval", + "IsDisabled": false + }, { "ParentCode": "App.SupplyChain", "Code": "App.SupplyChain.Request", "DisplayName": "App.SupplyChain.Request", - "Order": 8, + "Order": 9, "Url": "/admin/supplychain/requests", "Icon": "FcServices", "RequiredPermissionName": "App.SupplyChain.Request", @@ -2437,22 +2447,12 @@ "ParentCode": "App.SupplyChain", "Code": "App.SupplyChain.Quotation", "DisplayName": "App.SupplyChain.Quotation", - "Order": 9, + "Order": 10, "Url": "/admin/supplychain/quotations", "Icon": "FcSurvey", "RequiredPermissionName": "App.SupplyChain.Quotation", "IsDisabled": false }, - { - "ParentCode": "App.SupplyChain", - "Code": "App.SupplyChain.Approval", - "DisplayName": "App.SupplyChain.Approval", - "Order": 10, - "Url": "/admin/supplychain/approvals", - "Icon": "FcApproval", - "RequiredPermissionName": "App.SupplyChain.Approval", - "IsDisabled": false - }, { "ParentCode": "App.SupplyChain", "Code": "App.SupplyChain.Order", diff --git a/api/src/Erp.Platform.DbMigrator/Seeds/PermissionsData.json b/api/src/Erp.Platform.DbMigrator/Seeds/PermissionsData.json index b75d2235..9032dee4 100644 --- a/api/src/Erp.Platform.DbMigrator/Seeds/PermissionsData.json +++ b/api/src/Erp.Platform.DbMigrator/Seeds/PermissionsData.json @@ -5620,19 +5620,20 @@ "MultiTenancySide": 3, "MenuGroup": "Erp" }, + { "GroupName": "App.SupplyChain", - "Name": "App.SupplyChain.MaterialType", + "Name": "App.SupplyChain.PartnerBank", "ParentName": null, - "DisplayName": "App.SupplyChain.MaterialType", + "DisplayName": "App.SupplyChain.PartnerBank", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp" }, { "GroupName": "App.SupplyChain", - "Name": "App.SupplyChain.MaterialType.Create", - "ParentName": "App.SupplyChain.MaterialType", + "Name": "App.SupplyChain.PartnerBank.Create", + "ParentName": "App.SupplyChain.PartnerBank", "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, @@ -5640,8 +5641,8 @@ }, { "GroupName": "App.SupplyChain", - "Name": "App.SupplyChain.MaterialType.Update", - "ParentName": "App.SupplyChain.MaterialType", + "Name": "App.SupplyChain.PartnerBank.Update", + "ParentName": "App.SupplyChain.PartnerBank", "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3, @@ -5649,8 +5650,8 @@ }, { "GroupName": "App.SupplyChain", - "Name": "App.SupplyChain.MaterialType.Delete", - "ParentName": "App.SupplyChain.MaterialType", + "Name": "App.SupplyChain.PartnerBank.Delete", + "ParentName": "App.SupplyChain.PartnerBank", "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, @@ -5658,8 +5659,8 @@ }, { "GroupName": "App.SupplyChain", - "Name": "App.SupplyChain.MaterialType.Export", - "ParentName": "App.SupplyChain.MaterialType", + "Name": "App.SupplyChain.PartnerBank.Export", + "ParentName": "App.SupplyChain.PartnerBank", "DisplayName": "Export", "IsEnabled": true, "MultiTenancySide": 3, @@ -5667,8 +5668,8 @@ }, { "GroupName": "App.SupplyChain", - "Name": "App.SupplyChain.MaterialType.Import", - "ParentName": "App.SupplyChain.MaterialType", + "Name": "App.SupplyChain.PartnerBank.Import", + "ParentName": "App.SupplyChain.PartnerBank", "DisplayName": "Import", "IsEnabled": true, "MultiTenancySide": 3, @@ -5676,13 +5677,142 @@ }, { "GroupName": "App.SupplyChain", - "Name": "App.SupplyChain.MaterialType.Activity", - "ParentName": "App.SupplyChain.MaterialType", + "Name": "App.SupplyChain.PartnerBank.Activity", + "ParentName": "App.SupplyChain.PartnerBank", "DisplayName": "Activity", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp" }, + + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerCertificate", + "ParentName": null, + "DisplayName": "App.SupplyChain.PartnerCertificate", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerCertificate.Create", + "ParentName": "App.SupplyChain.PartnerCertificate", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerCertificate.Update", + "ParentName": "App.SupplyChain.PartnerCertificate", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerCertificate.Delete", + "ParentName": "App.SupplyChain.PartnerCertificate", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerCertificate.Export", + "ParentName": "App.SupplyChain.PartnerCertificate", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerCertificate.Import", + "ParentName": "App.SupplyChain.PartnerCertificate", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerCertificate.Activity", + "ParentName": "App.SupplyChain.PartnerCertificate", + "DisplayName": "Activity", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerContact", + "ParentName": null, + "DisplayName": "App.SupplyChain.PartnerContact", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerContact.Create", + "ParentName": "App.SupplyChain.PartnerContact", + "DisplayName": "Create", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerContact.Update", + "ParentName": "App.SupplyChain.PartnerContact", + "DisplayName": "Update", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerContact.Delete", + "ParentName": "App.SupplyChain.PartnerContact", + "DisplayName": "Delete", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerContact.Export", + "ParentName": "App.SupplyChain.PartnerContact", + "DisplayName": "Export", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerContact.Import", + "ParentName": "App.SupplyChain.PartnerContact", + "DisplayName": "Import", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { + "GroupName": "App.SupplyChain", + "Name": "App.SupplyChain.PartnerContact.Activity", + "ParentName": "App.SupplyChain.PartnerContact", + "DisplayName": "Activity", + "IsEnabled": true, + "MultiTenancySide": 3, + "MenuGroup": "Erp" + }, + { "GroupName": "App.SupplyChain", "Name": "App.SupplyChain.MaterialGroup", diff --git a/api/src/Erp.Platform.Domain.Shared/PlatformConsts.cs b/api/src/Erp.Platform.Domain.Shared/PlatformConsts.cs index af8e592c..f7dd87e4 100644 --- a/api/src/Erp.Platform.Domain.Shared/PlatformConsts.cs +++ b/api/src/Erp.Platform.Domain.Shared/PlatformConsts.cs @@ -522,6 +522,9 @@ public static class PlatformConsts public const string PaymentTerm = "list-paymentterm"; public const string SupplyType = "list-supplytype"; public const string SupplyCardType = "list-supplycardtype"; + public const string SupplyBank = "list-supplybank"; + public const string SupplyCertificate = "list-supplycertificate"; + public const string SupplyContact = "list-supplycontact"; } } diff --git a/api/src/Erp.Platform.Domain/Data/SeedConsts.cs b/api/src/Erp.Platform.Domain/Data/SeedConsts.cs index 34c41ebb..00cb6bba 100644 --- a/api/src/Erp.Platform.Domain/Data/SeedConsts.cs +++ b/api/src/Erp.Platform.Domain/Data/SeedConsts.cs @@ -497,6 +497,9 @@ public static class SeedConsts public const string PaymentTerm = Default + ".PaymentTerm"; public const string SupplyType = Default + ".SupplyType"; public const string SupplyCardType = Default + ".SupplyCardType"; + public const string PartnerBank = Default + ".PartnerBank"; + public const string PartnerCertificate = Default + ".PartnerCertificate"; + public const string PartnerContact = Default + ".PartnerContact"; } public static class Accounting diff --git a/api/src/Erp.Platform.Domain/Entities/Tenant/SupplyChain/PartnerBank.cs b/api/src/Erp.Platform.Domain/Entities/Tenant/SupplyChain/PartnerBank.cs index 8fbf9a2f..7074f83a 100644 --- a/api/src/Erp.Platform.Domain/Entities/Tenant/SupplyChain/PartnerBank.cs +++ b/api/src/Erp.Platform.Domain/Entities/Tenant/SupplyChain/PartnerBank.cs @@ -15,7 +15,7 @@ public class PartnerBank : FullAuditedEntity, IMultiTenant public string Iban { get; set; } //IBAN public string SwiftCode { get; set; } //BIC public string AccountOwner { get; set; } //Hesap Sahibi - public string BranchName { get; set; } //Şube Adı + public string BranchName { get; set; } //Şube Adı public string AccountType { get; set; } //Hesap Türü public Guid? CurrencyId { get; set; } diff --git a/api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112124138_Initial.Designer.cs b/api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112140020_Initial.Designer.cs similarity index 99% rename from api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112124138_Initial.Designer.cs rename to api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112140020_Initial.Designer.cs index 559f2761..52a03cfd 100644 --- a/api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112124138_Initial.Designer.cs +++ b/api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112140020_Initial.Designer.cs @@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; namespace Erp.Platform.Migrations { [DbContext(typeof(PlatformDbContext))] - [Migration("20251112124138_Initial")] + [Migration("20251112140020_Initial")] partial class Initial { /// diff --git a/api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112124138_Initial.cs b/api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112140020_Initial.cs similarity index 100% rename from api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112124138_Initial.cs rename to api/src/Erp.Platform.EntityFrameworkCore/Migrations/20251112140020_Initial.cs