Added csv download option to reports.

This commit is contained in:
2022-04-21 13:48:35 +01:00
parent c1a79f6747
commit 917161c3e6
8 changed files with 1272 additions and 828 deletions
+53
View File
@@ -15,12 +15,16 @@ dependencies:
- taxonomy.vocabulary.tags
- user.role.gno_admin_user
module:
- csv_serialization
- datetime
- opencase_cases
- opencase_entities
- options
- rest
- serialization
- taxonomy
- user
- views_data_export
- views_summarize
id: case_fees_report
label: 'Case Fees Report'
@@ -1162,6 +1166,55 @@ display:
- user
- user.roles
tags: { }
data_export_1:
id: data_export_1
display_title: 'Data export'
display_plugin: data_export
position: 3
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: case_fees_report/download
auth:
- cookie
displays:
page_1: page_1
default: '0'
filename: '[view:label]-[date:short] '
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
- user.roles
tags:
- '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'
page_1:
id: page_1
display_title: Page