Supply Chain Bank, Certificate, Contact

This commit is contained in:
Sedat ÖZTÜRK 2025-11-12 17:19:37 +03:00
parent d9d00102a6
commit 7d993f7daf
16 changed files with 814 additions and 39 deletions

View file

@ -1,7 +1,7 @@
namespace Erp.Platform.ListForms; namespace Erp.Platform.ListForms;
/// <summary> Uyarlanabilir düzen özelliklerini belirtir. /// <summary> 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
/// </summary> /// </summary>
public class ChartAdaptivelayoutDto public class ChartAdaptivelayoutDto
{ {

View file

@ -62,7 +62,7 @@ public class ChartArgumentAxisDto
/// </summary> /// </summary>
public string Position { get; set; } = "bottom"; public string Position { get; set; } = "bottom";
/// <summary> Eksen başlığını yapılandırır. /// <summary> 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
/// </summary> /// </summary>
public string Title { get; set; } public string Title { get; set; }
/// <summary> Eksen çizgisini görünür yapar. /// <summary> Eksen çizgisini görünür yapar.

View file

@ -12,7 +12,7 @@ public class ChartCommonAxisDto
public ChartAxisGridDto Grid { get; set; } public ChartAxisGridDto Grid { get; set; }
/// <summary> Ana eksen işaretlerinin görünümünü yapılandırır. /// <summary> 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
/// </summary> /// </summary>
public string Title { get; set; } public string Title { get; set; }
/// <summary> Eksen çizgisini görünür yapar. /// <summary> Eksen çizgisini görünür yapar.

View file

@ -28,7 +28,7 @@ public class ChartValueAxisDto
/// </summary> /// </summary>
public string Position { get; set; } = "left"; public string Position { get; set; } = "left";
/// <summary> Eksen başlığını yapılandırır. /// <summary> 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
/// </summary> /// </summary>
public string Title { get; set; } public string Title { get; set; }
/// <summary> Değerleri belirtilen bir veri türüne dönüştürür. /// <summary> Değerleri belirtilen bir veri türüne dönüştürür.

View file

@ -76,12 +76,12 @@ public class PublicAppService : PlatformAppService
await _demoRepository.InsertAsync(demo); await _demoRepository.InsertAsync(demo);
var bodyBuilder = new StringBuilder(); var bodyBuilder = new StringBuilder();
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.PhoneNumber}"); 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}");
bodyBuilder.AppendLine($"Mesaj: {input.Message}"); bodyBuilder.AppendLine($"Mesaj: {input.Message}");

View file

@ -134,7 +134,7 @@ public class ReportAppService : PlatformAppService, IReportAppService
public async Task<ReportTemplateDto> UpdateTemplateAsync(Guid id, UpdateReportTemplateDto input) public async Task<ReportTemplateDto> 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); var template = await _reportTemplateRepository.GetAsync(id);
template.Name = input.Name; template.Name = input.Name;
@ -143,7 +143,7 @@ public class ReportAppService : PlatformAppService, IReportAppService
template.CategoryId = input.CategoryId; template.CategoryId = input.CategoryId;
template.Tags = JsonSerializer.Serialize(input.Tags ?? []); 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); await _reportTemplateRepository.UpdateAsync(template, autoSave: true);
// 2) Parametrelerde upsert + artıklarını sil // 2) Parametrelerde upsert + artıklarını sil

View file

@ -995,7 +995,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
new () { Key= "💎", Name= "💎 Elmas" }, new () { Key= "💎", Name= "💎 Elmas" },
new () { Key= "💡", Name= "💡 Ampul" }, new () { Key= "💡", Name= "💡 Ampul" },
new () { Key= "🔥", Name= "🔥 Ateş" }, new () { Key= "🔥", Name= "🔥 Ateş" },
new () { Key= "âš¡", Name= "âš¡ Şimşek" }, new () { Key= "âš¡", Name= "âš¡ Şimşek" },
new () { Key= "🎯", Name= "🎯 Hedef" }, new () { Key= "🎯", Name= "🎯 Hedef" },
new () { Key= "📈", Name= "📈 Grafik" }, new () { Key= "📈", Name= "📈 Grafik" },
new () { Key= "🚀", Name= "🚀 Roket" }, new () { Key= "🚀", Name= "🚀 Roket" },
@ -3260,7 +3260,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
ValueExpr = "key", ValueExpr = "key",
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] { LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
new () { Key= 1, Name= "01-Ocak" }, 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= 3, Name= "03-Mart"},
new () { Key= 4, Name= "04-Nisan" }, new () { Key= 4, Name= "04-Nisan" },
new () { Key= 5, Name= "05-Mayıs" }, new () { Key= 5, Name= "05-Mayıs" },

View file

@ -618,7 +618,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
ValueExpr = "key", ValueExpr = "key",
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] { LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
new () { Key="Mercimek Çorbası", Name="Mercimek Çorbası" }, 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="Bulgur Pilavı", Name="Bulgur Pilavı" },
new () { Key="Salata", Name="Salata" }, new () { Key="Salata", Name="Salata" },
new () { Key="Meyve", Name="Meyve" }, new () { Key="Meyve", Name="Meyve" },

View file

@ -1688,5 +1688,644 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
]); ]);
} }
#endregion #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<EditingFormDto>()
{
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<EditingFormDto>()
{
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<EditingFormDto>()
{
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
} }
} }

View file

@ -2423,11 +2423,21 @@
"RequiredPermissionName": "App.SupplyChain.Supply", "RequiredPermissionName": "App.SupplyChain.Supply",
"IsDisabled": false "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", "ParentCode": "App.SupplyChain",
"Code": "App.SupplyChain.Request", "Code": "App.SupplyChain.Request",
"DisplayName": "App.SupplyChain.Request", "DisplayName": "App.SupplyChain.Request",
"Order": 8, "Order": 9,
"Url": "/admin/supplychain/requests", "Url": "/admin/supplychain/requests",
"Icon": "FcServices", "Icon": "FcServices",
"RequiredPermissionName": "App.SupplyChain.Request", "RequiredPermissionName": "App.SupplyChain.Request",
@ -2437,22 +2447,12 @@
"ParentCode": "App.SupplyChain", "ParentCode": "App.SupplyChain",
"Code": "App.SupplyChain.Quotation", "Code": "App.SupplyChain.Quotation",
"DisplayName": "App.SupplyChain.Quotation", "DisplayName": "App.SupplyChain.Quotation",
"Order": 9, "Order": 10,
"Url": "/admin/supplychain/quotations", "Url": "/admin/supplychain/quotations",
"Icon": "FcSurvey", "Icon": "FcSurvey",
"RequiredPermissionName": "App.SupplyChain.Quotation", "RequiredPermissionName": "App.SupplyChain.Quotation",
"IsDisabled": false "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", "ParentCode": "App.SupplyChain",
"Code": "App.SupplyChain.Order", "Code": "App.SupplyChain.Order",

View file

@ -5620,19 +5620,20 @@
"MultiTenancySide": 3, "MultiTenancySide": 3,
"MenuGroup": "Erp" "MenuGroup": "Erp"
}, },
{ {
"GroupName": "App.SupplyChain", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialType", "Name": "App.SupplyChain.PartnerBank",
"ParentName": null, "ParentName": null,
"DisplayName": "App.SupplyChain.MaterialType", "DisplayName": "App.SupplyChain.PartnerBank",
"IsEnabled": true, "IsEnabled": true,
"MultiTenancySide": 3, "MultiTenancySide": 3,
"MenuGroup": "Erp" "MenuGroup": "Erp"
}, },
{ {
"GroupName": "App.SupplyChain", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialType.Create", "Name": "App.SupplyChain.PartnerBank.Create",
"ParentName": "App.SupplyChain.MaterialType", "ParentName": "App.SupplyChain.PartnerBank",
"DisplayName": "Create", "DisplayName": "Create",
"IsEnabled": true, "IsEnabled": true,
"MultiTenancySide": 3, "MultiTenancySide": 3,
@ -5640,8 +5641,8 @@
}, },
{ {
"GroupName": "App.SupplyChain", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialType.Update", "Name": "App.SupplyChain.PartnerBank.Update",
"ParentName": "App.SupplyChain.MaterialType", "ParentName": "App.SupplyChain.PartnerBank",
"DisplayName": "Update", "DisplayName": "Update",
"IsEnabled": true, "IsEnabled": true,
"MultiTenancySide": 3, "MultiTenancySide": 3,
@ -5649,8 +5650,8 @@
}, },
{ {
"GroupName": "App.SupplyChain", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialType.Delete", "Name": "App.SupplyChain.PartnerBank.Delete",
"ParentName": "App.SupplyChain.MaterialType", "ParentName": "App.SupplyChain.PartnerBank",
"DisplayName": "Delete", "DisplayName": "Delete",
"IsEnabled": true, "IsEnabled": true,
"MultiTenancySide": 3, "MultiTenancySide": 3,
@ -5658,8 +5659,8 @@
}, },
{ {
"GroupName": "App.SupplyChain", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialType.Export", "Name": "App.SupplyChain.PartnerBank.Export",
"ParentName": "App.SupplyChain.MaterialType", "ParentName": "App.SupplyChain.PartnerBank",
"DisplayName": "Export", "DisplayName": "Export",
"IsEnabled": true, "IsEnabled": true,
"MultiTenancySide": 3, "MultiTenancySide": 3,
@ -5667,8 +5668,8 @@
}, },
{ {
"GroupName": "App.SupplyChain", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialType.Import", "Name": "App.SupplyChain.PartnerBank.Import",
"ParentName": "App.SupplyChain.MaterialType", "ParentName": "App.SupplyChain.PartnerBank",
"DisplayName": "Import", "DisplayName": "Import",
"IsEnabled": true, "IsEnabled": true,
"MultiTenancySide": 3, "MultiTenancySide": 3,
@ -5676,13 +5677,142 @@
}, },
{ {
"GroupName": "App.SupplyChain", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialType.Activity", "Name": "App.SupplyChain.PartnerBank.Activity",
"ParentName": "App.SupplyChain.MaterialType", "ParentName": "App.SupplyChain.PartnerBank",
"DisplayName": "Activity", "DisplayName": "Activity",
"IsEnabled": true, "IsEnabled": true,
"MultiTenancySide": 3, "MultiTenancySide": 3,
"MenuGroup": "Erp" "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", "GroupName": "App.SupplyChain",
"Name": "App.SupplyChain.MaterialGroup", "Name": "App.SupplyChain.MaterialGroup",

View file

@ -522,6 +522,9 @@ public static class PlatformConsts
public const string PaymentTerm = "list-paymentterm"; public const string PaymentTerm = "list-paymentterm";
public const string SupplyType = "list-supplytype"; public const string SupplyType = "list-supplytype";
public const string SupplyCardType = "list-supplycardtype"; public const string SupplyCardType = "list-supplycardtype";
public const string SupplyBank = "list-supplybank";
public const string SupplyCertificate = "list-supplycertificate";
public const string SupplyContact = "list-supplycontact";
} }
} }

View file

@ -497,6 +497,9 @@ public static class SeedConsts
public const string PaymentTerm = Default + ".PaymentTerm"; public const string PaymentTerm = Default + ".PaymentTerm";
public const string SupplyType = Default + ".SupplyType"; public const string SupplyType = Default + ".SupplyType";
public const string SupplyCardType = Default + ".SupplyCardType"; 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 public static class Accounting

View file

@ -15,7 +15,7 @@ public class PartnerBank : FullAuditedEntity<Guid>, IMultiTenant
public string Iban { get; set; } //IBAN public string Iban { get; set; } //IBAN
public string SwiftCode { get; set; } //BIC public string SwiftCode { get; set; } //BIC
public string AccountOwner { get; set; } //Hesap Sahibi 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 string AccountType { get; set; } //Hesap Türü
public Guid? CurrencyId { get; set; } public Guid? CurrencyId { get; set; }

View file

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace Erp.Platform.Migrations namespace Erp.Platform.Migrations
{ {
[DbContext(typeof(PlatformDbContext))] [DbContext(typeof(PlatformDbContext))]
[Migration("20251112124138_Initial")] [Migration("20251112140020_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />