Listform kodları düzeltildi
This commit is contained in:
parent
8bb9d8ed87
commit
6e6599ba15
17 changed files with 478 additions and 633 deletions
|
|
@ -5997,9 +5997,9 @@
|
|||
},
|
||||
{
|
||||
"resourceName": "Platform",
|
||||
"key": "App.Orders.PurchaseOrders",
|
||||
"tr": "Satın Alma Siparişleri",
|
||||
"en": "Purchase Orders"
|
||||
"key": "App.Orders.SalesOrders",
|
||||
"tr": "Satış Siparişleri",
|
||||
"en": "Sales Orders"
|
||||
},
|
||||
{
|
||||
"resourceName": "Platform",
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region Bank
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Bank))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Accounting.Bank))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -56,7 +56,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Bank,
|
||||
ListFormCode = AppCodes.Accounting.Bank,
|
||||
Name = AppCodes.Accounting.Bank,
|
||||
Title = AppCodes.Accounting.Bank,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -105,7 +105,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Accounting.BankAccount,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Bank)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Accounting.Bank)}/@Id",
|
||||
IsVisible = true
|
||||
},
|
||||
}),
|
||||
|
|
@ -345,7 +345,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
#endregion
|
||||
|
||||
#region BankAccount
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.BankAccount))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Accounting.BankAccount))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -355,7 +355,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.BankAccount,
|
||||
ListFormCode = AppCodes.Accounting.BankAccount,
|
||||
Name = AppCodes.Accounting.BankAccount,
|
||||
Title = AppCodes.Accounting.BankAccount,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -490,12 +490,12 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Bank,
|
||||
AppCodes.Accounting.Bank,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Bank Accounts",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.BankAccount,
|
||||
Code = AppCodes.Accounting.BankAccount,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region Permission Group
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PermissionGroup))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AbpIdentity.PermissionGroups.Default))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -59,7 +59,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PermissionGroup,
|
||||
ListFormCode = AbpIdentity.PermissionGroups.Default,
|
||||
Name = AbpIdentity.PermissionGroups.Default,
|
||||
Title = AbpIdentity.PermissionGroups.Default,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -165,7 +165,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Permission
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Permission))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AbpIdentity.Permissions.Default))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -175,7 +175,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Permission,
|
||||
ListFormCode = AbpIdentity.Permissions.Default,
|
||||
Name = AbpIdentity.Permissions.Default,
|
||||
Title = AbpIdentity.Permissions.Default,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -385,7 +385,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region ClaimType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ClaimType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.IdentityManagement.ClaimTypes))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -395,7 +395,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ClaimType,
|
||||
ListFormCode = AppCodes.IdentityManagement.ClaimTypes,
|
||||
Name = AppCodes.IdentityManagement.ClaimTypes,
|
||||
Title = AppCodes.IdentityManagement.ClaimTypes,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -591,7 +591,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Role
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Role))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == PlatformConsts.IdentityPermissions.Roles.Default))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -601,7 +601,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Role,
|
||||
ListFormCode = PlatformConsts.IdentityPermissions.Roles.Default,
|
||||
Name = PlatformConsts.IdentityPermissions.Roles.Default,
|
||||
Title = PlatformConsts.IdentityPermissions.Roles.Default,
|
||||
IsTenant = true,
|
||||
|
|
@ -721,7 +721,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region User
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.User))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == PlatformConsts.IdentityPermissions.Users.Default))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -731,7 +731,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.User,
|
||||
ListFormCode = PlatformConsts.IdentityPermissions.Users.Default,
|
||||
Name = PlatformConsts.IdentityPermissions.Users.Default,
|
||||
Title = PlatformConsts.IdentityPermissions.Users.Default,
|
||||
IsTenant = true,
|
||||
|
|
@ -926,7 +926,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Ip Restriction
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.IpRestriction))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.IdentityManagement.IpRestrictions))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -936,7 +936,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.IpRestriction,
|
||||
ListFormCode = AppCodes.IdentityManagement.IpRestrictions,
|
||||
Name = AppCodes.IdentityManagement.IpRestrictions,
|
||||
Title = AppCodes.IdentityManagement.IpRestrictions,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1063,7 +1063,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Audit Logs
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.AuditLog))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.AuditLogs))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1073,7 +1073,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.AuditLog,
|
||||
ListFormCode = AppCodes.AuditLogs,
|
||||
Name = AppCodes.AuditLogs,
|
||||
Title = AppCodes.AuditLogs,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1250,7 +1250,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Custom Endpoint
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.CustomEndpoint))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.DeveloperKits.CustomEndpoints))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1260,7 +1260,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.CustomEndpoint,
|
||||
ListFormCode = AppCodes.DeveloperKits.CustomEndpoints,
|
||||
Name = AppCodes.DeveloperKits.CustomEndpoints,
|
||||
Title = AppCodes.DeveloperKits.CustomEndpoints,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1467,7 +1467,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Report Categories
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ReportCategory))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Reports.Categories))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -1477,7 +1477,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ReportCategory,
|
||||
ListFormCode = AppCodes.Reports.Categories,
|
||||
Name = AppCodes.Reports.Categories,
|
||||
Title = AppCodes.Reports.Categories,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1584,7 +1584,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region About Us
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.About))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.About))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -1594,7 +1594,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.About,
|
||||
ListFormCode = AppCodes.About,
|
||||
Name = AppCodes.About,
|
||||
Title = AppCodes.About,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1703,7 +1703,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Services
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Service))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Services))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -1713,7 +1713,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Service,
|
||||
ListFormCode = AppCodes.Services,
|
||||
Name = AppCodes.Services,
|
||||
Title = AppCodes.Services,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1877,7 +1877,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Products
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Product))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Orders.Products))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -1887,7 +1887,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Product,
|
||||
ListFormCode = AppCodes.Orders.Products,
|
||||
Name = AppCodes.Orders.Products,
|
||||
Title = AppCodes.Orders.Products,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2093,7 +2093,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region PaymentMethods
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PaymentMethod))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Orders.PaymentMethods))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -2103,7 +2103,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PaymentMethod,
|
||||
ListFormCode = AppCodes.Orders.PaymentMethods,
|
||||
Name = AppCodes.Orders.PaymentMethods,
|
||||
Title = AppCodes.Orders.PaymentMethods,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2216,7 +2216,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region InstallmentOptions
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.InstallmentOption))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Orders.InstallmentOptions))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -2226,7 +2226,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.InstallmentOption,
|
||||
ListFormCode = AppCodes.Orders.InstallmentOptions,
|
||||
Name = AppCodes.Orders.InstallmentOptions,
|
||||
Title = AppCodes.Orders.InstallmentOptions,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2339,7 +2339,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Purchase Orders
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PurchaseOrder))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Orders.PurchaseOrders))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -2349,7 +2349,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PurchaseOrder,
|
||||
ListFormCode = AppCodes.Orders.PurchaseOrders,
|
||||
Name = AppCodes.Orders.PurchaseOrders,
|
||||
Title = AppCodes.Orders.PurchaseOrders,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2778,7 +2778,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region BlogCategory
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.BlogCategory))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.BlogManagement.BlogCategory))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -2788,7 +2788,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.BlogCategory,
|
||||
ListFormCode = AppCodes.BlogManagement.BlogCategory,
|
||||
Name = AppCodes.BlogManagement.BlogCategory,
|
||||
Title = AppCodes.BlogManagement.BlogCategory,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2962,7 +2962,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region BlogPost
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.BlogPost))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.BlogManagement.BlogPosts))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -2972,7 +2972,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.BlogPost,
|
||||
ListFormCode = AppCodes.BlogManagement.BlogPosts,
|
||||
Name = AppCodes.BlogManagement.BlogPosts,
|
||||
Title = AppCodes.BlogManagement.BlogPosts,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3285,7 +3285,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Demos
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Demo))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Demos))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -3295,7 +3295,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Demo,
|
||||
ListFormCode = AppCodes.Demos,
|
||||
Name = AppCodes.Demos,
|
||||
Title = AppCodes.Demos,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3496,7 +3496,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Contact
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Contact))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Contact))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -3506,7 +3506,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Contact,
|
||||
ListFormCode = AppCodes.Contact,
|
||||
Name = AppCodes.Contact,
|
||||
Title = AppCodes.Contact,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3707,7 +3707,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region WorkHour
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.WorkHour))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.WorkHour))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3717,7 +3717,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.WorkHour,
|
||||
ListFormCode = AppCodes.Definitions.WorkHour,
|
||||
Name = AppCodes.Definitions.WorkHour,
|
||||
Title = AppCodes.Definitions.WorkHour,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3950,7 +3950,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Sector
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Sector))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Sector))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3960,7 +3960,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Sector,
|
||||
ListFormCode = AppCodes.Definitions.Sector,
|
||||
Name = AppCodes.Definitions.Sector,
|
||||
Title = AppCodes.Definitions.Sector,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4039,7 +4039,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region SkillType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SkillType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.SkillType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -4049,7 +4049,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SkillType,
|
||||
ListFormCode = AppCodes.Definitions.SkillType,
|
||||
Name = AppCodes.Definitions.SkillType,
|
||||
Title = AppCodes.Definitions.SkillType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4090,7 +4090,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Definitions.Skill,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.SkillType)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Definitions.SkillType)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -4134,7 +4134,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Skill Level
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SkillLevel))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.SkillLevel))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4144,7 +4144,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SkillLevel,
|
||||
ListFormCode = AppCodes.Definitions.SkillLevel,
|
||||
Name = AppCodes.Definitions.SkillLevel,
|
||||
Title = AppCodes.Definitions.SkillLevel,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4257,7 +4257,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Skill
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Skill))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Skill))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4267,7 +4267,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Skill,
|
||||
ListFormCode = AppCodes.Definitions.Skill,
|
||||
Name = AppCodes.Definitions.Skill,
|
||||
Title = AppCodes.Definitions.Skill,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4346,12 +4346,12 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.SkillType,
|
||||
AppCodes.Definitions.SkillType,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Skill Levels",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.SkillLevel,
|
||||
Code = AppCodes.Definitions.SkillLevel,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -4363,7 +4363,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
new {
|
||||
TabTitle = "Skills",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.Skill,
|
||||
Code = AppCodes.Definitions.Skill,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -4376,7 +4376,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
);
|
||||
|
||||
#region UomCategory
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.UomCategory))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.UomCategory))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -4386,7 +4386,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.UomCategory,
|
||||
ListFormCode = AppCodes.Definitions.UomCategory,
|
||||
Name = AppCodes.Definitions.UomCategory,
|
||||
Title = AppCodes.Definitions.UomCategory,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4427,7 +4427,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Definitions.Uom,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.UomCategory)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Definitions.UomCategory)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -4471,7 +4471,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Uom
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Uom))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Uom))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4481,7 +4481,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Uom,
|
||||
ListFormCode = AppCodes.Definitions.Uom,
|
||||
Name = AppCodes.Definitions.Uom,
|
||||
Title = AppCodes.Definitions.Uom,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4652,12 +4652,12 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.UomCategory,
|
||||
AppCodes.Definitions.UomCategory,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Uoms",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.Uom,
|
||||
Code = AppCodes.Definitions.Uom,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -4670,7 +4670,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
);
|
||||
|
||||
#region Behavior
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Behavior))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Behavior))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4680,7 +4680,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Behavior,
|
||||
ListFormCode = AppCodes.Definitions.Behavior,
|
||||
Name = AppCodes.Definitions.Behavior,
|
||||
Title = AppCodes.Definitions.Behavior,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4756,7 +4756,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Disease
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Disease))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Disease))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4766,7 +4766,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Disease,
|
||||
ListFormCode = AppCodes.Definitions.Disease,
|
||||
Name = AppCodes.Definitions.Disease,
|
||||
Title = AppCodes.Definitions.Disease,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4844,7 +4844,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Document
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Document))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Document))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4854,7 +4854,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Document,
|
||||
ListFormCode = AppCodes.Definitions.Document,
|
||||
Name = AppCodes.Definitions.Document,
|
||||
Title = AppCodes.Definitions.Document,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4929,7 +4929,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region EducationStatus
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.EducationStatus))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.EducationStatus))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4939,7 +4939,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.EducationStatus,
|
||||
ListFormCode = AppCodes.Definitions.EducationStatus,
|
||||
Name = AppCodes.Definitions.EducationStatus,
|
||||
Title = AppCodes.Definitions.EducationStatus,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -5032,7 +5032,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Vaccine
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Vaccine))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Vaccine))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -5042,7 +5042,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Vaccine,
|
||||
ListFormCode = AppCodes.Definitions.Vaccine,
|
||||
Name = AppCodes.Definitions.Vaccine,
|
||||
Title = AppCodes.Definitions.Vaccine,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -5118,7 +5118,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Vehicle
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Vehicle))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Vehicle))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -5128,7 +5128,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Vehicle,
|
||||
ListFormCode = AppCodes.Definitions.Vehicle,
|
||||
Name = AppCodes.Definitions.Vehicle,
|
||||
Title = AppCodes.Definitions.Vehicle,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -5391,7 +5391,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Psychologist
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Psychologist))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Psychologist))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -5401,7 +5401,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Psychologist,
|
||||
ListFormCode = AppCodes.Definitions.Psychologist,
|
||||
Name = AppCodes.Definitions.Psychologist,
|
||||
Title = AppCodes.Definitions.Psychologist,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -5567,7 +5567,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
#endregion
|
||||
|
||||
#region Lawyer
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Lawyer))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Lawyer))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -5577,7 +5577,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Lawyer,
|
||||
ListFormCode = AppCodes.Definitions.Lawyer,
|
||||
Name = AppCodes.Definitions.Lawyer,
|
||||
Title = AppCodes.Definitions.Lawyer,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region Program
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Program))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Program))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -56,7 +56,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Program,
|
||||
ListFormCode = AppCodes.Definitions.Program,
|
||||
Name = AppCodes.Definitions.Program,
|
||||
Title = AppCodes.Definitions.Program,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -160,7 +160,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Schedule
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Schedule))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Schedule))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -170,7 +170,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Schedule,
|
||||
ListFormCode = AppCodes.Definitions.Schedule,
|
||||
Name = AppCodes.Definitions.Schedule,
|
||||
Title = AppCodes.Definitions.Schedule,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -554,7 +554,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region RegistrationType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.RegistrationType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.RegistrationType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -564,7 +564,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.RegistrationType,
|
||||
ListFormCode = AppCodes.Definitions.RegistrationType,
|
||||
Name = AppCodes.Definitions.RegistrationType,
|
||||
Title = AppCodes.Definitions.RegistrationType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -700,7 +700,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region RegistrationMethod
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.RegistrationMethod))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.RegistrationMethod))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -710,7 +710,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.RegistrationMethod,
|
||||
ListFormCode = AppCodes.Definitions.RegistrationMethod,
|
||||
Name = AppCodes.Definitions.RegistrationMethod,
|
||||
Title = AppCodes.Definitions.RegistrationMethod,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -873,7 +873,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region ClassType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ClassType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.ClassType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -883,7 +883,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ClassType,
|
||||
ListFormCode = AppCodes.Definitions.ClassType,
|
||||
Name = AppCodes.Definitions.ClassType,
|
||||
Title = AppCodes.Definitions.ClassType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1081,7 +1081,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Class
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Class))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Class))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1091,7 +1091,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Class,
|
||||
ListFormCode = AppCodes.Definitions.Class,
|
||||
Name = AppCodes.Definitions.Class,
|
||||
Title = AppCodes.Definitions.Class,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1254,7 +1254,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Level
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Level))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Level))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1264,7 +1264,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Level,
|
||||
ListFormCode = AppCodes.Definitions.Level,
|
||||
Name = AppCodes.Definitions.Level,
|
||||
Title = AppCodes.Definitions.Level,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1288,7 +1288,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.Level)),
|
||||
DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson,
|
||||
PagerOptionJson = DefaultPagerOptionJson,
|
||||
EditingOptionJson = DefaultEditingOptionJson(ListFormCodes.Lists.Level, 650, 450, true, true, true, true, false),
|
||||
EditingOptionJson = DefaultEditingOptionJson(AppCodes.Definitions.Level, 650, 450, true, true, true, true, false),
|
||||
EditingFormJson = JsonSerializer.Serialize(new List<EditingFormDto>()
|
||||
{
|
||||
new() {
|
||||
|
|
@ -1526,7 +1526,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region ClassCancellationReason
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ClassCancellationReason))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.ClassCancellationReason))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1536,7 +1536,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ClassCancellationReason,
|
||||
ListFormCode = AppCodes.Definitions.ClassCancellationReason,
|
||||
Name = AppCodes.Definitions.ClassCancellationReason,
|
||||
Title = AppCodes.Definitions.ClassCancellationReason,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1640,7 +1640,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region LessonPeriod
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.LessonPeriod))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.LessonPeriod))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1650,7 +1650,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.LessonPeriod,
|
||||
ListFormCode = AppCodes.Definitions.LessonPeriod,
|
||||
Name = AppCodes.Definitions.LessonPeriod,
|
||||
Title = AppCodes.Definitions.LessonPeriod,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1879,7 +1879,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region QuestionTag
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.QuestionTag))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.QuestionTag))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1889,7 +1889,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.QuestionTag,
|
||||
ListFormCode = AppCodes.Definitions.QuestionTag,
|
||||
Name = AppCodes.Definitions.QuestionTag,
|
||||
Title = AppCodes.Definitions.QuestionTag,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1999,7 +1999,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Question Pool
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.QuestionPool))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.QuestionPool))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2009,7 +2009,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.QuestionPool,
|
||||
ListFormCode = AppCodes.Definitions.QuestionPool,
|
||||
Name = AppCodes.Definitions.QuestionPool,
|
||||
Title = AppCodes.Definitions.QuestionPool,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2049,7 +2049,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
Text ="Questions",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Definitions.Question,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.QuestionPool)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Definitions.QuestionPool)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -2129,7 +2129,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Question
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Question))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Question))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2139,7 +2139,7 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Question,
|
||||
ListFormCode = AppCodes.Definitions.Question,
|
||||
Name = AppCodes.Definitions.Question,
|
||||
Title = AppCodes.Definitions.Question,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2413,12 +2413,12 @@ public class ListFormSeeder_Coordinator : IDataSeedContributor, ITransientDepend
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.QuestionPool,
|
||||
AppCodes.Definitions.QuestionPool,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Questions",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.Question,
|
||||
Code = AppCodes.Definitions.Question,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region Customer Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.CustomerType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Crm.CustomerType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -56,7 +56,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.CustomerType,
|
||||
ListFormCode = AppCodes.Crm.CustomerType,
|
||||
Name = AppCodes.Crm.CustomerType,
|
||||
Title = AppCodes.Crm.CustomerType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -167,7 +167,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Customer Segment
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.CustomerSegment))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Crm.CustomerSegment))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -177,7 +177,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.CustomerSegment,
|
||||
ListFormCode = AppCodes.Crm.CustomerSegment,
|
||||
Name = AppCodes.Crm.CustomerSegment,
|
||||
Title = AppCodes.Crm.CustomerSegment,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -288,7 +288,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Customer
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Customer))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Crm.Customer))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(new ListForm()
|
||||
{
|
||||
|
|
@ -297,7 +297,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Customer,
|
||||
ListFormCode = AppCodes.Crm.Customer,
|
||||
Name = AppCodes.Crm.Customer,
|
||||
Title = AppCodes.Crm.Customer,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -388,7 +388,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Crm.Customer,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Customer)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Crm.Customer)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -941,7 +941,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Loss Reason
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.LossReason))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Crm.LossReason))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -951,7 +951,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.LossReason,
|
||||
ListFormCode = AppCodes.Crm.LossReason,
|
||||
Name = AppCodes.Crm.LossReason,
|
||||
Title = AppCodes.Crm.LossReason,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1110,7 +1110,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Opportunity
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Opportunity))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Crm.Opportunity))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1120,7 +1120,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Opportunity,
|
||||
ListFormCode = AppCodes.Crm.Opportunity,
|
||||
Name = AppCodes.Crm.Opportunity,
|
||||
Title = AppCodes.Crm.Opportunity,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1180,7 +1180,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Crm.Opportunity,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Opportunity)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Crm.Opportunity)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -1495,7 +1495,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Activity
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.OpportunityActivity))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Crm.OpportunityActivity))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1505,7 +1505,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.OpportunityActivity,
|
||||
ListFormCode = AppCodes.Crm.OpportunityActivity,
|
||||
Name = AppCodes.Crm.OpportunityActivity,
|
||||
Title = AppCodes.Crm.OpportunityActivity,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1779,7 +1779,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Competitor
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.OpportunityCompetitor))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Crm.OpportunityCompetitor))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1789,7 +1789,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.OpportunityCompetitor,
|
||||
ListFormCode = AppCodes.Crm.OpportunityCompetitor,
|
||||
Name = AppCodes.Crm.OpportunityCompetitor,
|
||||
Title = AppCodes.Crm.OpportunityCompetitor,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1932,12 +1932,12 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Opportunity,
|
||||
AppCodes.Crm.Opportunity,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Activity",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.OpportunityActivity,
|
||||
Code = AppCodes.Crm.OpportunityActivity,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -1949,7 +1949,7 @@ public class ListFormSeeder_Crm : IDataSeedContributor, ITransientDependency
|
|||
new {
|
||||
TabTitle = "Competitors",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.OpportunityCompetitor,
|
||||
Code = AppCodes.Crm.OpportunityCompetitor,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region EmploymentType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.EmploymentType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.EmploymentType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -57,7 +57,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.EmploymentType,
|
||||
ListFormCode = AppCodes.Hr.EmploymentType,
|
||||
Name = AppCodes.Hr.EmploymentType,
|
||||
Title = AppCodes.Hr.EmploymentType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -99,7 +99,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Personel Listesi",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Employee,
|
||||
Url="/admin/list/list-employees/@Id"
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id"
|
||||
},
|
||||
}),
|
||||
}
|
||||
|
|
@ -145,7 +145,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region JobPosition
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.JobPosition))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.JobPosition))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -155,7 +155,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.JobPosition,
|
||||
ListFormCode = AppCodes.Hr.JobPosition,
|
||||
Name = AppCodes.Hr.JobPosition,
|
||||
Title = AppCodes.Hr.JobPosition,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -208,7 +208,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Personel Listesi",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Employee,
|
||||
Url="/admin/list/list-employees/@Id"
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id"
|
||||
},
|
||||
}),
|
||||
}
|
||||
|
|
@ -442,7 +442,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Department
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Department))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Department))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -452,7 +452,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Department,
|
||||
ListFormCode = AppCodes.Hr.Department,
|
||||
Name = AppCodes.Hr.Department,
|
||||
Title = AppCodes.Hr.Department,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -502,7 +502,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Personel Listesi",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Employee,
|
||||
Url="/admin/list/list-employees/@Id"
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id"
|
||||
},
|
||||
}),
|
||||
}
|
||||
|
|
@ -660,7 +660,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Badge
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Badge))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Badge))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -670,7 +670,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Badge,
|
||||
ListFormCode = AppCodes.Hr.Badge,
|
||||
Name = AppCodes.Hr.Badge,
|
||||
Title = AppCodes.Hr.Badge,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -966,7 +966,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Cost Centers
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.CostCenter))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.CostCenter))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -976,7 +976,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.CostCenter,
|
||||
ListFormCode = AppCodes.Hr.CostCenter,
|
||||
Name = AppCodes.Hr.CostCenter,
|
||||
Title = AppCodes.Hr.CostCenter,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1260,7 +1260,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Employees
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Employee))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Employee))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1270,7 +1270,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Employee,
|
||||
ListFormCode = AppCodes.Hr.Employee,
|
||||
Name = AppCodes.Hr.Employee,
|
||||
Title = AppCodes.Hr.Employee,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1989,7 +1989,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Leave
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Leave))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Leave))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1999,7 +1999,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Leave,
|
||||
ListFormCode = AppCodes.Hr.Leave,
|
||||
Name = AppCodes.Hr.Leave,
|
||||
Title = AppCodes.Hr.Leave,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2060,7 +2060,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Accept",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Leave + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Askıda'"
|
||||
},
|
||||
|
|
@ -2069,7 +2069,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Reject",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Leave + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Askıda'" },
|
||||
}),
|
||||
|
|
@ -2317,7 +2317,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Overtime
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Overtime))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Overtime))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2327,7 +2327,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Overtime,
|
||||
ListFormCode = AppCodes.Hr.Overtime,
|
||||
Name = AppCodes.Hr.Overtime,
|
||||
Title = AppCodes.Hr.Overtime,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2387,7 +2387,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Accept",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Overtime + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Askıda'"
|
||||
},
|
||||
|
|
@ -2396,7 +2396,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Reject",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Overtime + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Askıda'"
|
||||
},
|
||||
|
|
@ -2644,7 +2644,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Expense Request
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Expense))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Expense))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2654,7 +2654,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Expense,
|
||||
ListFormCode = AppCodes.Hr.Expense,
|
||||
Name = AppCodes.Hr.Expense,
|
||||
Title = AppCodes.Hr.Expense,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2706,7 +2706,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Accept",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Expense + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Askıda'"
|
||||
},
|
||||
|
|
@ -2715,7 +2715,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Reject",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Expense + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Askıda'"
|
||||
},
|
||||
|
|
@ -2929,7 +2929,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Payroll
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Payroll))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Payroll))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2939,7 +2939,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Payroll,
|
||||
ListFormCode = AppCodes.Hr.Payroll,
|
||||
Name = AppCodes.Hr.Payroll,
|
||||
Title = AppCodes.Hr.Payroll,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3011,7 +3011,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Ödeme & Kesinti",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Payroll + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
},
|
||||
new() {
|
||||
|
|
@ -3019,7 +3019,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Accept",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Payroll + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Taslak'"
|
||||
},
|
||||
|
|
@ -3028,7 +3028,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Reject",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Payroll + ".Update",
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
VisibleExpression="(e) => e.row.data.Status === 'Taslak'"
|
||||
},
|
||||
|
|
@ -3294,7 +3294,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Template 360
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Payroll))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Template360))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3304,7 +3304,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Template360,
|
||||
ListFormCode = AppCodes.Hr.Template360,
|
||||
Name = AppCodes.Hr.Template360,
|
||||
Title = AppCodes.Hr.Template360,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3443,7 +3443,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Performans 360
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Performance360))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Performance360))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3453,7 +3453,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Performance360,
|
||||
ListFormCode = AppCodes.Hr.Performance360,
|
||||
Name = AppCodes.Hr.Performance360,
|
||||
Title = AppCodes.Hr.Performance360,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3674,7 +3674,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Trainings
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Training))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Training))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3684,7 +3684,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Training,
|
||||
ListFormCode = AppCodes.Hr.Training,
|
||||
Name = AppCodes.Hr.Training,
|
||||
Title = AppCodes.Hr.Training,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4006,7 +4006,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Survey
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Survey))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.Survey))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4016,7 +4016,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Survey,
|
||||
ListFormCode = AppCodes.Hr.Survey,
|
||||
Name = AppCodes.Hr.Survey,
|
||||
Title = AppCodes.Hr.Survey,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4064,7 +4064,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Survey,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Survey)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Hr.Survey)}/@Id",
|
||||
IsVisible=true,
|
||||
}
|
||||
}),
|
||||
|
|
@ -4184,7 +4184,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Survey Question
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SurveyQuestion))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.SurveyQuestion))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4194,7 +4194,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SurveyQuestion,
|
||||
ListFormCode = AppCodes.Hr.SurveyQuestion,
|
||||
Name = AppCodes.Hr.SurveyQuestion,
|
||||
Title = AppCodes.Hr.SurveyQuestion,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4240,7 +4240,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Options",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.Survey,
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -4346,7 +4346,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Survey Response
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SurveyResponse))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Hr.SurveyResponse))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -4356,7 +4356,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SurveyResponse,
|
||||
ListFormCode = AppCodes.Hr.SurveyResponse,
|
||||
Name = AppCodes.Hr.SurveyResponse,
|
||||
Title = AppCodes.Hr.SurveyResponse,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4397,7 +4397,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
Text ="Answers",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Hr.SurveyResponse,
|
||||
Url="/admin/list/list-employees/@Id",
|
||||
Url=$"/admin/list/{AppCodes.Hr.Employee}/@Id",
|
||||
IsVisible=true
|
||||
},
|
||||
}),
|
||||
|
|
@ -4478,12 +4478,12 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Survey,
|
||||
AppCodes.Hr.Survey,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Questions",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.SurveyQuestion,
|
||||
Code = AppCodes.Hr.SurveyQuestion,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -4495,7 +4495,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
new {
|
||||
TabTitle = "Responses",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.SurveyResponse,
|
||||
Code = AppCodes.Hr.SurveyResponse,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region EventType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.EventType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.EventType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -56,7 +56,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.EventType,
|
||||
ListFormCode = AppCodes.Intranet.EventType,
|
||||
Name = AppCodes.Intranet.EventType,
|
||||
Title = AppCodes.Intranet.EventType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -131,7 +131,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region EventCategory
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.EventCategory))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.EventCategory))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -141,7 +141,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.EventCategory,
|
||||
ListFormCode = AppCodes.Intranet.EventCategory,
|
||||
Name = AppCodes.Intranet.EventCategory,
|
||||
Title = AppCodes.Intranet.EventCategory,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -216,7 +216,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Event
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Event))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.Event))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -226,7 +226,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Event,
|
||||
ListFormCode = AppCodes.Intranet.Event,
|
||||
Name = AppCodes.Intranet.Event,
|
||||
Title = AppCodes.Intranet.Event,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -464,7 +464,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Meal
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Meal))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.Meal))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -474,7 +474,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Meal,
|
||||
ListFormCode = AppCodes.Intranet.Meal,
|
||||
Name = AppCodes.Intranet.Meal,
|
||||
Title = AppCodes.Intranet.Meal,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -653,7 +653,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Reservations
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Reservation))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.Reservation))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -663,7 +663,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Reservation,
|
||||
ListFormCode = AppCodes.Intranet.Reservation,
|
||||
Name = AppCodes.Intranet.Reservation,
|
||||
Title = AppCodes.Intranet.Reservation,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -902,7 +902,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Shuttle Routes
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ShuttleRoute))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.ShuttleRoute))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -912,7 +912,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ShuttleRoute,
|
||||
ListFormCode = AppCodes.Intranet.ShuttleRoute,
|
||||
Name = AppCodes.Intranet.ShuttleRoute,
|
||||
Title = AppCodes.Intranet.ShuttleRoute,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1128,7 +1128,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Announncements
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Announcement))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.Announcement))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1138,7 +1138,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Announcement,
|
||||
ListFormCode = AppCodes.Intranet.Announcement,
|
||||
Name = AppCodes.Intranet.Announcement,
|
||||
Title = AppCodes.Intranet.Announcement,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1398,7 +1398,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Visitors
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Visitor))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.Visitor))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1408,7 +1408,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Visitor,
|
||||
ListFormCode = AppCodes.Intranet.Visitor,
|
||||
Name = AppCodes.Intranet.Visitor,
|
||||
Title = AppCodes.Intranet.Visitor,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1652,7 +1652,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Social Post
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SocialPost))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.SocialPost))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1662,7 +1662,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SocialPost,
|
||||
ListFormCode = AppCodes.Intranet.SocialPost,
|
||||
Name = AppCodes.Intranet.SocialPost,
|
||||
Title = AppCodes.Intranet.SocialPost,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1705,7 +1705,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
Text ="Comments",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Intranet.SocialComment,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.SocialComment)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Intranet.SocialComment)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -1820,7 +1820,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
#endregion
|
||||
|
||||
#region Social Comment
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SocialComment))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Intranet.SocialComment))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1830,7 +1830,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SocialComment,
|
||||
ListFormCode = AppCodes.Intranet.SocialComment,
|
||||
Name = AppCodes.Intranet.SocialComment,
|
||||
Title = AppCodes.Intranet.SocialComment,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region Workcenter Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.WorkcenterType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.WorkcenterType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -56,7 +56,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.WorkcenterType,
|
||||
ListFormCode = AppCodes.Maintenance.WorkcenterType,
|
||||
Name = AppCodes.Maintenance.WorkcenterType,
|
||||
Title = AppCodes.Maintenance.WorkcenterType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -168,7 +168,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Workcenter Status
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.WorkcenterStatus))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.WorkcenterStatus))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -178,7 +178,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.WorkcenterStatus,
|
||||
ListFormCode = AppCodes.Maintenance.WorkcenterStatus,
|
||||
Name = AppCodes.Maintenance.WorkcenterStatus,
|
||||
Title = AppCodes.Maintenance.WorkcenterStatus,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -290,7 +290,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Workcenter
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Workcenter))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.Workcenter))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -300,7 +300,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Workcenter,
|
||||
ListFormCode = AppCodes.Maintenance.Workcenter,
|
||||
Name = AppCodes.Maintenance.Workcenter,
|
||||
Title = AppCodes.Maintenance.Workcenter,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -661,7 +661,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Maintenance Plan
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Plan))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.Plan))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -671,7 +671,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Plan,
|
||||
ListFormCode = AppCodes.Maintenance.Plan,
|
||||
Name = AppCodes.Maintenance.Plan,
|
||||
Title = AppCodes.Maintenance.Plan,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -734,7 +734,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Maintenance.Plan,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Plan)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Maintenance.Plan)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
new() {
|
||||
|
|
@ -742,7 +742,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
Text ="Work Order",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Maintenance.Plan,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Plan)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Maintenance.Plan)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -1009,7 +1009,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Maintenance Plan Material
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PlanMaterial))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.PlanMaterial))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1019,7 +1019,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PlanMaterial,
|
||||
ListFormCode = AppCodes.Maintenance.PlanMaterial,
|
||||
Name = AppCodes.Maintenance.PlanMaterial,
|
||||
Title = AppCodes.Maintenance.PlanMaterial,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1115,7 +1115,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Maintenance Plan Employee
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PlanEmployee))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.PlanEmployee))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1125,7 +1125,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PlanEmployee,
|
||||
ListFormCode = AppCodes.Maintenance.PlanEmployee,
|
||||
Name = AppCodes.Maintenance.PlanEmployee,
|
||||
Title = AppCodes.Maintenance.PlanEmployee,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1253,12 +1253,12 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Plan,
|
||||
AppCodes.Maintenance.Plan,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Materials",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PlanMaterial,
|
||||
Code = AppCodes.Maintenance.PlanMaterial,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -1270,7 +1270,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
new {
|
||||
TabTitle = "Employees",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PlanEmployee,
|
||||
Code = AppCodes.Maintenance.PlanEmployee,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -1283,7 +1283,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
);
|
||||
|
||||
#region Fault
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Fault))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.Fault))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1293,7 +1293,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Fault,
|
||||
ListFormCode = AppCodes.Maintenance.Fault,
|
||||
Name = AppCodes.Maintenance.Fault,
|
||||
Title = AppCodes.Maintenance.Fault,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1581,7 +1581,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Fault Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.FaultType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.FaultType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1591,7 +1591,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.FaultType,
|
||||
ListFormCode = AppCodes.Maintenance.FaultType,
|
||||
Name = AppCodes.Maintenance.FaultType,
|
||||
Title = AppCodes.Maintenance.FaultType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1703,7 +1703,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Fault Status
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.FaultStatus))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.FaultStatus))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1713,7 +1713,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.FaultStatus,
|
||||
ListFormCode = AppCodes.Maintenance.FaultStatus,
|
||||
Name = AppCodes.Maintenance.FaultStatus,
|
||||
Title = AppCodes.Maintenance.FaultStatus,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1825,7 +1825,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Workorder Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.WorkorderType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.WorkorderType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1835,7 +1835,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.WorkorderType,
|
||||
ListFormCode = AppCodes.Maintenance.WorkorderType,
|
||||
Name = AppCodes.Maintenance.WorkorderType,
|
||||
Title = AppCodes.Maintenance.WorkorderType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1947,7 +1947,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Workorder Status
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.WorkorderStatus))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.WorkorderStatus))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1957,7 +1957,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.WorkorderStatus,
|
||||
ListFormCode = AppCodes.Maintenance.WorkorderStatus,
|
||||
Name = AppCodes.Maintenance.WorkorderStatus,
|
||||
Title = AppCodes.Maintenance.WorkorderStatus,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2069,7 +2069,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Workorder
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Workorder))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Maintenance.Workorder))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2079,7 +2079,7 @@ public class ListFormSeeder_Maintenance : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Workorder,
|
||||
ListFormCode = AppCodes.Maintenance.Workorder,
|
||||
Name = AppCodes.Maintenance.Workorder,
|
||||
Title = AppCodes.Maintenance.Workorder,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency
|
|||
public async Task SeedAsync(DataSeedContext context)
|
||||
{
|
||||
// #region Material Type
|
||||
// if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.MaterialType))
|
||||
// if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.MaterialType))
|
||||
// {
|
||||
// var listFormMaterialType = await _listFormRepository.InsertAsync(
|
||||
// new ListForm()
|
||||
|
|
@ -55,7 +55,7 @@ public class ListFormSeeder_Mrp : IDataSeedContributor, ITransientDependency
|
|||
// IsSubForm = false,
|
||||
// LayoutJson = DefaultLayoutJson,
|
||||
// CultureName = LanguageCodes.En,
|
||||
// ListFormCode = ListFormCodes.Lists.MaterialType,
|
||||
// ListFormCode = AppCodes.SupplyChain.MaterialType,
|
||||
// Name = AppCodes.SupplyChain.MaterialType,
|
||||
// Title = AppCodes.SupplyChain.MaterialType,
|
||||
// DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
public async Task SeedAsync(DataSeedContext context)
|
||||
{
|
||||
#region MeetingMethod
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.MeetingMethod))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.MeetingMethod))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -54,7 +54,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.MeetingMethod,
|
||||
ListFormCode = AppCodes.Definitions.MeetingMethod,
|
||||
Name = AppCodes.Definitions.MeetingMethod,
|
||||
Title = AppCodes.Definitions.MeetingMethod,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -187,7 +187,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region MeetingResult
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.MeetingResult))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.MeetingResult))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -197,7 +197,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.MeetingResult,
|
||||
ListFormCode = AppCodes.Definitions.MeetingResult,
|
||||
Name = AppCodes.Definitions.MeetingResult,
|
||||
Title = AppCodes.Definitions.MeetingResult,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -319,7 +319,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Source
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Source))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Source))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -329,7 +329,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Source,
|
||||
ListFormCode = AppCodes.Definitions.Source,
|
||||
Name = AppCodes.Definitions.Source,
|
||||
Title = AppCodes.Definitions.Source,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -433,7 +433,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Interesting
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Interesting))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Interesting))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -443,7 +443,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Interesting,
|
||||
ListFormCode = AppCodes.Definitions.Interesting,
|
||||
Name = AppCodes.Definitions.Interesting,
|
||||
Title = AppCodes.Definitions.Interesting,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -547,7 +547,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region SalesRejectionReason
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SalesRejectionReason))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.SalesRejectionReason))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -557,7 +557,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SalesRejectionReason,
|
||||
ListFormCode = AppCodes.Definitions.SalesRejectionReason,
|
||||
Name = AppCodes.Definitions.SalesRejectionReason,
|
||||
Title = AppCodes.Definitions.SalesRejectionReason,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -693,7 +693,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region NoteType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.NoteType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.NoteType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -703,7 +703,7 @@ public class ListFormSeeder_Participant : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.NoteType,
|
||||
ListFormCode = AppCodes.Definitions.NoteType,
|
||||
Name = AppCodes.Definitions.NoteType,
|
||||
Title = AppCodes.Definitions.NoteType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency
|
|||
public async Task SeedAsync(DataSeedContext context)
|
||||
{
|
||||
// #region Material Type
|
||||
// if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.MaterialType))
|
||||
// if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.MaterialType))
|
||||
// {
|
||||
// var listFormMaterialType = await _listFormRepository.InsertAsync(
|
||||
// new ListForm()
|
||||
|
|
@ -55,7 +55,7 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency
|
|||
// IsSubForm = false,
|
||||
// LayoutJson = DefaultLayoutJson,
|
||||
// CultureName = LanguageCodes.En,
|
||||
// ListFormCode = ListFormCodes.Lists.MaterialType,
|
||||
// ListFormCode = AppCodes.SupplyChain.MaterialType,
|
||||
// Name = AppCodes.SupplyChain.MaterialType,
|
||||
// Title = AppCodes.SupplyChain.MaterialType,
|
||||
// DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region Tenant
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Tenant))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == TenantManagementPermissions.Tenants.Default))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -59,7 +59,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Tenant,
|
||||
ListFormCode = TenantManagementPermissions.Tenants.Default,
|
||||
Name = TenantManagementPermissions.Tenants.Default,
|
||||
Title = TenantManagementPermissions.Tenants.Default,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -124,7 +124,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
Hint = "Branches",
|
||||
Text = "Branches",
|
||||
AuthName = AppCodes.Branches,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Tenant)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(TenantManagementPermissions.Tenants.Default)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -521,7 +521,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Branches
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Branch))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Branches))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -531,7 +531,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Branch,
|
||||
ListFormCode = AppCodes.Branches,
|
||||
Name = AppCodes.Branches,
|
||||
Title = AppCodes.Branches,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -965,12 +965,12 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Tenant,
|
||||
TenantManagementPermissions.Tenants.Default,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Branches",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.Branch,
|
||||
Code = AppCodes.Branches,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -983,7 +983,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
);
|
||||
|
||||
#region SettingDefinition
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SettingDefinition))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Settings.SettingDefinitions))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -993,7 +993,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SettingDefinition,
|
||||
ListFormCode = AppCodes.Settings.SettingDefinitions,
|
||||
Name = AppCodes.Settings.SettingDefinitions,
|
||||
Title = AppCodes.Settings.SettingDefinitions,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1354,7 +1354,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Global Search
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.GlobalSearch))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Settings.GlobalSearch))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1364,7 +1364,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.GlobalSearch,
|
||||
ListFormCode = AppCodes.Settings.GlobalSearch,
|
||||
Name = AppCodes.Settings.GlobalSearch,
|
||||
Title = AppCodes.Settings.GlobalSearch,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1505,7 +1505,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Language
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Language))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Languages.Language))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1515,7 +1515,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Language,
|
||||
ListFormCode = AppCodes.Languages.Language,
|
||||
Name = AppCodes.Languages.Language,
|
||||
Title = AppCodes.Languages.Language,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1559,7 +1559,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.Languages.LanguageText,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Language)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.Languages.Language)}/@Id",
|
||||
IsVisible = true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -1654,7 +1654,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region LanguageText
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.LanguageText))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Languages.LanguageText))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1664,7 +1664,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.LanguageText,
|
||||
ListFormCode = AppCodes.Languages.LanguageText,
|
||||
Name = AppCodes.Languages.LanguageText,
|
||||
Title = AppCodes.Languages.LanguageText,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1817,12 +1817,12 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Language,
|
||||
AppCodes.Languages.Language,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Language Texts",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.LanguageText,
|
||||
Code = AppCodes.Languages.LanguageText,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "CultureName",
|
||||
|
|
@ -1835,7 +1835,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
);
|
||||
|
||||
#region Route
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Route))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Routes))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -1845,7 +1845,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Route,
|
||||
ListFormCode = AppCodes.Routes,
|
||||
Name = AppCodes.Routes,
|
||||
Title = AppCodes.Routes,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2008,7 +2008,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Menu
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Menu))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Menus.Menu))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2018,7 +2018,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Menu,
|
||||
ListFormCode = AppCodes.Menus.Menu,
|
||||
Name = AppCodes.Menus.Menu,
|
||||
Title = AppCodes.Menus.Menu,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2288,7 +2288,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Data Source
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.DataSource))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Listforms.DataSource))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2298,7 +2298,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.DataSource,
|
||||
ListFormCode = AppCodes.Listforms.DataSource,
|
||||
Name = AppCodes.Listforms.DataSource,
|
||||
Title = AppCodes.Listforms.DataSource,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2418,7 +2418,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region ListForm
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Listform))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Listforms.Listform))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2428,7 +2428,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Listform,
|
||||
ListFormCode = AppCodes.Listforms.Listform,
|
||||
Name = AppCodes.Listforms.Listform,
|
||||
Title = AppCodes.Listforms.Listform,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2888,7 +2888,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Notification Rule
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.NotificationRule))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Notifications.NotificationRules))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2898,7 +2898,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.NotificationRule,
|
||||
ListFormCode = AppCodes.Notifications.NotificationRules,
|
||||
Name = AppCodes.Notifications.NotificationRules,
|
||||
Title = AppCodes.Notifications.NotificationRules,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3118,7 +3118,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Notification
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Notification))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Notifications.Notification))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3128,7 +3128,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Notification,
|
||||
ListFormCode = AppCodes.Notifications.Notification,
|
||||
Name = AppCodes.Notifications.Notification,
|
||||
Title = AppCodes.Notifications.Notification,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3308,7 +3308,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Background Worker
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.BackgroundWorker))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.BackgroundWorkers))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3318,7 +3318,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.BackgroundWorker,
|
||||
ListFormCode = AppCodes.BackgroundWorkers,
|
||||
Name = AppCodes.BackgroundWorkers,
|
||||
Title = AppCodes.BackgroundWorkers,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3533,7 +3533,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region ContactTag
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ContactTag))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.ContactTag))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3543,7 +3543,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ContactTag,
|
||||
ListFormCode = AppCodes.Definitions.ContactTag,
|
||||
Name = AppCodes.Definitions.ContactTag,
|
||||
Title = AppCodes.Definitions.ContactTag,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3640,7 +3640,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region ContactTitle
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ContactTitle))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.ContactTitle))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3650,7 +3650,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ContactTitle,
|
||||
ListFormCode = AppCodes.Definitions.ContactTitle,
|
||||
Name = AppCodes.Definitions.ContactTitle,
|
||||
Title = AppCodes.Definitions.ContactTitle,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3747,7 +3747,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Currency
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Currency))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Currency))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -3757,7 +3757,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Currency,
|
||||
ListFormCode = AppCodes.Definitions.Currency,
|
||||
Name = AppCodes.Definitions.Currency,
|
||||
Title = AppCodes.Definitions.Currency,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3901,7 +3901,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region CountryGroup
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.CountryGroup))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.CountryGroup))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -3911,7 +3911,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.CountryGroup,
|
||||
ListFormCode = AppCodes.Definitions.CountryGroup,
|
||||
Name = AppCodes.Definitions.CountryGroup,
|
||||
Title = AppCodes.Definitions.CountryGroup,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3986,7 +3986,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region Country
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Country))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.Country))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -3996,7 +3996,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Country,
|
||||
ListFormCode = AppCodes.Definitions.Country,
|
||||
Name = AppCodes.Definitions.Country,
|
||||
Title = AppCodes.Definitions.Country,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4185,7 +4185,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region City
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.City))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.City))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -4195,7 +4195,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.City,
|
||||
ListFormCode = AppCodes.Definitions.City,
|
||||
Name = AppCodes.Definitions.City,
|
||||
Title = AppCodes.Definitions.City,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -4331,7 +4331,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
#endregion
|
||||
|
||||
#region District
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.District))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.Definitions.District))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm
|
||||
|
|
@ -4341,7 +4341,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.District,
|
||||
ListFormCode = AppCodes.Definitions.District,
|
||||
Name = AppCodes.Definitions.District,
|
||||
Title = AppCodes.Definitions.District,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
using var utils = new SeederUtils();
|
||||
|
||||
#region Material Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.MaterialType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.MaterialType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -56,7 +56,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.MaterialType,
|
||||
ListFormCode = AppCodes.SupplyChain.MaterialType,
|
||||
Name = AppCodes.SupplyChain.MaterialType,
|
||||
Title = AppCodes.SupplyChain.MaterialType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -185,7 +185,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Material Group
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.MaterialGroup))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.MaterialGroup))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -195,7 +195,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.MaterialGroup,
|
||||
ListFormCode = AppCodes.SupplyChain.MaterialGroup,
|
||||
Name = AppCodes.SupplyChain.MaterialGroup,
|
||||
Title = AppCodes.SupplyChain.MaterialGroup,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -362,7 +362,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Material
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Material))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.Material))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(new ListForm()
|
||||
{
|
||||
|
|
@ -371,7 +371,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Material,
|
||||
ListFormCode = AppCodes.SupplyChain.Material,
|
||||
Name = AppCodes.SupplyChain.Material,
|
||||
Title = AppCodes.SupplyChain.Material,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -675,7 +675,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Payment Terms
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PaymentTerm))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.PaymentTerm))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -685,7 +685,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PaymentTerm,
|
||||
ListFormCode = AppCodes.SupplyChain.PaymentTerm,
|
||||
Name = AppCodes.SupplyChain.PaymentTerm,
|
||||
Title = AppCodes.SupplyChain.PaymentTerm,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -798,7 +798,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Supply Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SupplyType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.SupplyType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -808,7 +808,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SupplyType,
|
||||
ListFormCode = AppCodes.SupplyChain.SupplyType,
|
||||
Name = AppCodes.SupplyChain.SupplyType,
|
||||
Title = AppCodes.SupplyChain.SupplyType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -921,7 +921,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Supply Card Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SupplyCardType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.SupplyCardType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -931,7 +931,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.SupplyCardType,
|
||||
ListFormCode = AppCodes.SupplyChain.SupplyCardType,
|
||||
Name = AppCodes.SupplyChain.SupplyCardType,
|
||||
Title = AppCodes.SupplyChain.SupplyCardType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1044,7 +1044,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Supplier
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Supply))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.Supply))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1054,7 +1054,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Supply,
|
||||
ListFormCode = AppCodes.SupplyChain.Supply,
|
||||
Name = AppCodes.SupplyChain.Supply,
|
||||
Title = AppCodes.SupplyChain.Supply,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -1145,7 +1145,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.SupplyChain.Supply,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Supply)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.SupplyChain.Supply)}/@Id",
|
||||
IsVisible=true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -1695,7 +1695,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Supplier Bank
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PartnerBank))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.PartnerBank))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -1705,7 +1705,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PartnerBank,
|
||||
ListFormCode = AppCodes.SupplyChain.PartnerBank,
|
||||
Name = AppCodes.SupplyChain.PartnerBank,
|
||||
Title = AppCodes.SupplyChain.PartnerBank,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2003,7 +2003,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Supplier Certificate
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PartnerCertificate))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.PartnerCertificate))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2013,7 +2013,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PartnerCertificate,
|
||||
ListFormCode = AppCodes.SupplyChain.PartnerCertificate,
|
||||
Name = AppCodes.SupplyChain.PartnerCertificate,
|
||||
Title = AppCodes.SupplyChain.PartnerCertificate,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2140,7 +2140,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Supplier Contact
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.PartnerContact))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.PartnerContact))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2150,7 +2150,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.PartnerContact,
|
||||
ListFormCode = AppCodes.SupplyChain.PartnerContact,
|
||||
Name = AppCodes.SupplyChain.PartnerContact,
|
||||
Title = AppCodes.SupplyChain.PartnerContact,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2350,12 +2350,12 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Supply,
|
||||
AppCodes.SupplyChain.Supply,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Banks",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PartnerBank,
|
||||
Code = AppCodes.SupplyChain.PartnerBank,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -2367,7 +2367,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
new {
|
||||
TabTitle = "Certificates",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PartnerCertificate,
|
||||
Code = AppCodes.SupplyChain.PartnerCertificate,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -2379,7 +2379,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
new {
|
||||
TabTitle = "Contacts",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PartnerContact,
|
||||
Code = AppCodes.SupplyChain.PartnerContact,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -2395,12 +2395,12 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Customer,
|
||||
AppCodes.Crm.Customer,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Banks",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PartnerBank,
|
||||
Code = AppCodes.SupplyChain.PartnerBank,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -2412,7 +2412,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
new {
|
||||
TabTitle = "Certificates",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PartnerCertificate,
|
||||
Code = AppCodes.SupplyChain.PartnerCertificate,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -2424,7 +2424,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
new {
|
||||
TabTitle = "Contacts",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.PartnerContact,
|
||||
Code = AppCodes.SupplyChain.PartnerContact,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -2437,7 +2437,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
);
|
||||
|
||||
#region Approval
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Approval))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.Approval))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2447,7 +2447,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Approval,
|
||||
ListFormCode = AppCodes.SupplyChain.Approval,
|
||||
Name = AppCodes.SupplyChain.Approval,
|
||||
Title = AppCodes.SupplyChain.Approval,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2492,7 +2492,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.SupplyChain.Approval,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Approval)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.SupplyChain.Approval)}/@Id",
|
||||
IsVisible=true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -2605,7 +2605,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Approval Step
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.ApprovalStep))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.ApprovalStep))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2615,7 +2615,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ApprovalStep,
|
||||
ListFormCode = AppCodes.SupplyChain.ApprovalStep,
|
||||
Name = AppCodes.SupplyChain.ApprovalStep,
|
||||
Title = AppCodes.SupplyChain.ApprovalStep,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2765,12 +2765,12 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Approval,
|
||||
AppCodes.SupplyChain.Approval,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Steps",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.ApprovalStep,
|
||||
Code = AppCodes.SupplyChain.ApprovalStep,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
@ -2783,7 +2783,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
);
|
||||
|
||||
#region Request Type
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.RequestType))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.RequestType))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2793,7 +2793,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.RequestType,
|
||||
ListFormCode = AppCodes.SupplyChain.RequestType,
|
||||
Name = AppCodes.SupplyChain.RequestType,
|
||||
Title = AppCodes.SupplyChain.RequestType,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2906,7 +2906,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Purchase Request
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Request))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.Request))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -2916,7 +2916,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Request,
|
||||
ListFormCode = AppCodes.SupplyChain.Request,
|
||||
Name = AppCodes.SupplyChain.Request,
|
||||
Title = AppCodes.SupplyChain.Request,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -2973,7 +2973,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
Text ="Manage",
|
||||
UrlTarget="_blank",
|
||||
AuthName = AppCodes.SupplyChain.Request,
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(ListFormCodes.Lists.Request)}/@Id",
|
||||
Url=$"/admin/form/{utils.GetDefaultFormCodes(AppCodes.SupplyChain.Request)}/@Id",
|
||||
IsVisible=true,
|
||||
},
|
||||
}),
|
||||
|
|
@ -3173,7 +3173,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
#endregion
|
||||
|
||||
#region Purchase Request Item
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.RequestItem))
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.RequestItem))
|
||||
{
|
||||
var listForm = await _listFormRepository.InsertAsync(
|
||||
new ListForm()
|
||||
|
|
@ -3183,7 +3183,7 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
ShowNote = true,
|
||||
LayoutJson = DefaultLayoutJson,
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.RequestItem,
|
||||
ListFormCode = AppCodes.SupplyChain.RequestItem,
|
||||
Name = AppCodes.SupplyChain.RequestItem,
|
||||
Title = AppCodes.SupplyChain.RequestItem,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
@ -3371,12 +3371,12 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
|||
await utils.CloneListFormWithFieldsAsync(
|
||||
_listFormRepository,
|
||||
_listFormFieldRepository,
|
||||
ListFormCodes.Lists.Request,
|
||||
AppCodes.SupplyChain.Request,
|
||||
JsonSerializer.Serialize(new List<dynamic>() {
|
||||
new {
|
||||
TabTitle = "Malzemeler",
|
||||
TabType = ListFormTabTypeEnum.List,
|
||||
Code = ListFormCodes.Lists.RequestItem,
|
||||
Code = AppCodes.SupplyChain.RequestItem,
|
||||
Relation = new List<dynamic>() {
|
||||
new {
|
||||
ParentFieldName = "Id",
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen
|
|||
public async Task SeedAsync(DataSeedContext context)
|
||||
{
|
||||
// #region Material Type
|
||||
// if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.MaterialType))
|
||||
// if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == AppCodes.SupplyChain.MaterialType))
|
||||
// {
|
||||
// var listFormMaterialType = await _listFormRepository.InsertAsync(
|
||||
// new ListForm()
|
||||
|
|
@ -55,7 +55,7 @@ public class ListFormSeeder_Warehouse : IDataSeedContributor, ITransientDependen
|
|||
// IsSubForm = false,
|
||||
// LayoutJson = DefaultLayoutJson,
|
||||
// CultureName = LanguageCodes.En,
|
||||
// ListFormCode = ListFormCodes.Lists.MaterialType,
|
||||
// ListFormCode = AppCodes.SupplyChain.MaterialType,
|
||||
// Name = AppCodes.SupplyChain.MaterialType,
|
||||
// Title = AppCodes.SupplyChain.MaterialType,
|
||||
// DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
|
|
|
|||
|
|
@ -1050,7 +1050,7 @@
|
|||
"Code": "AbpTenantManagement.Tenants",
|
||||
"DisplayName": "AbpTenantManagement.Tenants",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-tenant",
|
||||
"Url": "/admin/list/AbpTenantManagement.Tenants",
|
||||
"Icon": "FcDepartment",
|
||||
"RequiredPermissionName": "AbpTenantManagement.Tenants",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1060,7 +1060,7 @@
|
|||
"Code": "App.Branches",
|
||||
"DisplayName": "App.Branches",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-branch",
|
||||
"Url": "/admin/list/App.Branches",
|
||||
"Icon": "FcTreeStructure",
|
||||
"RequiredPermissionName": "App.Branches",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1080,7 +1080,7 @@
|
|||
"Code": "App.Settings.SettingDefinitions",
|
||||
"DisplayName": "App.Settings.SettingDefinitions",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-settingdefinition",
|
||||
"Url": "/admin/list/App.Settings.SettingDefinitionsn",
|
||||
"Icon": "FcSupport",
|
||||
"RequiredPermissionName": "App.Settings.SettingDefinitions",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1090,7 +1090,7 @@
|
|||
"Code": "App.Settings.GlobalSearch",
|
||||
"DisplayName": "App.Settings.GlobalSearch",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-globalsearch",
|
||||
"Url": "/admin/list/App.Settings.GlobalSearch",
|
||||
"Icon": "FcSearch",
|
||||
"RequiredPermissionName": "App.Settings.GlobalSearch",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1110,7 +1110,7 @@
|
|||
"Code": "App.Languages.Language",
|
||||
"DisplayName": "App.Languages.Language",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-language",
|
||||
"Url": "/admin/list/App.Languages.Language",
|
||||
"Icon": "FcGraduationCap",
|
||||
"RequiredPermissionName": "App.Languages.Language",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1120,7 +1120,7 @@
|
|||
"Code": "App.Languages.LanguageText",
|
||||
"DisplayName": "App.Languages.LanguageText",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-languagetext",
|
||||
"Url": "/admin/list/App.Languages.LanguageText",
|
||||
"Icon": "FcMindMap",
|
||||
"RequiredPermissionName": "App.Languages.LanguageText",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1130,7 +1130,7 @@
|
|||
"Code": "App.Routes",
|
||||
"DisplayName": "App.Routes",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-route",
|
||||
"Url": "/admin/list/App.Routes",
|
||||
"Icon": "FaSynagogue",
|
||||
"RequiredPermissionName": "App.Routes",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1150,7 +1150,7 @@
|
|||
"Code": "App.Menus.Menu",
|
||||
"DisplayName": "App.Menus.Menu",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-menu",
|
||||
"Url": "/admin/list/App.Menus.Menu",
|
||||
"Icon": "FcMenu",
|
||||
"RequiredPermissionName": "App.Menus.Menu",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1180,7 +1180,7 @@
|
|||
"Code": "App.Listforms.DataSource",
|
||||
"DisplayName": "App.Listforms.DataSource",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-datasource",
|
||||
"Url": "/admin/list/App.Listforms.DataSource",
|
||||
"Icon": "FcAcceptDatabase",
|
||||
"RequiredPermissionName": "App.Listforms.DataSource",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1200,7 +1200,7 @@
|
|||
"Code": "App.Listforms.Listform",
|
||||
"DisplayName": "App.Listforms.Listform",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-listform",
|
||||
"Url": "/admin/list/App.Listforms.Listform",
|
||||
"Icon": "FcDataSheet",
|
||||
"RequiredPermissionName": "App.Listforms.Listform",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1220,7 +1220,7 @@
|
|||
"Code": "App.Notifications.NotificationRules",
|
||||
"DisplayName": "App.Notifications.NotificationRules",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-notificationrule",
|
||||
"Url": "/admin/list/App.Notifications.NotificationRules",
|
||||
"Icon": "FcLibrary",
|
||||
"RequiredPermissionName": "App.Notifications.NotificationRules",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1230,7 +1230,7 @@
|
|||
"Code": "App.Notifications.Notification",
|
||||
"DisplayName": "App.Notifications.Notification",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-notification",
|
||||
"Url": "/admin/list/App.Notifications.Notification",
|
||||
"Icon": "FcBrokenLink",
|
||||
"RequiredPermissionName": "App.Notifications.Notification",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1240,7 +1240,7 @@
|
|||
"Code": "App.BackgroundWorkers",
|
||||
"DisplayName": "App.BackgroundWorkers",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-backgroundworker",
|
||||
"Url": "/admin/list/App.BackgroundWorkers",
|
||||
"Icon": "FcScatterPlot",
|
||||
"RequiredPermissionName": "App.BackgroundWorkers",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1290,7 +1290,7 @@
|
|||
"Code": "App.Definitions.ContactTag",
|
||||
"DisplayName": "App.Definitions.ContactTag",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-contactTag",
|
||||
"Url": "/admin/list/App.Definitions.ContactTag",
|
||||
"Icon": "FcButtingIn",
|
||||
"RequiredPermissionName": "App.Definitions.ContactTag",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1300,7 +1300,7 @@
|
|||
"Code": "App.Definitions.ContactTitle",
|
||||
"DisplayName": "App.Definitions.ContactTitle",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-contactTitle",
|
||||
"Url": "/admin/list/App.Definitions.ContactTitle",
|
||||
"Icon": "FcNeutralDecision",
|
||||
"RequiredPermissionName": "App.Definitions.ContactTitle",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1310,7 +1310,7 @@
|
|||
"Code": "App.Definitions.Currency",
|
||||
"DisplayName": "App.Definitions.Currency",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-currency",
|
||||
"Url": "/admin/list/App.Definitions.Currency",
|
||||
"Icon": "FcCurrencyExchange",
|
||||
"RequiredPermissionName": "App.Definitions.Currency",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1320,7 +1320,7 @@
|
|||
"Code": "App.Definitions.CountryGroup",
|
||||
"DisplayName": "App.Definitions.CountryGroup",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-countryGroup",
|
||||
"Url": "/admin/list/App.Definitions.CountryGroup",
|
||||
"Icon": "FaFlag",
|
||||
"RequiredPermissionName": "App.Definitions.CountryGroup",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1330,7 +1330,7 @@
|
|||
"Code": "App.Definitions.Country",
|
||||
"DisplayName": "App.Definitions.Country",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-country",
|
||||
"Url": "/admin/list/App.Definitions.Country",
|
||||
"Icon": "FaFlagCheckered",
|
||||
"RequiredPermissionName": "App.Definitions.Country",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1340,7 +1340,7 @@
|
|||
"Code": "App.Definitions.City",
|
||||
"DisplayName": "App.Definitions.City",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-city",
|
||||
"Url": "/admin/list/App.Definitions.City",
|
||||
"Icon": "FaFontAwesomeFlag",
|
||||
"RequiredPermissionName": "App.Definitions.City",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1350,7 +1350,7 @@
|
|||
"Code": "App.Definitions.District",
|
||||
"DisplayName": "App.Definitions.District",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-district",
|
||||
"Url": "/admin/list/App.Definitions.District",
|
||||
"Icon": "FaFontAwesome",
|
||||
"RequiredPermissionName": "App.Definitions.District",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1360,7 +1360,7 @@
|
|||
"Code": "App.Definitions.WorkHour",
|
||||
"DisplayName": "App.Definitions.WorkHour",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-workhour",
|
||||
"Url": "/admin/list/App.Definitions.WorkHour",
|
||||
"Icon": "FcClock",
|
||||
"RequiredPermissionName": "App.Definitions.WorkHour",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1370,7 +1370,7 @@
|
|||
"Code": "App.Definitions.Sector",
|
||||
"DisplayName": "App.Definitions.Sector",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-sector",
|
||||
"Url": "/admin/list/App.Definitions.Sector",
|
||||
"Icon": "FcBiomass",
|
||||
"RequiredPermissionName": "App.Definitions.Sector",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1380,7 +1380,7 @@
|
|||
"Code": "App.Definitions.SkillType",
|
||||
"DisplayName": "App.Definitions.SkillType",
|
||||
"Order": 10,
|
||||
"Url": "/admin/list/list-skillType",
|
||||
"Url": "/admin/list/App.Definitions.SkillType",
|
||||
"Icon": "FcMindMap",
|
||||
"RequiredPermissionName": "App.Definitions.SkillType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1390,7 +1390,7 @@
|
|||
"Code": "App.Definitions.UomCategory",
|
||||
"DisplayName": "App.Definitions.UomCategory",
|
||||
"Order": 11,
|
||||
"Url": "/admin/list/list-uomCategory",
|
||||
"Url": "/admin/list/App.Definitions.UomCategory",
|
||||
"Icon": "FcWorkflow",
|
||||
"RequiredPermissionName": "App.Definitions.UomCategory",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1400,7 +1400,7 @@
|
|||
"Code": "App.Definitions.Behavior",
|
||||
"DisplayName": "App.Definitions.Behavior",
|
||||
"Order": 12,
|
||||
"Url": "/admin/list/list-behavior",
|
||||
"Url": "/admin/list/App.Definitions.Behavior",
|
||||
"Icon": "FcPuzzle",
|
||||
"RequiredPermissionName": "App.Definitions.Behavior",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1410,7 +1410,7 @@
|
|||
"Code": "App.Definitions.Disease",
|
||||
"DisplayName": "App.Definitions.Disease",
|
||||
"Order": 13,
|
||||
"Url": "/admin/list/list-disease",
|
||||
"Url": "/admin/list/App.Definitions.Disease",
|
||||
"Icon": "FcBiohazard",
|
||||
"RequiredPermissionName": "App.Definitions.Disease",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1420,7 +1420,7 @@
|
|||
"Code": "App.Definitions.Document",
|
||||
"DisplayName": "App.Definitions.Document",
|
||||
"Order": 14,
|
||||
"Url": "/admin/list/list-document",
|
||||
"Url": "/admin/list/App.Definitions.Document",
|
||||
"Icon": "FcDocument",
|
||||
"RequiredPermissionName": "App.Definitions.Document",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1430,7 +1430,7 @@
|
|||
"Code": "App.Definitions.EducationStatus",
|
||||
"DisplayName": "App.Definitions.EducationStatus",
|
||||
"Order": 15,
|
||||
"Url": "/admin/list/list-educationstatus",
|
||||
"Url": "/admin/list/App.Definitions.EducationStatus",
|
||||
"Icon": "FcGraduationCap",
|
||||
"RequiredPermissionName": "App.Definitions.EducationStatus",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1440,7 +1440,7 @@
|
|||
"Code": "App.Definitions.Vaccine",
|
||||
"DisplayName": "App.Definitions.Vaccine",
|
||||
"Order": 16,
|
||||
"Url": "/admin/list/list-vaccine",
|
||||
"Url": "/admin/list/App.Definitions.Vaccine",
|
||||
"Icon": "FcBiotech",
|
||||
"RequiredPermissionName": "App.Definitions.Vaccine",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1450,7 +1450,7 @@
|
|||
"Code": "App.Definitions.Vehicle",
|
||||
"DisplayName": "App.Definitions.Vehicle",
|
||||
"Order": 17,
|
||||
"Url": "/admin/list/list-vehicle",
|
||||
"Url": "/admin/list/App.Definitions.Vehicle",
|
||||
"Icon": "FcAutomotive",
|
||||
"RequiredPermissionName": "App.Definitions.Vehicle",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1460,7 +1460,7 @@
|
|||
"Code": "App.Definitions.Psychologist",
|
||||
"DisplayName": "App.Definitions.Psychologist",
|
||||
"Order": 18,
|
||||
"Url": "/admin/list/list-psychologist",
|
||||
"Url": "/admin/list/App.Definitions.Psychologist",
|
||||
"Icon": "FcMindMap",
|
||||
"RequiredPermissionName": "App.Definitions.Psychologist",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1470,7 +1470,7 @@
|
|||
"Code": "App.Definitions.Lawyer",
|
||||
"DisplayName": "App.Definitions.Lawyer",
|
||||
"Order": 19,
|
||||
"Url": "/admin/list/list-lawyer",
|
||||
"Url": "/admin/list/App.Definitions.Lawyer",
|
||||
"Icon": "FcBusinessman",
|
||||
"RequiredPermissionName": "App.Definitions.Lawyer",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1490,7 +1490,7 @@
|
|||
"Code": "Abp.Identity.PermissionGroups",
|
||||
"DisplayName": "Abp.Identity.PermissionGroups",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-permissiongroup",
|
||||
"Url": "/admin/list/Abp.Identity.PermissionGroups",
|
||||
"Icon": "FcEngineering",
|
||||
"RequiredPermissionName": "Abp.Identity.PermissionGroups",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1500,7 +1500,7 @@
|
|||
"Code": "Abp.Identity.Permissions",
|
||||
"DisplayName": "Abp.Identity.Permissions",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-permission",
|
||||
"Url": "/admin/list/Abp.Identity.Permissions",
|
||||
"Icon": "FcSupport",
|
||||
"RequiredPermissionName": "Abp.Identity.Permissions",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1510,7 +1510,7 @@
|
|||
"Code": "App.ClaimType",
|
||||
"DisplayName": "App.ClaimType",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-claimtype",
|
||||
"Url": "/admin/list/App.ClaimType",
|
||||
"Icon": "FcOrganization",
|
||||
"RequiredPermissionName": "App.ClaimType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1520,7 +1520,7 @@
|
|||
"Code": "AbpIdentity.Roles",
|
||||
"DisplayName": "AbpIdentity.Roles",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-role",
|
||||
"Url": "/admin/list/AbpIdentity.Roles",
|
||||
"Icon": "FcFlowChart",
|
||||
"RequiredPermissionName": "AbpIdentity.Roles",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1530,7 +1530,7 @@
|
|||
"Code": "AbpIdentity.Users",
|
||||
"DisplayName": "AbpIdentity.Users",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-user",
|
||||
"Url": "/admin/list/AbpIdentity.Users",
|
||||
"Icon": "FcBusinessman",
|
||||
"RequiredPermissionName": "AbpIdentity.Users",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1550,7 +1550,7 @@
|
|||
"Code": "App.IpRestrictions",
|
||||
"DisplayName": "App.IpRestrictions",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-iprestriction",
|
||||
"Url": "/admin/list/App.IpRestrictions",
|
||||
"Icon": "FcNfcSign",
|
||||
"RequiredPermissionName": "App.IpRestrictions",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1560,7 +1560,7 @@
|
|||
"Code": "App.AuditLogs",
|
||||
"DisplayName": "App.AuditLogs",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-auditlog",
|
||||
"Url": "/admin/list/App.AuditLogs",
|
||||
"Icon": "FcMultipleInputs",
|
||||
"RequiredPermissionName": "App.AuditLogs",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1600,7 +1600,7 @@
|
|||
"Code": "App.Reports.Categories",
|
||||
"DisplayName": "App.Reports.Categories",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-reportcategory",
|
||||
"Url": "/admin/list/App.Reports.Categories",
|
||||
"Icon": "FcProcess",
|
||||
"RequiredPermissionName": "App.Reports.Categories",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1670,7 +1670,7 @@
|
|||
"Code": "App.DeveloperKit.CustomEndpoints",
|
||||
"DisplayName": "App.DeveloperKit.CustomEndpoints",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-customendpoint",
|
||||
"Url": "/admin/list/App.DeveloperKit.CustomEndpoints",
|
||||
"Icon": "FcMindMap",
|
||||
"RequiredPermissionName": "App.DeveloperKit.CustomEndpoints",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1710,7 +1710,7 @@
|
|||
"Code": "App.Intranet.Events.EventType",
|
||||
"DisplayName": "App.Intranet.Events.EventType",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-eventtype",
|
||||
"Url": "/admin/list/App.Intranet.Events.EventType",
|
||||
"Icon": "FcPlanner",
|
||||
"RequiredPermissionName": "App.Intranet.Events.EventType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1720,7 +1720,7 @@
|
|||
"Code": "App.Intranet.Events.EventCategory",
|
||||
"DisplayName": "App.Intranet.Events.EventCategory",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-eventcategory",
|
||||
"Url": "/admin/list/App.Intranet.Events.EventCategory",
|
||||
"Icon": "FcTreeStructure",
|
||||
"RequiredPermissionName": "App.Intranet.Events.EventCategory",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1730,7 +1730,7 @@
|
|||
"Code": "App.Intranet.Events.Event",
|
||||
"DisplayName": "App.Intranet.Events.Event",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-event",
|
||||
"Url": "/admin/list/App.Intranet.Events.Event",
|
||||
"Icon": "FcCalendar",
|
||||
"RequiredPermissionName": "App.Intranet.Events.Event",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1740,7 +1740,7 @@
|
|||
"Code": "App.Intranet.Meal",
|
||||
"DisplayName": "App.Intranet.Meal",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-meal",
|
||||
"Url": "/admin/list/App.Intranet.Meal",
|
||||
"Icon": "FcLike",
|
||||
"RequiredPermissionName": "App.Intranet.Meal",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1750,7 +1750,7 @@
|
|||
"Code": "App.Intranet.Reservation",
|
||||
"DisplayName": "App.Intranet.Reservation",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-reservation",
|
||||
"Url": "/admin/list/App.Intranet.Reservation",
|
||||
"Icon": "FcAlarmClock",
|
||||
"RequiredPermissionName": "App.Intranet.Reservation",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1760,7 +1760,7 @@
|
|||
"Code": "App.Intranet.ShuttleRoute",
|
||||
"DisplayName": "App.Intranet.ShuttleRoute",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-shuttleroute",
|
||||
"Url": "/admin/list/App.Intranet.ShuttleRoute",
|
||||
"Icon": "FcAutomotive",
|
||||
"RequiredPermissionName": "App.Intranet.ShuttleRoute",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1770,7 +1770,7 @@
|
|||
"Code": "App.Intranet.Announcement",
|
||||
"DisplayName": "App.Intranet.Announcement",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-announcement",
|
||||
"Url": "/admin/list/App.Intranet.Announcement",
|
||||
"Icon": "FcSpeaker",
|
||||
"RequiredPermissionName": "App.Intranet.Announcement",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1780,7 +1780,7 @@
|
|||
"Code": "App.Intranet.Visitor",
|
||||
"DisplayName": "App.Intranet.Visitor",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-visitor",
|
||||
"Url": "/admin/list/App.Intranet.Visitor",
|
||||
"Icon": "FcContacts",
|
||||
"RequiredPermissionName": "App.Intranet.Visitor",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1790,7 +1790,7 @@
|
|||
"Code": "App.Intranet.SocialPost",
|
||||
"DisplayName": "App.Intranet.SocialPost",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-socialpost",
|
||||
"Url": "/admin/list/App.Intranet.SocialPost",
|
||||
"Icon": "FcShare",
|
||||
"RequiredPermissionName": "App.Intranet.SocialPost",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1810,7 +1810,7 @@
|
|||
"Code": "App.About",
|
||||
"DisplayName": "App.About",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-about",
|
||||
"Url": "/admin/list/App.About",
|
||||
"Icon": "FcAbout",
|
||||
"RequiredPermissionName": "App.About",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1820,7 +1820,7 @@
|
|||
"Code": "App.Services",
|
||||
"DisplayName": "App.Services",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-service",
|
||||
"Url": "/admin/list/App.Services",
|
||||
"Icon": "FcServices",
|
||||
"RequiredPermissionName": "App.Services",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1830,7 +1830,7 @@
|
|||
"Code": "App.Orders.Products",
|
||||
"DisplayName": "App.Orders.Products",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-product",
|
||||
"Url": "/admin/list/App.Orders.Products",
|
||||
"Icon": "FcDiploma1",
|
||||
"RequiredPermissionName": "App.Orders.Products",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1840,7 +1840,7 @@
|
|||
"Code": "App.Orders.PaymentMethods",
|
||||
"DisplayName": "App.Orders.PaymentMethods",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-paymentmethod",
|
||||
"Url": "/admin/list/App.Orders.PaymentMethods",
|
||||
"Icon": "FcFeedIn",
|
||||
"RequiredPermissionName": "App.Orders.PaymentMethods",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1850,19 +1850,19 @@
|
|||
"Code": "App.Orders.InstallmentOptions",
|
||||
"DisplayName": "App.Orders.InstallmentOptions",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-installmentoption",
|
||||
"Url": "/admin/list/App.Orders.InstallmentOptions",
|
||||
"Icon": "FcProcess",
|
||||
"RequiredPermissionName": "App.Orders.InstallmentOptions",
|
||||
"IsDisabled": false
|
||||
},
|
||||
{
|
||||
"ParentCode": "App.Public",
|
||||
"Code": "App.Orders.PurchaseOrders",
|
||||
"DisplayName": "App.Orders.PurchaseOrders",
|
||||
"Code": "App.Orders.SalesOrders",
|
||||
"DisplayName": "App.Orders.SalesOrders",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-purchaseorder",
|
||||
"Url": "/admin/list/App.Orders.SalesOrders",
|
||||
"Icon": "FcCollect",
|
||||
"RequiredPermissionName": "App.Orders.PurchaseOrders",
|
||||
"RequiredPermissionName": "App.Orders.SalesOrders",
|
||||
"IsDisabled": false
|
||||
},
|
||||
{
|
||||
|
|
@ -1870,7 +1870,7 @@
|
|||
"Code": "App.BlogManagement.Category",
|
||||
"DisplayName": "App.BlogManagement.Category",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-blogcategory",
|
||||
"Url": "/admin/list/App.BlogManagement.Category",
|
||||
"Icon": "FaCertificate",
|
||||
"RequiredPermissionName": "App.BlogManagement.Category",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1880,7 +1880,7 @@
|
|||
"Code": "App.BlogManagement.Posts",
|
||||
"DisplayName": "App.BlogManagement.Posts",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-blogpost",
|
||||
"Url": "/admin/list/App.BlogManagement.Posts",
|
||||
"Icon": "FaWeixin",
|
||||
"RequiredPermissionName": "App.BlogManagement.Posts",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1890,7 +1890,7 @@
|
|||
"Code": "App.Demos",
|
||||
"DisplayName": "App.Demos",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-demo",
|
||||
"Url": "/admin/list/App.Demos",
|
||||
"Icon": "FcMissedCall",
|
||||
"RequiredPermissionName": "App.Demos",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1900,7 +1900,7 @@
|
|||
"Code": "App.Contact",
|
||||
"DisplayName": "App.Contact",
|
||||
"Order": 10,
|
||||
"Url": "/admin/list/list-contact",
|
||||
"Url": "/admin/list/App.Contact",
|
||||
"Icon": "FcContacts",
|
||||
"RequiredPermissionName": "App.Contact",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1930,7 +1930,7 @@
|
|||
"Code": "App.Definitions.MeetingMethod",
|
||||
"DisplayName": "App.Definitions.MeetingMethod",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-meetingmethod",
|
||||
"Url": "/admin/list/App.Definitions.MeetingMethod",
|
||||
"Icon": "FcCollaboration",
|
||||
"RequiredPermissionName": "App.Definitions.MeetingMethod",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1940,7 +1940,7 @@
|
|||
"Code": "App.Definitions.MeetingResult",
|
||||
"DisplayName": "App.Definitions.MeetingResult",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-meetingresult",
|
||||
"Url": "/admin/list/App.Definitions.MeetingResult",
|
||||
"Icon": "FcApproval",
|
||||
"RequiredPermissionName": "App.Definitions.MeetingResult",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1950,7 +1950,7 @@
|
|||
"Code": "App.Definitions.Source",
|
||||
"DisplayName": "App.Definitions.Source",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-source",
|
||||
"Url": "/admin/list/App.Definitions.Source",
|
||||
"Icon": "FcAdvertising",
|
||||
"RequiredPermissionName": "App.Definitions.Source",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1960,7 +1960,7 @@
|
|||
"Code": "App.Definitions.Interesting",
|
||||
"DisplayName": "App.Definitions.Interesting",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-interesting",
|
||||
"Url": "/admin/list/App.Definitions.Interesting",
|
||||
"Icon": "FcIdea",
|
||||
"RequiredPermissionName": "App.Definitions.Interesting",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1970,7 +1970,7 @@
|
|||
"Code": "App.Definitions.SalesRejectionReason",
|
||||
"DisplayName": "App.Definitions.SalesRejectionReason",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-salesrejectionreason",
|
||||
"Url": "/admin/list/App.Definitions.SalesRejectionReason",
|
||||
"Icon": "FcCancel",
|
||||
"RequiredPermissionName": "App.Definitions.SalesRejectionReason",
|
||||
"IsDisabled": false
|
||||
|
|
@ -1980,7 +1980,7 @@
|
|||
"Code": "App.Definitions.NoteType",
|
||||
"DisplayName": "App.Definitions.NoteType",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-notetype",
|
||||
"Url": "/admin/list/App.Definitions.NoteType",
|
||||
"Icon": "FcTodoList",
|
||||
"RequiredPermissionName": "App.Definitions.NoteType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2010,7 +2010,7 @@
|
|||
"Code": "App.Definitions.Program",
|
||||
"DisplayName": "App.Definitions.Program",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-program",
|
||||
"Url": "/admin/list/App.Definitions.Program",
|
||||
"Icon": "FcFlowChart",
|
||||
"RequiredPermissionName": "App.Definitions.Program",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2020,7 +2020,7 @@
|
|||
"Code": "App.Definitions.Schedule",
|
||||
"DisplayName": "App.Definitions.Schedule",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-schedule",
|
||||
"Url": "/admin/list/App.Definitions.Schedule",
|
||||
"Icon": "FcPlanner",
|
||||
"RequiredPermissionName": "App.Definitions.Schedule",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2030,7 +2030,7 @@
|
|||
"Code": "App.Definitions.RegistrationType",
|
||||
"DisplayName": "App.Definitions.RegistrationType",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-registrationtype",
|
||||
"Url": "/admin/list/App.Definitions.RegistrationType",
|
||||
"Icon": "FcTodoList",
|
||||
"RequiredPermissionName": "App.Definitions.RegistrationType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2040,7 +2040,7 @@
|
|||
"Code": "App.Definitions.RegistrationMethod",
|
||||
"DisplayName": "App.Definitions.RegistrationMethod",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-registrationmethod",
|
||||
"Url": "/admin/list/App.Definitions.RegistrationMethod",
|
||||
"Icon": "FcCollaboration",
|
||||
"RequiredPermissionName": "App.Definitions.RegistrationMethod",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2050,7 +2050,7 @@
|
|||
"Code": "App.Definitions.ClassType",
|
||||
"DisplayName": "App.Definitions.ClassType",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-classtype",
|
||||
"Url": "/admin/list/App.Definitions.ClassType",
|
||||
"Icon": "FcTreeStructure",
|
||||
"RequiredPermissionName": "App.Definitions.ClassType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2060,7 +2060,7 @@
|
|||
"Code": "App.Definitions.Class",
|
||||
"DisplayName": "App.Definitions.Class",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-class",
|
||||
"Url": "/admin/list/App.Definitions.Class",
|
||||
"Icon": "FcConferenceCall",
|
||||
"RequiredPermissionName": "App.Definitions.Class",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2070,7 +2070,7 @@
|
|||
"Code": "App.Definitions.Level",
|
||||
"DisplayName": "App.Definitions.Level",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-level",
|
||||
"Url": "/admin/list/App.Definitions.Level",
|
||||
"Icon": "FcGraduationCap",
|
||||
"RequiredPermissionName": "App.Definitions.Level",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2080,7 +2080,7 @@
|
|||
"Code": "App.Definitions.ClassCancellationReason",
|
||||
"DisplayName": "App.Definitions.ClassCancellationReason",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-classcancellationreason",
|
||||
"Url": "/admin/list/App.Definitions.ClassCancellationReason",
|
||||
"Icon": "FcDisapprove",
|
||||
"RequiredPermissionName": "App.Definitions.ClassCancellationReason",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2090,7 +2090,7 @@
|
|||
"Code": "App.Definitions.LessonPeriod",
|
||||
"DisplayName": "App.Definitions.LessonPeriod",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-lessonperiod",
|
||||
"Url": "/admin/list/App.Definitions.LessonPeriod",
|
||||
"Icon": "FcClock",
|
||||
"RequiredPermissionName": "App.Definitions.LessonPeriod",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2110,7 +2110,7 @@
|
|||
"Code": "App.Definitions.QuestionTag",
|
||||
"DisplayName": "App.Definitions.QuestionTag",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-questiontag",
|
||||
"Url": "/admin/list/App.Definitions.QuestionTag",
|
||||
"Icon": "FcTags",
|
||||
"RequiredPermissionName": "App.Definitions.QuestionTag",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2120,7 +2120,7 @@
|
|||
"Code": "App.Definitions.QuestionPool",
|
||||
"DisplayName": "App.Definitions.QuestionPool",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-questionpool",
|
||||
"Url": "/admin/list/App.Definitions.QuestionPool",
|
||||
"Icon": "FcQuestions",
|
||||
"RequiredPermissionName": "App.Definitions.QuestionPool",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2180,7 +2180,7 @@
|
|||
"Code": "App.Crm.CustomerType",
|
||||
"DisplayName": "App.Crm.CustomerType",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-customertype",
|
||||
"Url": "/admin/list/App.Crm.CustomerType",
|
||||
"Icon": "FcMultipleInputs",
|
||||
"RequiredPermissionName": "App.Crm.CustomerType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2190,7 +2190,7 @@
|
|||
"Code": "App.Crm.CustomerSegment",
|
||||
"DisplayName": "App.Crm.CustomerSegment",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-customersegment",
|
||||
"Url": "/admin/list/App.Crm.CustomerSegment",
|
||||
"Icon": "FcComboChart",
|
||||
"RequiredPermissionName": "App.Crm.CustomerSegment",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2200,7 +2200,7 @@
|
|||
"Code": "App.Crm.Customer",
|
||||
"DisplayName": "App.Crm.Customer",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-customer",
|
||||
"Url": "/admin/list/App.Crm.Customer",
|
||||
"Icon": "FcBusinessman",
|
||||
"RequiredPermissionName": "App.Crm.Customer",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2210,7 +2210,7 @@
|
|||
"Code": "App.Crm.LossReason",
|
||||
"DisplayName": "App.Crm.LossReason",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-lossreason",
|
||||
"Url": "/admin/list/App.Crm.LossReason",
|
||||
"Icon": "FcHighPriority",
|
||||
"RequiredPermissionName": "App.Crm.LossReason",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2220,7 +2220,7 @@
|
|||
"Code": "App.Crm.Opportunity",
|
||||
"DisplayName": "App.Crm.Opportunity",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-opportunity",
|
||||
"Url": "/admin/list/App.Crm.Opportunity",
|
||||
"Icon": "FcIdea",
|
||||
"RequiredPermissionName": "App.Crm.Opportunity",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2230,7 +2230,7 @@
|
|||
"Code": "App.Crm.Activities",
|
||||
"DisplayName": "App.Crm.Activities",
|
||||
"Order": 7,
|
||||
"Url": "/admin/crm/activities",
|
||||
"Url": "/admin/list/App.Crm.Activities",
|
||||
"Icon": "FcCalendar",
|
||||
"RequiredPermissionName": "App.Crm.Activities",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2240,7 +2240,7 @@
|
|||
"Code": "App.Crm.SalesOrder",
|
||||
"DisplayName": "App.Crm.SalesOrder",
|
||||
"Order": 8,
|
||||
"Url": "/admin/crm/sales-orders",
|
||||
"Url": "/admin/list/App.Crm.SalesOrder",
|
||||
"Icon": "FcShop",
|
||||
"RequiredPermissionName": "App.Crm.SalesOrder",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2260,7 +2260,7 @@
|
|||
"Code": "App.SupplyChain.MaterialType",
|
||||
"DisplayName": "App.SupplyChain.MaterialType",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-materialtype",
|
||||
"Url": "/admin/list/App.SupplyChain.MaterialType",
|
||||
"Icon": "FcPackage",
|
||||
"RequiredPermissionName": "App.SupplyChain.MaterialType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2270,7 +2270,7 @@
|
|||
"Code": "App.SupplyChain.MaterialGroup",
|
||||
"DisplayName": "App.SupplyChain.MaterialGroup",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-materialgroup",
|
||||
"Url": "/admin/list/App.SupplyChain.MaterialGroup",
|
||||
"Icon": "FcTreeStructure",
|
||||
"RequiredPermissionName": "App.SupplyChain.MaterialGroup",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2280,7 +2280,7 @@
|
|||
"Code": "App.SupplyChain.Material",
|
||||
"DisplayName": "App.SupplyChain.Material",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-material",
|
||||
"Url": "/admin/list/App.SupplyChain.Material",
|
||||
"Icon": "FcTodoList",
|
||||
"RequiredPermissionName": "App.SupplyChain.Material",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2290,7 +2290,7 @@
|
|||
"Code": "App.SupplyChain.PaymentTerm",
|
||||
"DisplayName": "App.SupplyChain.PaymentTerm",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-paymentterm",
|
||||
"Url": "/admin/list/App.SupplyChain.PaymentTerm",
|
||||
"Icon": "FcDebt",
|
||||
"RequiredPermissionName": "App.SupplyChain.PaymentTerm",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2300,7 +2300,7 @@
|
|||
"Code": "App.SupplyChain.SupplyType",
|
||||
"DisplayName": "App.SupplyChain.SupplyType",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-supplytype",
|
||||
"Url": "/admin/list/App.SupplyChain.SupplyType",
|
||||
"Icon": "FcTreeStructure",
|
||||
"RequiredPermissionName": "App.SupplyChain.SupplyType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2310,7 +2310,7 @@
|
|||
"Code": "App.SupplyChain.SupplyCardType",
|
||||
"DisplayName": "App.SupplyChain.SupplyCardType",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-supplycardtype",
|
||||
"Url": "/admin/list/App.SupplyChain.SupplyCardType",
|
||||
"Icon": "FcComboChart",
|
||||
"RequiredPermissionName": "App.SupplyChain.SupplyCardType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2320,7 +2320,7 @@
|
|||
"Code": "App.SupplyChain.Supply",
|
||||
"DisplayName": "App.SupplyChain.Supply",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-supply",
|
||||
"Url": "/admin/list/App.SupplyChain.Supply",
|
||||
"Icon": "FcBusiness",
|
||||
"RequiredPermissionName": "App.SupplyChain.Supply",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2330,7 +2330,7 @@
|
|||
"Code": "App.SupplyChain.Approval",
|
||||
"DisplayName": "App.SupplyChain.Approval",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-approval",
|
||||
"Url": "/admin/list/App.SupplyChain.Approval",
|
||||
"Icon": "FcApproval",
|
||||
"RequiredPermissionName": "App.SupplyChain.Approval",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2340,7 +2340,7 @@
|
|||
"Code": "App.SupplyChain.RequestType",
|
||||
"DisplayName": "App.SupplyChain.RequestType",
|
||||
"Order": 10,
|
||||
"Url": "/admin/list/list-requesttype",
|
||||
"Url": "/admin/list/App.SupplyChain.RequestType",
|
||||
"Icon": "FcWorkflow",
|
||||
"RequiredPermissionName": "App.SupplyChain.RequestType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2350,7 +2350,7 @@
|
|||
"Code": "App.SupplyChain.Request",
|
||||
"DisplayName": "App.SupplyChain.Request",
|
||||
"Order": 11,
|
||||
"Url": "/admin/list/list-request",
|
||||
"Url": "/admin/list/App.SupplyChain.Request",
|
||||
"Icon": "FcDataSheet",
|
||||
"RequiredPermissionName": "App.SupplyChain.Request",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2400,7 +2400,7 @@
|
|||
"Code": "App.Maintenance.WorkcenterType",
|
||||
"DisplayName": "App.Maintenance.WorkcenterType",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-workcentertype",
|
||||
"Url": "/admin/list/App.Maintenance.WorkcenterType",
|
||||
"Icon": "FcOrganization",
|
||||
"RequiredPermissionName": "App.Maintenance.WorkcenterType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2410,7 +2410,7 @@
|
|||
"Code": "App.Maintenance.WorkcenterStatus",
|
||||
"DisplayName": "App.Maintenance.WorkcenterStatus",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-workcenterstatus",
|
||||
"Url": "/admin/list/App.Maintenance.WorkcenterStatus",
|
||||
"Icon": "FcProcess",
|
||||
"RequiredPermissionName": "App.Maintenance.WorkcenterStatus",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2420,7 +2420,7 @@
|
|||
"Code": "App.Maintenance.Workcenter",
|
||||
"DisplayName": "App.Maintenance.Workcenter",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-workcenter",
|
||||
"Url": "/admin/list/App.Maintenance.Workcenter",
|
||||
"Icon": "FcWorkflow",
|
||||
"RequiredPermissionName": "App.Maintenance.Workcenter",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2430,7 +2430,7 @@
|
|||
"Code": "App.Maintenance.Plan",
|
||||
"DisplayName": "App.Maintenance.Plan",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-maintenanceplan",
|
||||
"Url": "/admin/list/App.Maintenance.Plan",
|
||||
"Icon": "FcPlanner",
|
||||
"RequiredPermissionName": "App.Maintenance.Plan",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2450,7 +2450,7 @@
|
|||
"Code": "App.Maintenance.FaultType",
|
||||
"DisplayName": "App.Maintenance.FaultType",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-faulttype",
|
||||
"Url": "/admin/list/App.Maintenance.FaultType",
|
||||
"Icon": "FcInspection",
|
||||
"RequiredPermissionName": "App.Maintenance.FaultType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2460,7 +2460,7 @@
|
|||
"Code": "App.Maintenance.FaultStatus",
|
||||
"DisplayName": "App.Maintenance.FaultStatus",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-faultstatus",
|
||||
"Url": "/admin/list/App.Maintenance.FaultStatus",
|
||||
"Icon": "FcMediumPriority",
|
||||
"RequiredPermissionName": "App.Maintenance.FaultStatus",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2470,7 +2470,7 @@
|
|||
"Code": "App.Maintenance.Fault",
|
||||
"DisplayName": "App.Maintenance.Fault",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-fault",
|
||||
"Url": "/admin/list/App.Maintenance.Fault",
|
||||
"Icon": "FcHighPriority",
|
||||
"RequiredPermissionName": "App.Maintenance.Fault",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2480,7 +2480,7 @@
|
|||
"Code": "App.Maintenance.WorkorderType",
|
||||
"DisplayName": "App.Maintenance.WorkorderType",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-workordertype",
|
||||
"Url": "/admin/list/App.Maintenance.WorkorderType",
|
||||
"Icon": "FcWorkflow",
|
||||
"RequiredPermissionName": "App.Maintenance.WorkorderType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2490,7 +2490,7 @@
|
|||
"Code": "App.Maintenance.WorkorderStatus",
|
||||
"DisplayName": "App.Maintenance.WorkorderStatus",
|
||||
"Order": 10,
|
||||
"Url": "/admin/list/list-workorderstatus",
|
||||
"Url": "/admin/list/App.Maintenance.WorkorderStatus",
|
||||
"Icon": "FcProcess",
|
||||
"RequiredPermissionName": "App.Maintenance.WorkorderStatus",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2700,7 +2700,7 @@
|
|||
"Code": "App.Hr.EmploymentType",
|
||||
"DisplayName": "App.Hr.EmploymentType",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-employmenttype",
|
||||
"Url": "/admin/list/App.Hr.EmploymentType",
|
||||
"Icon": "FcBriefcase",
|
||||
"RequiredPermissionName": "App.Hr.EmploymentType",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2710,7 +2710,7 @@
|
|||
"Code": "App.Hr.JobPosition",
|
||||
"DisplayName": "App.Hr.JobPosition",
|
||||
"Order": 2,
|
||||
"Url": "/admin/list/list-jobposition",
|
||||
"Url": "/admin/list/App.Hr.JobPosition",
|
||||
"Icon": "FcCollaboration",
|
||||
"RequiredPermissionName": "App.Hr.JobPosition",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2720,7 +2720,7 @@
|
|||
"Code": "App.Hr.Department",
|
||||
"DisplayName": "App.Hr.Department",
|
||||
"Order": 3,
|
||||
"Url": "/admin/list/list-department",
|
||||
"Url": "/admin/list/App.Hr.Department",
|
||||
"Icon": "FcDepartment",
|
||||
"RequiredPermissionName": "App.Hr.Department",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2730,7 +2730,7 @@
|
|||
"Code": "App.Hr.Badge",
|
||||
"DisplayName": "App.Hr.Badge",
|
||||
"Order": 4,
|
||||
"Url": "/admin/list/list-badge",
|
||||
"Url": "/admin/list/App.Hr.Badge",
|
||||
"Icon": "FcLike",
|
||||
"RequiredPermissionName": "App.Hr.Badge",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2740,7 +2740,7 @@
|
|||
"Code": "App.Hr.CostCenter",
|
||||
"DisplayName": "App.Hr.CostCenter",
|
||||
"Order": 5,
|
||||
"Url": "/admin/list/list-costcenter",
|
||||
"Url": "/admin/list/App.Hr.CostCenter",
|
||||
"Icon": "FcSalesPerformance",
|
||||
"RequiredPermissionName": "App.Hr.CostCenter",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2750,7 +2750,7 @@
|
|||
"Code": "App.Hr.Employee",
|
||||
"DisplayName": "App.Hr.Employee",
|
||||
"Order": 6,
|
||||
"Url": "/admin/list/list-employee",
|
||||
"Url": "/admin/list/App.Hr.Employee",
|
||||
"Icon": "FcConferenceCall",
|
||||
"RequiredPermissionName": "App.Hr.Employee",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2760,7 +2760,7 @@
|
|||
"Code": "App.Hr.Leave",
|
||||
"DisplayName": "App.Hr.Leave",
|
||||
"Order": 7,
|
||||
"Url": "/admin/list/list-leave",
|
||||
"Url": "/admin/list/App.Hr.Leave",
|
||||
"Icon": "FcCalendar",
|
||||
"RequiredPermissionName": "App.Hr.Leave",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2770,7 +2770,7 @@
|
|||
"Code": "App.Hr.Overtime",
|
||||
"DisplayName": "App.Hr.Overtime",
|
||||
"Order": 8,
|
||||
"Url": "/admin/list/list-overtime",
|
||||
"Url": "/admin/list/App.Hr.Overtime",
|
||||
"Icon": "FcClock",
|
||||
"RequiredPermissionName": "App.Hr.Overtime",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2780,7 +2780,7 @@
|
|||
"Code": "App.Hr.Expense",
|
||||
"DisplayName": "App.Hr.Expense",
|
||||
"Order": 9,
|
||||
"Url": "/admin/list/list-expense",
|
||||
"Url": "/admin/list/App.Hr.Expense",
|
||||
"Icon": "FaFileInvoiceDollar",
|
||||
"RequiredPermissionName": "App.Hr.Expense",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2790,7 +2790,7 @@
|
|||
"Code": "App.Hr.Payroll",
|
||||
"DisplayName": "App.Hr.Payroll",
|
||||
"Order": 10,
|
||||
"Url": "/admin/list/list-payroll",
|
||||
"Url": "/admin/list/App.Hr.Payroll",
|
||||
"Icon": "FcMoneyTransfer",
|
||||
"RequiredPermissionName": "App.Hr.Payroll",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2800,7 +2800,7 @@
|
|||
"Code": "App.Hr.Template360",
|
||||
"DisplayName": "App.Hr.Template360",
|
||||
"Order": 11,
|
||||
"Url": "/admin/list/list-template360",
|
||||
"Url": "/admin/list/App.Hr.Template360",
|
||||
"Icon": "FcInspection",
|
||||
"RequiredPermissionName": "App.Hr.Template360",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2810,7 +2810,7 @@
|
|||
"Code": "App.Hr.Performance360",
|
||||
"DisplayName": "App.Hr.Performance360",
|
||||
"Order": 12,
|
||||
"Url": "/admin/list/list-performance360",
|
||||
"Url": "/admin/list/App.Hr.Performance360",
|
||||
"Icon": "FcFeedback",
|
||||
"RequiredPermissionName": "App.Hr.Performance360",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2820,7 +2820,7 @@
|
|||
"Code": "App.Hr.Training",
|
||||
"DisplayName": "App.Hr.Training",
|
||||
"Order": 13,
|
||||
"Url": "/admin/list/list-training",
|
||||
"Url": "/admin/list/App.Hr.Training",
|
||||
"Icon": "FcGraduationCap",
|
||||
"RequiredPermissionName": "App.Hr.Training",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2830,7 +2830,7 @@
|
|||
"Code": "App.Hr.Survey",
|
||||
"DisplayName": "App.Hr.Survey",
|
||||
"Order": 14,
|
||||
"Url": "/admin/list/list-survey",
|
||||
"Url": "/admin/list/App.Hr.Survey",
|
||||
"Icon": "FcSurvey",
|
||||
"RequiredPermissionName": "App.Hr.Survey",
|
||||
"IsDisabled": false
|
||||
|
|
@ -2947,10 +2947,10 @@
|
|||
},
|
||||
{
|
||||
"ParentCode": "App.Accounting",
|
||||
"Code": "App.Definitions.Bank",
|
||||
"DisplayName": "App.Definitions.Bank",
|
||||
"Code": "App.Accounting.Bank",
|
||||
"DisplayName": "App.Accounting.Bank",
|
||||
"Order": 1,
|
||||
"Url": "/admin/list/list-bank",
|
||||
"Url": "/admin/list/App.Accounting.Bank",
|
||||
"Icon": "FcMoneyTransfer",
|
||||
"RequiredPermissionName": "App.Accounting.Bank",
|
||||
"IsDisabled": false
|
||||
|
|
|
|||
|
|
@ -2850,17 +2850,17 @@
|
|||
},
|
||||
{
|
||||
"GroupName": "App.Administration",
|
||||
"Name": "App.Orders.PurchaseOrders",
|
||||
"Name": "App.Orders.SalesOrders",
|
||||
"ParentName": null,
|
||||
"DisplayName": "App.Orders.PurchaseOrders",
|
||||
"DisplayName": "App.Orders.SalesOrders",
|
||||
"IsEnabled": true,
|
||||
"MultiTenancySide": 3,
|
||||
"MenuGroup": "Erp|Kurs"
|
||||
},
|
||||
{
|
||||
"GroupName": "App.Administration",
|
||||
"Name": "App.Orders.PurchaseOrders.Create",
|
||||
"ParentName": "App.Orders.PurchaseOrders",
|
||||
"Name": "App.Orders.SalesOrders.Create",
|
||||
"ParentName": "App.Orders.SalesOrders",
|
||||
"DisplayName": "Create",
|
||||
"IsEnabled": true,
|
||||
"MultiTenancySide": 3,
|
||||
|
|
@ -2868,8 +2868,8 @@
|
|||
},
|
||||
{
|
||||
"GroupName": "App.Administration",
|
||||
"Name": "App.Orders.PurchaseOrders.Delete",
|
||||
"ParentName": "App.Orders.PurchaseOrders",
|
||||
"Name": "App.Orders.SalesOrders.Delete",
|
||||
"ParentName": "App.Orders.SalesOrders",
|
||||
"DisplayName": "Delete",
|
||||
"IsEnabled": true,
|
||||
"MultiTenancySide": 3,
|
||||
|
|
@ -2877,8 +2877,8 @@
|
|||
},
|
||||
{
|
||||
"GroupName": "App.Administration",
|
||||
"Name": "App.Orders.PurchaseOrders.Export",
|
||||
"ParentName": "App.Orders.PurchaseOrders",
|
||||
"Name": "App.Orders.SalesOrders.Export",
|
||||
"ParentName": "App.Orders.SalesOrders",
|
||||
"DisplayName": "Export",
|
||||
"IsEnabled": true,
|
||||
"MultiTenancySide": 3,
|
||||
|
|
@ -2886,8 +2886,8 @@
|
|||
},
|
||||
{
|
||||
"GroupName": "App.Administration",
|
||||
"Name": "App.Orders.PurchaseOrders.Import",
|
||||
"ParentName": "App.Orders.PurchaseOrders",
|
||||
"Name": "App.Orders.SalesOrders.Import",
|
||||
"ParentName": "App.Orders.SalesOrders",
|
||||
"DisplayName": "Import",
|
||||
"IsEnabled": true,
|
||||
"MultiTenancySide": 3,
|
||||
|
|
@ -2895,8 +2895,8 @@
|
|||
},
|
||||
{
|
||||
"GroupName": "App.Administration",
|
||||
"Name": "App.Orders.PurchaseOrders.Note",
|
||||
"ParentName": "App.Orders.PurchaseOrders",
|
||||
"Name": "App.Orders.SalesOrders.Note",
|
||||
"ParentName": "App.Orders.SalesOrders",
|
||||
"DisplayName": "Note",
|
||||
"IsEnabled": true,
|
||||
"MultiTenancySide": 3,
|
||||
|
|
@ -2904,8 +2904,8 @@
|
|||
},
|
||||
{
|
||||
"GroupName": "App.Administration",
|
||||
"Name": "App.Orders.PurchaseOrders.Update",
|
||||
"ParentName": "App.Orders.PurchaseOrders",
|
||||
"Name": "App.Orders.SalesOrders.Update",
|
||||
"ParentName": "App.Orders.SalesOrders",
|
||||
"DisplayName": "Update",
|
||||
"IsEnabled": true,
|
||||
"MultiTenancySide": 3,
|
||||
|
|
|
|||
|
|
@ -393,161 +393,6 @@ public static class PlatformConsts
|
|||
}
|
||||
}
|
||||
|
||||
public static class ListFormCodes
|
||||
{
|
||||
//TODO: Lists yerine her birini kendi menüsüne koyabiliriz.
|
||||
public static class Lists
|
||||
{
|
||||
public const string Tenant = "list-tenant";
|
||||
public const string Branch = "list-branch";
|
||||
public const string SettingDefinition = "list-settingdefinition";
|
||||
public const string GlobalSearch = "list-globalsearch";
|
||||
public const string Language = "list-language";
|
||||
public const string LanguageText = "list-languagetext";
|
||||
public const string Route = "list-route";
|
||||
public const string Menu = "list-menu";
|
||||
public const string DataSource = "list-datasource";
|
||||
public const string Listform = "list-listform";
|
||||
public const string NotificationRule = "list-notificationrule";
|
||||
public const string Notification = "list-notification";
|
||||
public const string BackgroundWorker = "list-backgroundworker";
|
||||
public const string CustomEndpoint = "list-customendpoint";
|
||||
public const string ReportCategory = "list-reportcategory";
|
||||
public const string About = "list-about";
|
||||
public const string Service = "list-service";
|
||||
public const string Product = "list-product";
|
||||
public const string PaymentMethod = "list-paymentmethod";
|
||||
public const string InstallmentOption = "list-installmentoption";
|
||||
public const string PurchaseOrder = "list-purchaseorder";
|
||||
public const string BlogCategory = "list-blogcategory";
|
||||
public const string BlogPost = "list-blogpost";
|
||||
public const string Demo = "list-demo";
|
||||
public const string Contact = "list-contact";
|
||||
|
||||
public const string ContactTag = "list-contacttag";
|
||||
public const string ContactTitle = "list-contacttitle";
|
||||
public const string Currency = "list-currency";
|
||||
public const string CountryGroup = "list-countrygroup";
|
||||
public const string Country = "list-country";
|
||||
public const string City = "list-city";
|
||||
public const string District = "list-district";
|
||||
|
||||
public const string PermissionGroup = "list-permissiongroup";
|
||||
public const string Permission = "list-permission";
|
||||
public const string ClaimType = "list-claimtype";
|
||||
public const string Role = "list-role";
|
||||
public const string User = "list-user";
|
||||
public const string IpRestriction = "list-iprestriction";
|
||||
public const string AuditLog = "list-auditlog";
|
||||
|
||||
public const string Sector = "list-sector";
|
||||
public const string SkillType = "list-skilltype";
|
||||
public const string Skill = "list-skill";
|
||||
public const string SkillLevel = "list-skilllevel";
|
||||
public const string UomCategory = "list-uomcategory";
|
||||
public const string Uom = "list-uom";
|
||||
public const string Bank = "list-bank";
|
||||
public const string BankAccount = "list-bankaccount";
|
||||
public const string Behavior = "list-behavior";
|
||||
public const string Disease = "list-disease";
|
||||
public const string Document = "list-document";
|
||||
public const string EducationStatus = "list-educationstatus";
|
||||
public const string EventType = "list-eventtype";
|
||||
public const string EventCategory = "list-eventcategory";
|
||||
public const string MeetingMethod = "list-meetingmethod";
|
||||
public const string MeetingResult = "list-meetingresult";
|
||||
public const string Program = "list-program";
|
||||
public const string Interesting = "list-interesting";
|
||||
public const string SalesRejectionReason = "list-salesrejectionreason";
|
||||
public const string ClassCancellationReason = "list-classcancellationreason";
|
||||
public const string Source = "list-source";
|
||||
public const string Vaccine = "list-vaccine";
|
||||
public const string NoteType = "list-notetype";
|
||||
public const string WorkHour = "list-workhour";
|
||||
public const string Vehicle = "list-vehicle";
|
||||
public const string Schedule = "list-schedule";
|
||||
public const string Psychologist = "list-psychologist";
|
||||
public const string Meal = "list-meal";
|
||||
public const string Lawyer = "list-lawyer";
|
||||
public const string Event = "list-event";
|
||||
public const string LessonPeriod = "list-lessonperiod";
|
||||
public const string RegistrationType = "list-registrationtype";
|
||||
public const string RegistrationMethod = "list-registrationmethod";
|
||||
public const string ClassType = "list-classtype";
|
||||
public const string Class = "list-class";
|
||||
public const string Level = "list-level";
|
||||
public const string QuestionTag = "list-questiontag";
|
||||
public const string QuestionPool = "list-questionpool";
|
||||
public const string Question = "list-question";
|
||||
|
||||
//Hr
|
||||
public const string EmploymentType = "list-employmenttype";
|
||||
public const string JobPosition = "list-jobposition";
|
||||
public const string Department = "list-department";
|
||||
public const string Badge = "list-badge";
|
||||
public const string CostCenter = "list-costcenter";
|
||||
public const string Employee = "list-employee";
|
||||
public const string Leave = "list-leave";
|
||||
public const string Overtime = "list-overtime";
|
||||
public const string Payroll = "list-payroll";
|
||||
public const string Template360 = "list-template360";
|
||||
public const string Performance360 = "list-performance360";
|
||||
public const string Training = "list-training";
|
||||
public const string Reservation = "list-reservation";
|
||||
public const string ShuttleRoute = "list-shuttleroute";
|
||||
public const string Announcement = "list-announcement";
|
||||
public const string Visitor = "list-visitor";
|
||||
public const string Expense = "list-expense";
|
||||
public const string Survey = "list-survey";
|
||||
public const string SurveyQuestion = "list-surveyquestion";
|
||||
public const string SurveyQuestionOption = "list-surveyquestionoption";
|
||||
public const string SurveyResponse = "list-surveyresponse";
|
||||
public const string SocialPost = "list-socialpost";
|
||||
public const string SocialComment = "list-socialcomment";
|
||||
|
||||
//Supply Chain
|
||||
public const string MaterialType = "list-materialtype";
|
||||
public const string MaterialGroup = "list-materialgroup";
|
||||
public const string Material = "list-material";
|
||||
public const string Supply = "list-supply";
|
||||
public const string PaymentTerm = "list-paymentterm";
|
||||
public const string SupplyType = "list-supplytype";
|
||||
public const string SupplyCardType = "list-supplycardtype";
|
||||
public const string Approval = "list-approval";
|
||||
public const string ApprovalStep = "list-approvalstep";
|
||||
public const string RequestType = "list-requesttype";
|
||||
public const string Request = "list-request";
|
||||
public const string RequestItem = "list-requestitem";
|
||||
|
||||
public const string PartnerBank = "list-partnerbank";
|
||||
public const string PartnerCertificate = "list-partnercertificate";
|
||||
public const string PartnerContact = "list-partnercontact";
|
||||
|
||||
//Crm
|
||||
public const string CustomerType = "list-customertype";
|
||||
public const string CustomerSegment = "list-customersegment";
|
||||
public const string Customer = "list-customer";
|
||||
public const string LossReason = "list-lossreason";
|
||||
public const string Opportunity = "list-opportunity";
|
||||
public const string OpportunityActivity = "list-opportunityactivity";
|
||||
public const string OpportunityCompetitor = "list-opportunitycompetitor";
|
||||
|
||||
//Maintenance
|
||||
public const string WorkcenterType = "list-workcentertype";
|
||||
public const string WorkcenterStatus = "list-workcenterstatus";
|
||||
public const string Workcenter = "list-workcenter";
|
||||
public const string Plan = "list-maintenanceplan";
|
||||
public const string PlanMaterial = "list-maintenanceplanmaterial";
|
||||
public const string PlanEmployee = "list-maintenanceplanemployee";
|
||||
public const string Fault = "list-fault";
|
||||
public const string FaultType = "list-faulttype";
|
||||
public const string FaultStatus = "list-faultstatus";
|
||||
public const string Workorder = "list-workorder";
|
||||
public const string WorkorderType = "list-workordertype";
|
||||
public const string WorkorderStatus = "list-workorderstatus";
|
||||
}
|
||||
}
|
||||
|
||||
public static class Wizard
|
||||
{
|
||||
public static string WizardKey(string code) => $"{Prefix.App}.{AppName}.{code}";
|
||||
|
|
|
|||
Loading…
Reference in a new issue