Added postal address search to client report

This commit is contained in:
naomi 2021-12-31 10:50:50 +00:00
parent 9efc299d56
commit 875a7f0b38
1 changed files with 325 additions and 215 deletions

View File

@ -33,175 +33,12 @@ base_table: oc_organisation_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: bef
options:
submit_button: Apply
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
text_input_required: 'Select any filter and click on Apply to see results'
text_input_required_format: full_html
bef:
general:
autosubmit: false
autosubmit_exclude_textfield: true
autosubmit_textfield_delay: 500
autosubmit_hide: false
input_required: false
allow_secondary: false
secondary_label: 'Advanced options'
secondary_open: false
filter:
field_client_status_target_id:
plugin_id: bef
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
select_all_none: false
select_all_none_nested: false
display_inline: false
field_tags_target_id:
plugin_id: default
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
field_type_of_umbrella_client_value:
plugin_id: default
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
field_accreditation_date_value:
plugin_id: default
advanced:
collapsible: false
is_secondary: false
pager:
type: full
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
tags:
previous:
next:
first: '« First'
last: 'Last »'
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
quantity: 9
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
field_accreditation_date: field_accreditation_date
field_client_type: field_client_type
field_client_subtype: field_client_subtype
field_tags: field_tags
field_umbrella_client: field_umbrella_client
field_type_of_umbrella_client: field_type_of_umbrella_client
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_accreditation_date:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_client_type:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_client_subtype:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
empty_column: false
responsive: ''
field_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_type_of_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
type: fields
title: 'Client Report'
fields:
name:
id: name
@ -210,6 +47,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
exclude: false
alter:
@ -265,9 +105,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
field_accreditation_date:
id: field_accreditation_date
table: oc_organisation__field_accreditation_date
@ -275,6 +112,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Accreditation date'
exclude: false
alter:
@ -331,7 +169,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_client_type:
id: field_client_type
table: oc_organisation__field_client_type
@ -339,6 +176,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Client type'
exclude: false
alter:
@ -394,7 +232,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_client_subtype:
id: field_client_subtype
table: oc_organisation__field_client_subtype
@ -402,6 +239,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Client subtype'
exclude: false
alter:
@ -457,7 +295,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_client_status:
id: field_client_status
table: oc_organisation__field_client_status
@ -465,6 +302,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Client Status'
exclude: false
alter:
@ -520,7 +358,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_client_substatus:
id: field_client_substatus
table: oc_organisation__field_client_substatus
@ -528,6 +365,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Client substatus'
exclude: false
alter:
@ -583,7 +421,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_tags:
id: field_tags
table: oc_organisation__field_tags
@ -591,6 +428,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Tags
exclude: false
alter:
@ -646,7 +484,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_umbrella_client:
id: field_umbrella_client
table: oc_organisation__field_umbrella_client
@ -654,6 +491,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Umbrella client'
exclude: false
alter:
@ -709,7 +547,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_type_of_umbrella_client:
id: field_type_of_umbrella_client
table: oc_organisation__field_type_of_umbrella_client
@ -717,6 +554,7 @@ display:
relationship: field_umbrella_client
group_type: group
admin_label: ''
plugin_id: field
label: 'Type of umbrella client'
exclude: false
alter:
@ -771,34 +609,196 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
postal_address:
id: postal_address
table: oc_organisation_field_data
field: postal_address
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: postal_address
plugin_id: field
label: Address
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: basic_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
pager:
type: full
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next:
previous:
first: '« First'
last: 'Last »'
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
quantity: 9
exposed_form:
type: bef
options:
submit_button: Apply
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
text_input_required: 'Select any filter and click on Apply to see results'
text_input_required_format: full_html
bef:
general:
autosubmit: false
autosubmit_exclude_textfield: true
autosubmit_textfield_delay: 500
autosubmit_hide: false
input_required: false
allow_secondary: false
secondary_label: 'Advanced options'
secondary_open: false
filter:
field_client_status_target_id:
plugin_id: bef
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
select_all_none: false
select_all_none_nested: false
display_inline: false
field_tags_target_id:
plugin_id: default
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
field_type_of_umbrella_client_value:
plugin_id: default
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
collapsible: false
is_secondary: false
field_accreditation_date_value:
plugin_id: default
advanced:
collapsible: false
is_secondary: false
access:
type: role
options:
role:
authenticated: authenticated
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: 'None found'
tokenize: false
sorts: { }
arguments: { }
filters:
status:
value: '1'
id: status
table: oc_organisation_field_data
field: status
plugin_id: boolean
entity_type: oc_organisation
entity_field: status
id: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
type:
id: type
table: oc_organisation_field_data
field: type
value:
client: client
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
value:
client: client
group: 1
expose:
operator_limit_selection: false
operator_list: { }
group: 1
field_client_status_target_id:
id: field_client_status_target_id
table: oc_organisation__field_client_status
@ -806,6 +806,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: taxonomy_index_tid
operator: or
value: { }
group: 1
@ -843,12 +844,11 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
type: select
limit: true
vid: client_status
type: select
hierarchy: false
limit: true
error_message: true
plugin_id: taxonomy_index_tid
field_tags_target_id:
id: field_tags_target_id
table: oc_organisation__field_tags
@ -856,6 +856,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: taxonomy_index_tid
operator: or
value: { }
group: 1
@ -893,12 +894,11 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
type: select
limit: true
vid: tags
type: select
hierarchy: false
limit: true
error_message: true
plugin_id: taxonomy_index_tid
field_type_of_umbrella_client_value:
id: field_type_of_umbrella_client_value
table: oc_organisation__field_type_of_umbrella_client
@ -906,6 +906,7 @@ display:
relationship: field_umbrella_client
group_type: group
admin_label: ''
plugin_id: list_field
operator: or
value: { }
group: 1
@ -943,7 +944,6 @@ display:
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
plugin_id: list_field
field_accreditation_date_value:
id: field_accreditation_date_value
table: oc_organisation__field_accreditation_date
@ -951,6 +951,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: datetime
operator: between
value:
min: ''
@ -978,9 +979,9 @@ display:
gno_admin_user: '0'
follow_up_alerts: '0'
newly_accredited_alerts: '0'
placeholder: ''
min_placeholder: ''
max_placeholder: ''
placeholder: ''
is_grouped: false
group_info:
label: ''
@ -993,23 +994,135 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
plugin_id: datetime
sorts: { }
title: 'Client Report'
header: { }
footer: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
postal_address:
id: postal_address
table: oc_organisation_field_data
field: postal_address
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: 'None found'
plugin_id: text_custom
entity_type: oc_organisation
entity_field: postal_address
plugin_id: string
operator: contains
value: ''
group: 1
exposed: true
expose:
operator_id: postal_address_op
label: 'Address contains ...'
description: ''
use_operator: false
operator: postal_address_op
operator_limit_selection: false
operator_list: { }
identifier: postal_address
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'
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: { }
filter_groups:
operator: AND
groups:
1: AND
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
columns:
name: name
field_accreditation_date: field_accreditation_date
field_client_type: field_client_type
field_client_subtype: field_client_subtype
field_tags: field_tags
field_umbrella_client: field_umbrella_client
field_type_of_umbrella_client: field_type_of_umbrella_client
default: '-1'
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_accreditation_date:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_client_type:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_client_subtype:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
empty_column: false
responsive: ''
field_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_type_of_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships:
field_umbrella_client:
id: field_umbrella_client
@ -1018,14 +1131,11 @@ display:
relationship: none
group_type: group
admin_label: 'field_umbrella_client: Organisation'
required: false
plugin_id: standard
arguments: { }
required: false
header: { }
footer: { }
display_extenders: { }
filter_groups:
operator: AND
groups:
1: AND
cache_metadata:
max-age: -1
contexts:
@ -1045,23 +1155,23 @@ display:
- 'config:field.storage.oc_organisation.field_type_of_umbrella_client'
- 'config:field.storage.oc_organisation.field_umbrella_client'
page_1:
display_plugin: page
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
exposed_block: true
display_extenders: { }
path: client-report
exposed_block: true
menu:
type: normal
title: 'Client Report'
description: ''
expanded: false
parent: opencase.reporting
weight: 0
context: '0'
expanded: false
menu_name: opencase
parent: opencase.reporting
context: '0'
cache_metadata:
max-age: -1
contexts: