contacts_events-8.x-1.x-dev/modules/villages/config/install/views.view.contacts_events_village_hosts_report.yml
modules/villages/config/install/views.view.contacts_events_village_hosts_report.yml
uuid: 35245c42-a1aa-4a2f-8ee5-33f2403a20b8
langcode: en
status: true
dependencies:
config:
- commerce_order.commerce_order_type.contacts_booking
- field.storage.commerce_order.village_requirements
module:
- commerce
- commerce_order
- contacts_events_accommodation
- contacts_events_villages
id: contacts_events_village_hosts_report
label: 'Host Report'
module: views
description: 'View for the Village Host report.'
tag: ''
base_table: commerce_order
base_field: order_id
core: 8.x
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: host_report
options: { }
cache:
type: none
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
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
pager:
type: none
options:
items_per_page: 0
offset: 0
style:
type: default
options:
grouping:
-
field: id
rendered: false
rendered_strip: false
row_class: ''
default_row_class: true
row:
type: fields
options:
default_field_elements: false
inline: { }
separator: ''
hide_empty: false
fields:
name:
id: name
table: c_events_village_group
field: name
relationship: village_group
group_type: group
admin_label: ''
label: ''
exclude: true
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: false
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:
link_to_entity: false
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
entity_type: c_events_village_group
entity_field: name
plugin_id: field
type:
id: type
table: c_events_village_group
field: type
relationship: village_group
group_type: group
admin_label: ''
label: ''
exclude: true
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: false
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:
link_to_entity: false
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
entity_type: c_events_village_group
entity_field: type
plugin_id: field
id:
id: id
table: c_events_village_group
field: id
relationship: village_group
group_type: group
admin_label: ''
label: ''
exclude: true
alter:
alter_text: true
text: "<div class=\"camping-group\">\r\n <h2 class=\"camping-group-name\">{{ name }}</h2>\r\n <h2 class=\"camping-group-type\">({{ type }})</h2>\r\n</div>\r\n<div class=\"camping-group-totals\">\r\n {% set _group_total = _group_totals[id__value] %}\r\n <h6>Total delegates: {{ _group_total.delegates }}</h5>\r\n <h6>Total bookings: {{ _group_total.bookings }}</h5>\r\n <h6>Total pitches: {{ _group_total.pitches }}</h5>\r\n</div>"
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: false
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_unformatted
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
entity_type: c_events_village_group
entity_field: id
plugin_id: field
order_number:
id: order_number
table: commerce_order
field: order_number
relationship: none
group_type: group
admin_label: ''
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: false
element_wrapper_type: h5
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:
link_to_entity: false
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
entity_type: null
entity_field: order_number
plugin_id: field
uid:
id: uid
table: commerce_order
field: uid
relationship: none
group_type: group
admin_label: ''
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: false
element_wrapper_type: h5
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: false
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
entity_type: commerce_order
entity_field: uid
plugin_id: field
accommodation:
id: accommodation
table: commerce_order
field: accommodation
relationship: none
group_type: group
admin_label: ''
label: Accommodation
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: strong
element_label_class: ''
element_label_colon: true
element_wrapper_type: div
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
entity_type: commerce_order
plugin_id: contacts_events_accommodation_booking_accommodation
village_requirements:
id: village_requirements
table: commerce_order__village_requirements
field: village_requirements
relationship: none
group_type: group
admin_label: ''
label: Requirements
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: strong
element_label_class: ''
element_label_colon: true
element_wrapper_type: div
element_wrapper_class: ''
element_default_classes: true
empty: None
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: ul
separator: ', '
field_api_classes: false
plugin_id: field
host_report_delegates:
id: host_report_delegates
table: commerce_order
field: host_report_delegates
relationship: none
group_type: group
admin_label: ''
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: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
entity_type: commerce_order
plugin_id: contacts_events_villages_host_report_delegates
filters:
type:
id: type
table: commerce_order
field: type
value:
contacts_booking: contacts_booking
entity_type: commerce_order
entity_field: type
plugin_id: commerce_entity_bundle
sorts:
allocation_sorting_code:
id: allocation_sorting_code
table: c_events_village_group
field: allocation_sorting_code
relationship: village_group
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
entity_type: c_events_village_group
entity_field: allocation_sorting_code
plugin_id: standard
name:
id: name
table: c_events_village_group
field: name
relationship: village_group
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
entity_type: c_events_village_group
entity_field: name
plugin_id: standard
id:
id: id
table: c_events_village_group
field: id
relationship: village_group
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
entity_type: c_events_village_group
entity_field: id
plugin_id: standard
order_id:
id: order_id
table: commerce_order
field: order_id
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
entity_type: commerce_order
entity_field: order_id
plugin_id: standard
title: 'Host Report'
header:
area:
id: area
table: views
field: area
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: true
content:
value: "<h4>Total delegates: {{ _totals.delegates }}</h4>\r\n<h4>Total bookings: {{ _totals.bookings }}</h4>\r\n<h4>Total camping groups: {{ _totals.camping_groups }}</h4>\r\n<h4>Total pitches: {{ _totals.pitches }}</h4>"
format: full_html
plugin_id: text
footer: { }
empty: { }
relationships:
village_group:
id: village_group
table: commerce_order__village_group
field: village_group
relationship: none
group_type: group
admin_label: 'Camping Location'
required: false
entity_type: commerce_order
plugin_id: standard
arguments:
event_target_id_1:
id: event_target_id_1
table: commerce_order__event
field: event_target_id
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 1
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:contacts_event'
fail: 'not found'
validate_options:
operation: view
multiple: 0
bundles: { }
access: false
break_phrase: false
not: false
plugin_id: numeric
village_target_id_1:
id: village_target_id_1
table: commerce_order__village
field: village_target_id
relationship: none
group_type: group
admin_label: ''
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 3
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
items_per_page: 25
override: false
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:c_events_village'
fail: 'not found'
validate_options:
operation: view
multiple: 0
access: false
bundles: { }
break_phrase: false
not: false
plugin_id: numeric
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags:
- 'config:field.storage.commerce_order.village_requirements'
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: event/%contacts_event/village-host-info/%village/report
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
tags:
- 'config:field.storage.commerce_order.village_requirements'
