From 651e1e80b9162e9be1a0279bfe6c3e0667e75a74 Mon Sep 17 00:00:00 2001 From: naomi Date: Wed, 20 Apr 2022 14:50:37 +0100 Subject: [PATCH] =?UTF-8?q?Reports=20=E2=80=A2=20Cannot=20filter=20by=20Cl?= =?UTF-8?q?ient=20type,=20Client=20subtype,=20Tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/views.view.case_fees_report.yml | 168 +++++++++++++++++++++++++ config/views.view.client_report.yml | 102 +++++++++++++++ 2 files changed, 270 insertions(+) diff --git a/config/views.view.case_fees_report.yml b/config/views.view.case_fees_report.yml index 5651393..231562a 100644 --- a/config/views.view.case_fees_report.yml +++ b/config/views.view.case_fees_report.yml @@ -6,10 +6,13 @@ dependencies: - field.storage.oc_case.field_contract_signed_date - field.storage.oc_organisation.field_client_subtype - field.storage.oc_organisation.field_client_type + - field.storage.oc_organisation.field_tags - field.storage.oc_organisation.field_type_of_umbrella_client - field.storage.oc_organisation.field_umbrella_client - system.menu.opencase + - taxonomy.vocabulary.client_subtypes - taxonomy.vocabulary.client_types + - taxonomy.vocabulary.tags - user.role.gno_admin_user module: - datetime @@ -351,6 +354,69 @@ display: multi_type: separator separator: ', ' field_api_classes: false + field_tags: + id: field_tags + table: oc_organisation__field_tags + field: field_tags + relationship: client + group_type: group + admin_label: '' + plugin_id: field + label: 'Client Tags' + 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 oc_case: id: oc_case table: oc_case_fee_field_data @@ -716,6 +782,106 @@ display: hierarchy: false limit: true error_message: true + field_client_subtype_target_id: + id: field_client_subtype_target_id + table: oc_organisation__field_client_subtype + field: field_client_subtype_target_id + relationship: client + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: field_client_subtype_target_id_op + label: 'Client subtype' + description: '' + use_operator: false + operator: field_client_subtype_target_id_op + operator_limit_selection: false + operator_list: { } + identifier: field_client_subtype_target_id + 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' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: client_subtypes + type: select + hierarchy: false + limit: true + error_message: true + field_tags_target_id: + id: field_tags_target_id + table: oc_organisation__field_tags + field: field_tags_target_id + relationship: client + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: field_tags_target_id_op + label: 'Client Tags' + description: '' + use_operator: false + operator: field_tags_target_id_op + operator_limit_selection: false + operator_list: { } + identifier: field_tags_target_id + 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' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: tags + type: select + hierarchy: false + limit: true + error_message: true field_type_of_umbrella_client_value: id: field_type_of_umbrella_client_value table: oc_organisation__field_type_of_umbrella_client @@ -898,6 +1064,7 @@ display: - 'config:field.storage.oc_case.field_contract_signed_date' - 'config:field.storage.oc_organisation.field_client_subtype' - 'config:field.storage.oc_organisation.field_client_type' + - 'config:field.storage.oc_organisation.field_tags' - 'config:field.storage.oc_organisation.field_type_of_umbrella_client' - 'config:field.storage.oc_organisation.field_umbrella_client' attachment_1: @@ -1119,5 +1286,6 @@ display: - 'config:field.storage.oc_case.field_contract_signed_date' - 'config:field.storage.oc_organisation.field_client_subtype' - 'config:field.storage.oc_organisation.field_client_type' + - 'config:field.storage.oc_organisation.field_tags' - 'config:field.storage.oc_organisation.field_type_of_umbrella_client' - 'config:field.storage.oc_organisation.field_umbrella_client' diff --git a/config/views.view.client_report.yml b/config/views.view.client_report.yml index b5fe9eb..e676300 100644 --- a/config/views.view.client_report.yml +++ b/config/views.view.client_report.yml @@ -14,6 +14,8 @@ dependencies: - opencase_entities.oc_organisation_type.client - system.menu.opencase - taxonomy.vocabulary.client_status + - taxonomy.vocabulary.client_subtypes + - taxonomy.vocabulary.client_types - taxonomy.vocabulary.tags - user.role.administrator - user.role.gno_admin_user @@ -1040,6 +1042,106 @@ display: default_group: All default_group_multiple: { } group_items: { } + field_client_subtype_target_id: + id: field_client_subtype_target_id + table: oc_organisation__field_client_subtype + field: field_client_subtype_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: field_client_subtype_target_id_op + label: 'Client subtype' + description: '' + use_operator: false + operator: field_client_subtype_target_id_op + operator_limit_selection: false + operator_list: { } + identifier: field_client_subtype_target_id + 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' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: client_subtypes + type: select + hierarchy: false + limit: true + error_message: true + field_client_type_target_id: + id: field_client_type_target_id + table: oc_organisation__field_client_type + field: field_client_type_target_id + relationship: none + group_type: group + admin_label: '' + plugin_id: taxonomy_index_tid + operator: or + value: { } + group: 1 + exposed: true + expose: + operator_id: field_client_type_target_id_op + label: 'Client type (field_client_type)' + description: '' + use_operator: false + operator: field_client_type_target_id_op + operator_limit_selection: false + operator_list: { } + identifier: field_client_type_target_id + 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' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + vid: client_types + type: select + hierarchy: false + limit: true + error_message: true filter_groups: operator: AND groups: