This repository has been archived on 2022-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
opencase/config/optional/views.view.training_report.yml
2022-06-03 11:53:40 +02:00

696 lines
19 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

uuid: b90d9369-451f-4f14-984b-171501d868e1
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case.field_date_of_training
- field.storage.oc_case.field_number_of_participants
- field.storage.oc_case.field_training_status
- field.storage.oc_case.field_training_type
- opencase_cases.oc_case_type.training
- system.menu.opencase
- user.role.gno_admin_user
module:
- csv_serialization
- datetime
- opencase_cases
- opencase_entities
- options
- rest
- serialization
- user
- views_data_export
id: training_report
label: 'Training Report'
module: views
description: ''
tag: ''
base_table: oc_case_field_data
base_field: id
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: 'Training Report'
fields:
name:
id: name
table: oc_case_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
client:
id: client
table: oc_case_field_data
field: client
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case
entity_field: client
plugin_id: field
label: Client
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_training_type:
id: field_training_type
table: oc_case__field_training_type
field: field_training_type
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Training type'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_date_of_training:
id: field_date_of_training
table: oc_case__field_date_of_training
field: field_date_of_training
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Date and time of training'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: datetime_default
settings:
timezone_override: ''
format_type: medium
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_number_of_participants:
id: field_number_of_participants
table: oc_case__field_number_of_participants
field: field_number_of_participants
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Number of participants'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_training_status:
id: field_training_status
table: oc_case__field_training_status
field: field_training_status
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Training Status'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments: { }
filters:
type:
id: type
table: oc_case_field_data
field: type
entity_type: oc_case
entity_field: type
plugin_id: bundle
value:
training: training
expose:
operator_limit_selection: false
operator_list: { }
name:
id: name
table: oc_organisation_field_data
field: name
relationship: client
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: name
plugin_id: string
operator: contains
value: ''
group: 1
exposed: true
expose:
operator_id: name_op
label: 'Client name contains...'
description: ''
use_operator: false
operator: name_op
operator_limit_selection: false
operator_list: { }
identifier: name
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
gno_admin_user: '0'
follow_up_alerts: '0'
newly_accredited_alerts: '0'
invoicing_alerts: '0'
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
columns:
name: name
client: client
field_training_type: field_training_type
field_date_of_training: field_date_of_training
field_number_of_participants: field_number_of_participants
field_training_status: field_training_status
default: '-1'
info:
name:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
client:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_training_type:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_date_of_training:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_number_of_participants:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_training_status:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: 'entity:oc_case'
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships:
client:
id: client
table: oc_case_field_data
field: client
relationship: none
group_type: group
admin_label: Organisation
entity_type: oc_case
entity_field: client
plugin_id: standard
required: true
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags:
- 'config:field.storage.oc_case.field_date_of_training'
- 'config:field.storage.oc_case.field_number_of_participants'
- 'config:field.storage.oc_case.field_training_status'
- 'config:field.storage.oc_case.field_training_type'
data_export_1:
id: data_export_1
display_title: 'Data export'
display_plugin: data_export
position: 2
display_options:
style:
type: data_export
options:
formats:
csv: csv
csv_settings:
delimiter: ','
enclosure: '"'
escape_char: \
strip_tags: true
trim: true
encoding: utf8
utf8_bom: '0'
use_serializer_encode_only: false
display_extenders: { }
path: training-report/download
auth:
- cookie
displays:
page_1: page_1
default: '0'
filename: '[view:label]-[date:short].csv'
automatic_download: false
store_in_public_file_directory: null
custom_redirect_path: false
redirect_to_display: none
include_query_params: false
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- request_format
- url
- user.roles
tags:
- 'config:field.storage.oc_case.field_date_of_training'
- 'config:field.storage.oc_case.field_number_of_participants'
- 'config:field.storage.oc_case.field_training_status'
- 'config:field.storage.oc_case.field_training_type'
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: training-report
menu:
type: normal
title: 'Training report'
description: ''
weight: 0
expanded: false
menu_name: opencase
parent: opencase.reporting
context: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags:
- 'config:field.storage.oc_case.field_date_of_training'
- 'config:field.storage.oc_case.field_number_of_participants'
- 'config:field.storage.oc_case.field_training_status'
- 'config:field.storage.oc_case.field_training_type'