diff --git a/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/SubFormDto.cs b/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/SubFormDto.cs index d70476cf..12d7c42c 100644 --- a/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/SubFormDto.cs +++ b/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/SubFormDto.cs @@ -5,6 +5,7 @@ public class SubFormDto public string TabTitle { get; set; } public string TabType { get; set; } public string Code { get; set; } + public bool IsRefresh { get; set; } public SubFormRelationDto[] Relation { get; set; } } diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/HostData.json b/api/src/Kurs.Platform.DbMigrator/Seeds/HostData.json index af2d17af..23b7f4fd 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/HostData.json +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/HostData.json @@ -6007,6 +6007,12 @@ "en": "List Form Code", "tr": "List Form Code" }, + { + "resourceName": "Platform", + "key": "ListForms.ListFormEdit.SubFormsIsRefresh", + "en": "Is Refresh", + "tr": "Yenilensin mi?" + }, { "resourceName": "Platform", "key": "ListForms.ListFormEdit.SubFormsRelation", @@ -12658,13 +12664,6 @@ "routeType": "protected", "authority": [] }, - { - "key": "admin.pivot", - "path": "/admin/pivot/:listFormCode", - "componentPath": "@/views/list/ListPivot", - "routeType": "protected", - "authority": [] - }, { "key": "admin.developerkit", "path": "/admin/developerkit", diff --git a/api/src/Kurs.Platform.Domain/Queries/SubForm.cs b/api/src/Kurs.Platform.Domain/Queries/SubForm.cs index da03eb51..240da14d 100644 --- a/api/src/Kurs.Platform.Domain/Queries/SubForm.cs +++ b/api/src/Kurs.Platform.Domain/Queries/SubForm.cs @@ -8,6 +8,7 @@ public class SubForm : ValueObject public string TabTitle { get; set; } public string TabType { get; set; } public string Code { get; set; } + public bool IsRefresh { get; set; } public SubFormRelation[] Relation { get; set; } protected override IEnumerable GetAtomicValues() @@ -15,6 +16,7 @@ public class SubForm : ValueObject yield return TabTitle; yield return TabType; yield return Code; + yield return IsRefresh; yield return Relation; } } diff --git a/ui/src/proxy/admin/list-form/models.ts b/ui/src/proxy/admin/list-form/models.ts index 638d25f3..db57c912 100644 --- a/ui/src/proxy/admin/list-form/models.ts +++ b/ui/src/proxy/admin/list-form/models.ts @@ -46,7 +46,6 @@ export interface ListFormJsonRowDto { itemSubForm?: SubFormDto itemWidget?: WidgetEditDto itemExtraFilter?: ExtraFilterEditDto - itemChartAnnotation?: ChartAnnotationDto itemChartPanes?: ChartPanesDto itemChartSeries?: ChartSeriesDto diff --git a/ui/src/proxy/form/models.ts b/ui/src/proxy/form/models.ts index b495f0db..67af7a43 100644 --- a/ui/src/proxy/form/models.ts +++ b/ui/src/proxy/form/models.ts @@ -673,6 +673,7 @@ export interface SubFormDto { tabTitle: string tabType: SubFormTabTypeEnum code: string + isRefresh: boolean relation: SubFormRelationDto[] tabMode: RowMode diff --git a/ui/src/views/admin/listForm/edit/FormTabSubForm.tsx b/ui/src/views/admin/listForm/edit/FormTabSubForm.tsx index 9ffccf3c..448747b0 100644 --- a/ui/src/views/admin/listForm/edit/FormTabSubForm.tsx +++ b/ui/src/views/admin/listForm/edit/FormTabSubForm.tsx @@ -57,6 +57,7 @@ function FormTabSubForm() { {translate('::ListForms.ListFormEdit.SubFormsTabTitle')} {translate('::ListForms.ListFormEdit.SubFormsTabType')} {translate('::ListForms.ListFormEdit.SubFormsCode')} + {translate('::ListForms.ListFormEdit.SubFormsIsRefresh')} {translate('::ListForms.ListFormEdit.SubFormsRelation')} @@ -105,6 +106,7 @@ function FormTabSubForm() { {row.tabTitle} {row.tabType} {row.code} + {row.isRefresh ? 'Evet' : 'Hayır'}