@if(deleteReport$ |async){} @if(saveReport$ | async){} @if(deleteReportResult$ |async){} @if(saveReportResult$ | async){} @if(reportDetail$|async){} @if(loading){}
@if ((requiredData$ | async)?.hasReportModifyPermission) {
Add New
}
Running
@for (runningItem of runningReports; track runningItem.runningId) {
{{ runningItem.name }}
}
@if ((requiredData$ | async)?.hasReportModifyPermission) {
Show reports for all users
}
@if (setFilterSelectedResult$ | async) { } @if (setSaveAsPdfResult$ | async) { } @if (copyFilterResult$ | async) { }
@if ((reports$ | async) && (reportsFiltered$ | async)?.length === 0) {
No reports matched your search
} @for (report of reportsFiltered$ | async; track report.id) {
{{ report.name }}
Filter:
@if ((requiredData$ | async)?.hasReportModifyPermission) {

This will copy the selected filter to all users that have permission to this report.

If new users are given permission then it may need to be copied again.

If a user already has a filter with the same name for this report then it will be overwritten.

Are you sure you want to continue?

}
Edit Filters
Run
@for (dataSource of report.dataSourceSet[report.selectedFilterId ? report.selectedFilterId : 0]; track dataSource.id) {
{{ dataSource.name }}
@for (itemFilter of dataSource.itemFilters; track $index) {
{{ itemFilter.filterHeader }}
@for (filterValue of itemFilter.filterValues; track $index) {
{{ filterValue }}
}
}
}
}
@if (editorOpened()) { @if (editorLoading$| async) { }
Report Name
Template File
{{formEditor.value.templateFileNameOriginal}}
Data Sources
Groups (this report shows for users in these groups)
Users
Notes
@if (formEditor.value.id !== 0) {
Delete
} @else {
}
Save
Cancel
} @if(filterEditorOpened()) { }