Download button for reports

This commit is contained in:
naomi 2022-05-12 10:37:07 +01:00
parent e63663255e
commit 4a222153af
29 changed files with 1010 additions and 196 deletions

View File

@ -1,22 +0,0 @@
uuid: 0420cf43-7f91-4c16-80aa-f76d56641c9f
langcode: en
status: true
dependencies:
module:
- system
theme:
- bartik
_core:
default_config_hash: y0bXRvKYQQKkf_RVxA3aOPGpIfKKsDOzzrWYCgjxJ9Y
id: bartik_breadcrumbs
theme: bartik
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }

View File

@ -1,29 +0,0 @@
uuid: 22782d1b-4b5d-422e-9609-96e63ffd39da
langcode: en
status: true
dependencies:
config:
- views.view.cases
module:
- route_condition
- views
theme:
- bartik
id: views_block__cases_block_1
theme: bartik
region: content
weight: 0
provider: null
plugin: 'views_block:cases-block_1'
settings:
id: 'views_block:cases-block_1'
label: ''
label_display: visible
provider: views
views_label: ''
items_per_page: none
visibility:
route:
id: route
negate: false
routes: entity.oc_actor.canonical

View File

@ -3,12 +3,25 @@ langcode: en
status: true
dependencies:
config:
- field.field.oc_case_provision.caseworker.field_test
- opencase_cases.oc_case_provision_type.caseworker
module:
- hide_revision_field
id: oc_case_provision.caseworker.default
targetEntityType: oc_case_provision
bundle: caseworker
mode: default
content:
field_test:
type: entity_reference_autocomplete
weight: 81
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
oc_case:
type: entity_reference_autocomplete
weight: 0

View File

@ -1,34 +0,0 @@
uuid: af8b76e1-d9c9-4e4b-8a00-0831b7822170
langcode: en
status: true
dependencies:
config:
- field.field.oc_event.piss_up.field_test
- opencase_entities.oc_event_type.piss_up
module:
- datetime
id: oc_event.piss_up.default
targetEntityType: oc_event
bundle: piss_up
mode: default
content:
field_test:
type: entity_reference_autocomplete
weight: 51
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
name:
type: string_textfield
weight: -4
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
status: true

View File

@ -17,31 +17,36 @@ dependencies:
- field.field.oc_actor.client.field_marital_
- field.field.oc_actor.client.field_nationalities
- field.field.oc_actor.client.field_referred_by
- field.field.oc_actor.client.field_sex
- opencase_entities.oc_actor_type.client
module:
- datetime
- file
- options
- user
id: oc_actor.client.default
targetEntityType: oc_actor
bundle: client
mode: default
content:
cases:
settings: { }
third_party_settings: { }
weight: 19
region: content
email:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: -5
weight: 0
region: content
field_asylum_status:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 3
weight: 8
region: content
field_client_field_1:
type: string
@ -57,7 +62,7 @@ content:
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 12
weight: 17
region: content
field_date_of_birth:
type: datetime_default
@ -66,7 +71,7 @@ content:
timezone_override: ''
format_type: short
third_party_settings: { }
weight: 0
weight: 5
region: content
field_dependants:
type: string
@ -74,7 +79,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 9
weight: 14
region: content
field_disability:
type: string
@ -82,7 +87,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 7
weight: 12
region: content
field_ethnic_o:
type: string
@ -90,56 +95,56 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
weight: 9
region: content
field_gender_identified_with:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 1
weight: 6
region: content
field_general_noes:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 13
weight: 18
region: content
field_how_heard:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 10
weight: 15
region: content
field_income:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 8
weight: 13
region: content
field_languages_spoken:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 6
weight: 11
region: content
field_marital_:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 2
weight: 7
region: content
field_nationalities:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 5
weight: 10
region: content
field_referred_by:
type: string
@ -147,7 +152,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 11
weight: 16
region: content
name:
type: string
@ -163,7 +168,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: -4
weight: 1
region: content
phone2:
type: string
@ -171,7 +176,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: -3
weight: 2
region: content
post_code:
type: string
@ -179,14 +184,14 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: -1
weight: 4
region: content
postal_address:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: -2
weight: 3
region: content
hidden:
field_sex: true
@ -194,3 +199,5 @@ hidden:
last_name: true
middle_names: true
search_api_excerpt: true
status: true
user_id: true

View File

@ -23,7 +23,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: -5
weight: 0
region: content
field_ethnic_o:
type: string
@ -31,35 +31,35 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 6
weight: 10
region: content
field_general_noes:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: 5
weight: 9
region: content
field_languages_spoken:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 2
weight: 6
region: content
field_nationalities:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 1
weight: 5
region: content
field_osic_level:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 3
weight: 7
region: content
field_sdfdsfds:
type: text_default
@ -73,7 +73,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 4
weight: 8
region: content
name:
type: string
@ -89,7 +89,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: -4
weight: 1
region: content
phone2:
type: string
@ -97,7 +97,7 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: -3
weight: 2
region: content
post_code:
type: string
@ -105,17 +105,28 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: -1
weight: 4
region: content
postal_address:
type: basic_string
label: above
settings: { }
third_party_settings: { }
weight: -2
weight: 3
region: content
total_cases:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 11
region: content
hidden:
first_name: true
last_name: true
middle_names: true
search_api_excerpt: true
status: true
user_id: true

View File

@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.oc_case_provision.caseworker.field_test
- opencase_cases.oc_case_provision_type.caseworker
module:
- user
@ -11,6 +12,14 @@ targetEntityType: oc_case_provision
bundle: caseworker
mode: default
content:
field_test:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 4
region: content
oc_case_provider_role:
type: entity_reference_label
label: above

View File

@ -1,25 +0,0 @@
uuid: d4b5d087-cb11-45a3-aeb7-9a7657f25e07
langcode: en
status: true
dependencies:
config:
- field.field.oc_event.piss_up.field_test
- opencase_entities.oc_event_type.piss_up
module:
- datetime
id: oc_event.piss_up.default
targetEntityType: oc_event
bundle: piss_up
mode: default
content:
field_test:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 51
region: content
hidden:
name: true
search_api_excerpt: true

View File

@ -7,3 +7,27 @@ definitions:
weight: 0
expanded: false
enabled: true
opencase__reporting:
weight: -48
menu_name: opencase
parent: ''
enabled: true
expanded: false
opencase__see_all:
weight: -50
menu_name: opencase
parent: ''
expanded: false
enabled: true
opencase__opencase_add_new_things_menu:
weight: -49
menu_name: opencase
parent: ''
expanded: false
enabled: true
opencase__opencase_admin_menu:
weight: -47
menu_name: opencase
parent: ''
expanded: false
enabled: true

View File

@ -43,13 +43,15 @@ settings:
items:
- Source
plugins:
language:
language_list: un
stylescombo:
styles: ''
image_upload:
status: true
status: false
scheme: public
directory: inline-images
max_size: ''
max_dimensions:
width: 0
height: 0
width: null
height: null

View File

@ -0,0 +1,43 @@
uuid: 4c460157-a452-4eec-9616-6c00b30c110c
langcode: en
status: true
dependencies:
config:
- user.role.authenticated
module:
- opencase_entities
- user
id: oc_actor.client.activities
label: Activities
display_label: true
name: activities
description: ''
base_entity_type_id: oc_actor
base_bundle_type_id: client
field_type_id: views
field_type_config:
view_name: activities
display: block_1
arguments: ''
field_type_condition:
'entity_bundle:oc_actor':
id: 'entity_bundle:oc_actor'
negate: false
context_mapping:
oc_actor: entity_extra_field.target_entity
bundles: { }
route:
id: route
negate: false
routes: ''
request_path:
id: request_path
negate: false
pages: ''
current_theme:
id: current_theme
theme: ''
negate: 0
field_conditions_all_pass: false
display:
type: view

View File

@ -0,0 +1,53 @@
uuid: 77781cfa-1449-4d3b-8e87-28b1eb760e14
langcode: en
status: true
dependencies:
config:
- opencase_cases.oc_case_provision_type.caseworker
- user.role.authenticated
module:
- opencase_cases
- user
id: oc_case.accommodation.caseworkers
label: Caseworkers
display_label: true
name: caseworkers
description: ''
base_entity_type_id: oc_case
base_bundle_type_id: accommodation
field_type_id: views
field_type_config:
view_name: case_provisions
display: block_2
arguments: ''
field_type_condition:
'entity_bundle:oc_case':
id: 'entity_bundle:oc_case'
negate: false
context_mapping:
oc_case: entity_extra_field.target_entity
bundles:
accommodation: accommodation
asylum_support: asylum_support
employability: employability
enquiry: enquiry
health: health
immigration: immigration
pro_bono_immigration_service: pro_bono_immigration_service
volunteer_engagement: volunteer_engagement
welfare_rights: welfare_rights
route:
id: route
negate: false
routes: ''
request_path:
id: request_path
negate: false
pages: ''
current_theme:
id: current_theme
theme: ''
negate: 0
field_conditions_all_pass: false
display:
type: view

View File

@ -0,0 +1,31 @@
uuid: 561fe652-6e6b-401a-a5d7-eef6402f6d07
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case_provision.field_test
- opencase_cases.oc_case_provision_type.caseworker
- opencase_entities.oc_actor_type.staff_member
- opencase_entities.oc_actor_type.volunteer
id: oc_case_provision.caseworker.field_test
field_name: field_test
entity_type: oc_case_provision
bundle: caseworker
label: test
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:oc_actor'
handler_settings:
target_bundles:
staff_member: staff_member
volunteer: volunteer
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: staff_member
field_type: entity_reference

View File

@ -1,21 +0,0 @@
uuid: aef69a74-1ce8-4730-ae74-00508301ce5c
langcode: en
status: true
dependencies:
config:
- field.storage.oc_event.field_test
- opencase_entities.oc_event_type.piss_up
id: oc_event.piss_up.field_test
field_name: field_test
entity_type: oc_event
bundle: piss_up
label: test
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:oc_actor'
handler_settings: { }
field_type: entity_reference

View File

@ -1,18 +1,19 @@
uuid: 9f37ed7d-87ee-4d6c-a4a2-f69077b51db0
uuid: f90d1b9f-ee8a-4f79-ae7d-fafd4ec10cea
langcode: en
status: true
dependencies:
module:
- opencase_cases
- opencase_entities
id: oc_event.field_test
id: oc_case_provision.field_test
field_name: field_test
entity_type: oc_event
entity_type: oc_case_provision
type: entity_reference
settings:
target_type: oc_actor
module: core
locked: false
cardinality: -1
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false

View File

@ -1,6 +0,0 @@
uuid: 114bb324-9157-430e-9d69-a7ae31a0cbad
langcode: en
status: true
dependencies: { }
id: piss_up
label: Piss-up

View File

@ -0,0 +1,6 @@
uuid: 23b76c7c-1cee-4bcf-ba4b-97696774c574
langcode: en
status: true
dependencies: { }
id: volunteer_training_session
label: 'Volunteer training session'

View File

@ -8,7 +8,7 @@ slogan: ''
page:
403: /user/login
404: ''
front: /node
front: /opencase/actors/client
admin_compact_mode: false
weight_select_max: 100
default_langcode: en

View File

@ -1,7 +1,9 @@
uuid: 82123195-ae6e-4d7a-9755-df73244e110d
langcode: en
status: true
dependencies: { }
dependencies:
module:
- opencase_entities
id: caseworker
label: Caseworker
weight: 5

View File

@ -1,7 +1,12 @@
uuid: 89e8d1a4-b540-4ce5-b503-bf6f32178d49
langcode: en
status: true
dependencies: { }
dependencies:
module:
- field_ui
- opencase
- opencase_cases
- opencase_entities
_core:
default_config_hash: NYNlwo5WdxRZXhqrfBgLvCR19LE64SrLojs7_zOGJ5Q
id: opencase_admin

View File

@ -1,7 +1,9 @@
uuid: 7f74c263-619c-41d8-a528-6eacff355fe7
langcode: en
status: true
dependencies: { }
dependencies:
module:
- opencase_entities
id: overseer
label: Overseer
weight: 4

View File

@ -1,7 +1,9 @@
uuid: 88bb4aeb-bccc-41ed-8799-bdb10d5e4f4e
langcode: en
status: true
dependencies: { }
dependencies:
module:
- opencase_entities
id: volunteer_co_ord
label: 'Volunteer Co-ordinator'
weight: 6

View File

@ -142,7 +142,7 @@ display:
title_enable: false
title: All
title_enable: true
title: '{{ arguments.type }} '
title: '{{ arguments.type }}s'
default_argument_type: raw
default_argument_options:
index: 1
@ -164,7 +164,7 @@ display:
validate_options: { }
glossary: false
limit: 0
case: none
case: ucfirst
path_case: none
transform_dash: false
break_phrase: false

View File

@ -5,8 +5,10 @@ dependencies:
config:
- opencase_entities.oc_actor_type.staff_member
- opencase_entities.oc_actor_type.volunteer
- user.role.authenticated
module:
- opencase_entities
- user
id: case_providers
label: 'Case providers'
module: views
@ -115,8 +117,10 @@ display:
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
@ -199,6 +203,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url.query_args
- user.roles
tags: { }
entity_reference_1:
id: entity_reference_1
@ -217,4 +222,5 @@ display:
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.roles
tags: { }

View File

@ -0,0 +1,701 @@
uuid: 00afe158-4881-4478-b808-06e2841efc36
langcode: en
status: true
dependencies:
config:
- opencase_cases.oc_case_provision_type.caseworker
- user.role.authenticated
module:
- opencase_cases
- user
id: case_provisions
label: 'Case provisions'
module: views
description: ''
tag: ''
base_table: oc_case_provision_field_data
base_field: id
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: 'Case provisions'
fields:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: field
label: Case
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_provider_role:
id: oc_case_provider_role
table: oc_case_provision_field_data
field: oc_case_provider_role
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
label: Role
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
pager:
type: none
options:
offset: 0
items_per_page: null
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:
authenticated: authenticated
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments:
oc_provider:
id: oc_provider
table: oc_case_provision_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_provider
plugin_id: numeric
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
filters:
status:
id: status
table: oc_case_provision_field_data
field: status
entity_type: oc_case_provision
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
type:
id: type
table: oc_case_provision_field_data
field: type
entity_type: oc_case_provision
entity_field: type
plugin_id: bundle
value:
caseworker: caseworker
expose:
operator_limit_selection: false
operator_list: { }
style:
type: table
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
block_1:
id: block_1
display_title: 'By provider'
display_plugin: block
position: 1
display_options:
fields:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: field
label: Case
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_provider_role:
id: oc_case_provider_role
table: oc_case_provision_field_data
field: oc_case_provider_role
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
label: Role
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_target:
id: oc_target
table: oc_case_field_data
field: oc_target
relationship: oc_case
group_type: group
admin_label: ''
entity_type: oc_case
entity_field: oc_target
plugin_id: field
label: Target
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
defaults:
relationships: false
fields: false
relationships:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: Case
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: standard
required: false
display_description: ''
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
block_2:
id: block_2
display_title: 'By case'
display_plugin: block
position: 2
display_options:
fields:
oc_provider:
id: oc_provider
table: oc_case_provision_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_provider
plugin_id: field
label: Name
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_provider_role:
id: oc_case_provider_role
table: oc_case_provision_field_data
field: oc_case_provider_role
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
label: Role
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
arguments:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: numeric
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: raw
default_argument_options:
index: 2
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
defaults:
relationships: false
fields: false
arguments: false
header: false
relationships: { }
display_description: ''
header:
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: '<a href=''/opencase/oc_case_provision/add/caseworker?case_id={{ raw_arguments.oc_case }}''>Add a caseworker</a>'
tokenize: true
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }

View File

@ -2,11 +2,15 @@ uuid: 0c812021-ff90-442b-a7a0-353d538d6e15
langcode: en
status: true
dependencies:
config:
- system.menu.opencase
- user.role.authenticated
module:
- csv_serialization
- opencase_entities
- rest
- serialization
- user
- views_data_export
id: sample_downloadable_report
label: 'Sample Downloadable Report'
@ -22,7 +26,7 @@ display:
display_plugin: default
position: 0
display_options:
title: 'Sample Downloadable Report'
title: 'Sample Report'
fields:
name:
id: name
@ -117,8 +121,10 @@ display:
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
@ -197,6 +203,7 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }
data_export_1:
id: data_export_1
@ -236,6 +243,7 @@ display:
- 'languages:language_interface'
- request_format
- url
- user.roles
tags: { }
page_1:
id: page_1
@ -245,6 +253,15 @@ display:
display_options:
display_extenders: { }
path: sample-downloadable-report
menu:
type: normal
title: 'Sample downloadable report'
description: ''
weight: 0
expanded: false
menu_name: opencase
parent: opencase.reporting
context: '0'
cache_metadata:
max-age: -1
contexts:
@ -252,4 +269,5 @@ display:
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }

View File

@ -4,8 +4,10 @@ status: true
dependencies:
config:
- search_api.index.default_index
- user.role.authenticated
module:
- search_api
- user
_core:
default_config_hash: EeNNkLARDmftWehrk-ew_OW8srW2RgDKI1mZrWxZ-ao
id: search_content
@ -54,8 +56,10 @@ display:
text_input_required: 'Please enter some keywords to search.'
text_input_required_format: basic_html
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
cache:
type: none
options: { }
@ -133,13 +137,15 @@ display:
footer: { }
display_extenders: { }
cache_metadata:
max-age: 0
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags: { }
- 'user.node_grants:view'
- user.roles
tags:
- 'config:search_api.index.default_index'
cacheable: false
page_1:
id: page_1
@ -150,11 +156,13 @@ display:
display_extenders: { }
path: search/content
cache_metadata:
max-age: 0
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags: { }
- 'user.node_grants:view'
- user.roles
tags:
- 'config:search_api.index.default_index'
cacheable: false

View File

@ -3,6 +3,13 @@
display: none;
}
/* download icon for reports */
.feed-icons .views-data-export-feed .feed-icon {
background-image: url('/modules/contrib/opencase/resources/download.png');
width: 50px;
height: 50px;
}
/* paragraphs */

BIN
resources/download.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB