Reporting mostly done, just need to add totals

This commit is contained in:
naomi 2021-11-17 07:57:54 +00:00
parent a7fcaaaa07
commit a63da676b3
13 changed files with 3550 additions and 25 deletions

View File

@ -37,6 +37,7 @@
"drupal/core-project-message": "^8.9.17",
"drupal/core-recommended": "^8.9.17",
"drupal/ctools": "^3.7",
"drupal/date_popup": "^1.1",
"drupal/dbug": "^2.0",
"drupal/devel_entity_updates": "^3.0",
"drupal/entity_extra_field": "^2.0@alpha",

50
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "dccac5edf1be7c318eb7ab8ce83062f8",
"content-hash": "d9e2058295b6bbe41fa8c1970f78c5d9",
"packages": [
{
"name": "asm89/stack-cors",
@ -2502,6 +2502,54 @@
"issues": "https://www.drupal.org/project/issues/ctools"
}
},
{
"name": "drupal/date_popup",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/date_popup.git",
"reference": "8.x-1.1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/date_popup-8.x-1.1.zip",
"reference": "8.x-1.1",
"shasum": "b877b29cf11414e600b154eeea5c9078e0b125c6"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.1",
"datestamp": "1591849806",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "benjy",
"homepage": "https://www.drupal.org/user/1852732"
},
{
"name": "larowlan",
"homepage": "https://www.drupal.org/user/395439"
}
],
"description": "Provides a HTML 5 date popup for all views filters.",
"homepage": "https://www.drupal.org/project/date_popup",
"support": {
"source": "https://git.drupalcode.org/project/date_popup"
}
},
{
"name": "drupal/dbug",
"version": "2.0.0",

View File

@ -0,0 +1,29 @@
uuid: 698f2bfe-50f2-48d1-82f0-925607b03255
langcode: en
status: true
dependencies:
config:
- views.view.case_fees_report
module:
- system
- views
theme:
- bartik
id: exposedformcase_fees_reportpage_1
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'views_exposed_filter_block:case_fees_report-page_1'
settings:
id: 'views_exposed_filter_block:case_fees_report-page_1'
label: ''
provider: views
label_display: '0'
views_label: ''
visibility:
request_path:
id: request_path
pages: /project-fees-report
negate: false
context_mapping: { }

View File

@ -0,0 +1,29 @@
uuid: bda91917-910a-4067-ba91-41b34964b572
langcode: en
status: true
dependencies:
config:
- views.view.case_provision_report
module:
- system
- views
theme:
- bartik
id: exposedformcase_provision_reportpage_1
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'views_exposed_filter_block:case_provision_report-page_1'
settings:
id: 'views_exposed_filter_block:case_provision_report-page_1'
label: ''
provider: views
label_display: '0'
views_label: ''
visibility:
request_path:
id: request_path
pages: /trainer-report
negate: false
context_mapping: { }

View File

@ -0,0 +1,29 @@
uuid: ed8c3ee7-e973-4526-88d1-7ee8fe62b7dc
langcode: en
status: true
dependencies:
config:
- views.view.debrief_report
module:
- system
- views
theme:
- bartik
id: exposedformdebrief_reportpage_1
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'views_exposed_filter_block:debrief_report-page_1'
settings:
id: 'views_exposed_filter_block:debrief_report-page_1'
label: ''
provider: views
label_display: '0'
views_label: ''
visibility:
request_path:
id: request_path
pages: /debrief-report
negate: false
context_mapping: { }

View File

@ -0,0 +1,29 @@
uuid: 22af4565-e4f8-4e03-9176-8b19cf58fadc
langcode: en
status: true
dependencies:
config:
- views.view.evaluation_report
module:
- system
- views
theme:
- bartik
id: exposedformevaluation_reportpage_1
theme: bartik
region: sidebar_second
weight: 0
provider: null
plugin: 'views_exposed_filter_block:evaluation_report-page_1'
settings:
id: 'views_exposed_filter_block:evaluation_report-page_1'
label: ''
provider: views
label_display: '0'
views_label: ''
visibility:
request_path:
id: request_path
pages: /evaluation-report
negate: false
context_mapping: { }

View File

@ -15,6 +15,7 @@ module:
content_as_config: 0
contextual: 0
ctools: 0
date_popup: 0
datetime: 0
dblog: 0
dbug: 0

View File

@ -1,3 +1,27 @@
definitions: { }
definitions:
opencase__reporting:
weight: -47
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: -48
menu_name: opencase
parent: ''
expanded: false
enabled: true
_core:
default_config_hash: o4bYR9ZupWb3AsOIizTUG4g-nu1mdJqA59UB7QT-ifQ

View File

@ -0,0 +1,907 @@
uuid: 6cef006a-ed22-4f55-a142-bb5482600516
langcode: en
status: true
dependencies:
config:
- 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_type_of_umbrella_client
- field.storage.oc_organisation.field_umbrella_client
- system.menu.opencase
- taxonomy.vocabulary.client_types
- user.role.gno_admin_user
module:
- datetime
- opencase_cases
- opencase_entities
- options
- taxonomy
- user
id: case_fees_report
label: 'Case Fees Report'
module: views
description: ''
tag: ''
base_table: oc_case_fee_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: role
options:
role:
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: basic
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
pager:
type: mini
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
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
tags:
previous:
next:
style:
type: table
row:
type: fields
fields:
field_umbrella_client:
id: field_umbrella_client
table: oc_organisation__field_umbrella_client
field: field_umbrella_client
relationship: client
group_type: group
admin_label: ''
label: 'Umbrella Client'
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
plugin_id: field
field_type_of_umbrella_client:
id: field_type_of_umbrella_client
table: oc_organisation__field_type_of_umbrella_client
field: field_type_of_umbrella_client
relationship: field_umbrella_client
group_type: group
admin_label: ''
label: 'Umbrella client type'
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: list_default
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
plugin_id: field
client:
id: client
table: oc_case_field_data
field: client
relationship: oc_case
group_type: group
admin_label: ''
label: Client
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
entity_type: oc_case
entity_field: client
plugin_id: field
field_client_type:
id: field_client_type
table: oc_organisation__field_client_type
field: field_client_type
relationship: client
group_type: group
admin_label: ''
label: 'Client type'
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: 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
plugin_id: field
field_client_subtype:
id: field_client_subtype
table: oc_organisation__field_client_subtype
field: field_client_subtype
relationship: client
group_type: group
admin_label: ''
label: 'Client subtype'
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: 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
plugin_id: field
oc_case:
id: oc_case
table: oc_case_fee_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
label: Project
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
entity_type: oc_case_fee
entity_field: oc_case
plugin_id: field
field_contract_signed_date:
id: field_contract_signed_date
table: oc_case__field_contract_signed_date
field: field_contract_signed_date
relationship: oc_case
group_type: group
admin_label: ''
label: 'Contract signed date'
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: datetime_default
settings:
timezone_override: ''
format_type: short
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
plugin_id: field
oc_fee_category:
id: oc_fee_category
table: oc_case_fee_field_data
field: oc_fee_category
relationship: none
group_type: group
admin_label: ''
label: 'Fee Category'
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: 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: oc_case_fee
entity_field: oc_fee_category
plugin_id: field
amount:
id: amount
table: oc_case_fee_field_data
field: amount
relationship: none
group_type: group
admin_label: ''
label: Amount
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: number_decimal
settings:
thousand_separator: ','
prefix_suffix: true
decimal_separator: .
scale: 2
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: oc_case_fee
entity_field: amount
plugin_id: field
filters:
status:
value: '1'
table: oc_case_fee_field_data
field: status
plugin_id: boolean
entity_type: oc_case_fee
entity_field: status
id: status
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
group: 1
field_type_of_umbrella_client_value:
id: field_type_of_umbrella_client_value
table: oc_organisation__field_type_of_umbrella_client
field: field_type_of_umbrella_client_value
relationship: field_umbrella_client
group_type: group
admin_label: ''
operator: or
value: { }
group: 1
exposed: true
expose:
operator_id: field_type_of_umbrella_client_value_op
label: 'Umbrella client type'
description: ''
use_operator: false
operator: field_type_of_umbrella_client_value_op
operator_limit_selection: false
operator_list: { }
identifier: field_type_of_umbrella_client_value
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
plugin_id: list_field
field_contract_signed_date_value_1:
id: field_contract_signed_date_value_1
table: oc_case__field_contract_signed_date
field: field_contract_signed_date_value
relationship: oc_case
group_type: group
admin_label: ''
operator: between
value:
min: ''
max: ''
value: ''
type: date
group: 1
exposed: true
expose:
operator_id: field_contract_signed_date_value_1_op
label: 'Contract signed date between'
description: ''
use_operator: false
operator: field_contract_signed_date_value_1_op
operator_limit_selection: false
operator_list: { }
identifier: field_contract_signed_date_value_1
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: ''
min_placeholder: ''
max_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: { }
plugin_id: datetime
field_client_type_target_id:
id: field_client_type_target_id
table: oc_organisation__field_client_type
field: field_client_type_target_id
relationship: client
group_type: group
admin_label: ''
operator: or
value: { }
group: 1
exposed: true
expose:
operator_id: field_client_type_target_id_op
label: '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
type: select
limit: true
vid: client_types
hierarchy: false
error_message: true
plugin_id: taxonomy_index_tid
sorts: { }
title: 'Project Fees Report'
header: { }
footer: { }
empty: { }
relationships:
oc_case:
id: oc_case
table: oc_case_fee_field_data
field: oc_case
relationship: none
group_type: group
admin_label: Case
required: false
entity_type: oc_case_fee
entity_field: oc_case
plugin_id: standard
client:
id: client
table: oc_case_field_data
field: client
relationship: oc_case
group_type: group
admin_label: Organisation
required: false
entity_type: oc_case
entity_field: client
plugin_id: standard
field_umbrella_client:
id: field_umbrella_client
table: oc_organisation__field_umbrella_client
field: field_umbrella_client
relationship: client
group_type: group
admin_label: 'field_umbrella_client: Organisation'
required: false
plugin_id: standard
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 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_type_of_umbrella_client'
- 'config:field.storage.oc_organisation.field_umbrella_client'
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: project-fees-report
exposed_block: true
menu:
type: normal
title: 'Project fees report'
description: ''
expanded: false
parent: opencase.reporting
weight: 0
context: '0'
menu_name: opencase
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- 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_type_of_umbrella_client'
- 'config:field.storage.oc_organisation.field_umbrella_client'

View File

@ -2,15 +2,23 @@ uuid: 83684818-2ee2-4e07-abd9-7c97526f0f83
langcode: en
status: true
dependencies:
config:
- field.storage.oc_case_provision.field_rate
- field.storage.oc_case_provision.field_rate_type
- system.menu.opencase
- user.role.gno_admin_user
module:
- opencase_cases
- opencase_entities
- options
- user
id: case_provision_report
label: 'Case provision report'
module: views
description: ''
tag: ''
base_table: oc_case_provision_field_data
base_field: nid
base_field: id
display:
default:
display_plugin: default
@ -19,8 +27,10 @@ display:
position: 0
display_options:
access:
type: none
options: { }
type: role
options:
role:
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
@ -36,7 +46,7 @@ display:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button: true
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
@ -65,17 +75,209 @@ display:
row:
type: fields
fields:
name:
oc_provider:
id: oc_provider
table: oc_case_provision_field_data
field: name
id: name
entity_type: null
entity_field: name
plugin_id: field
field: oc_provider
relationship: none
group_type: group
admin_label: ''
label: Name
label: Trainer
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
entity_type: oc_case_provision
entity_field: oc_provider
plugin_id: field
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
label: Training
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
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: field
client:
id: client
table: oc_case_field_data
field: client
relationship: oc_case
group_type: group
admin_label: ''
label: Client
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
entity_type: oc_case
entity_field: client
plugin_id: field
field_rate:
id: field_rate
table: oc_case_provision__field_rate
field: field_rate
relationship: none
group_type: group
admin_label: ''
label: Rate
exclude: false
alter:
alter_text: false
@ -117,7 +319,73 @@ display:
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
type: number_decimal
settings:
thousand_separator: ','
prefix_suffix: true
decimal_separator: .
scale: 2
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
plugin_id: field
field_rate_type:
id: field_rate_type
table: oc_case_provision__field_rate_type
field: field_rate_type
relationship: none
group_type: group
admin_label: ''
label: 'Rate type'
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: list_default
settings: { }
group_column: value
group_columns: { }
@ -129,6 +397,72 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
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: ''
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: 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: oc_case_provision
entity_field: oc_case_provider_role
plugin_id: field
filters:
status:
value: '1'
@ -143,20 +477,161 @@ display:
operator_limit_selection: false
operator_list: { }
group: 1
first_name:
id: first_name
table: oc_actor_field_data
field: first_name
relationship: oc_provider
group_type: group
admin_label: ''
operator: '='
value: ''
group: 1
exposed: true
expose:
operator_id: first_name_op
label: 'First Name'
description: ''
use_operator: false
operator: first_name_op
operator_limit_selection: false
operator_list: { }
identifier: first_name
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: { }
entity_type: oc_actor
entity_field: first_name
plugin_id: string
last_name:
id: last_name
table: oc_actor_field_data
field: last_name
relationship: oc_provider
group_type: group
admin_label: ''
operator: '='
value: ''
group: 1
exposed: true
expose:
operator_id: last_name_op
label: 'Last Name'
description: ''
use_operator: false
operator: last_name_op
operator_limit_selection: false
operator_list: { }
identifier: last_name
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: { }
entity_type: oc_actor
entity_field: last_name
plugin_id: string
sorts: { }
title: 'Case provision report'
title: 'Trainer report'
header: { }
footer: { }
empty: { }
relationships: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: 'None found'
plugin_id: text_custom
relationships:
oc_case:
id: oc_case
table: oc_case_provision_field_data
field: oc_case
relationship: none
group_type: group
admin_label: Case
required: false
entity_type: oc_case_provision
entity_field: oc_case
plugin_id: standard
client:
id: client
table: oc_case_field_data
field: client
relationship: oc_case
group_type: group
admin_label: Organisation
required: false
entity_type: oc_case
entity_field: client
plugin_id: standard
oc_provider:
id: oc_provider
table: oc_case_provision_field_data
field: oc_provider
relationship: none
group_type: group
admin_label: Person
required: false
entity_type: oc_case_provision
entity_field: oc_provider
plugin_id: standard
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags: { }
- user.roles
tags:
- 'config:field.storage.oc_case_provision.field_rate'
- 'config:field.storage.oc_case_provision.field_rate_type'
page_1:
display_plugin: page
id: page_1
@ -164,11 +639,25 @@ display:
position: 1
display_options:
display_extenders: { }
path: case-provision-report
path: trainer-report
menu:
type: normal
title: 'Trainer report'
description: ''
expanded: false
parent: opencase.reporting
weight: 0
context: '0'
menu_name: opencase
exposed_block: true
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
tags: { }
- user.roles
tags:
- 'config:field.storage.oc_case_provision.field_rate'
- 'config:field.storage.oc_case_provision.field_rate_type'

View File

@ -12,14 +12,18 @@ dependencies:
- field.storage.oc_organisation.field_type_of_umbrella_client
- field.storage.oc_organisation.field_umbrella_client
- opencase_entities.oc_organisation_type.client
- system.menu.opencase
- taxonomy.vocabulary.clie
- taxonomy.vocabulary.tags
- user.role.authenticated
- user.role.gno_admin_user
module:
- better_exposed_filters
- datetime
- opencase_entities
- options
- taxonomy
- user
id: client_report
label: 'Client Report'
module: views
@ -35,8 +39,11 @@ display:
position: 0
display_options:
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
@ -72,13 +79,16 @@ display:
secondary_open: false
filter:
field_client_status_target_id:
plugin_id: default
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:
@ -96,7 +106,7 @@ display:
collapsible: false
is_secondary: false
field_accreditation_date_value:
plugin_id: bef_datepicker
plugin_id: default
advanced:
collapsible: false
is_secondary: false
@ -811,7 +821,7 @@ display:
identifier: field_client_status_target_id
required: false
remember: false
multiple: false
multiple: true
remember_roles:
authenticated: authenticated
anonymous: '0'
@ -1024,6 +1034,7 @@ display:
- url
- url.query_args
- user
- user.roles
tags:
- 'config:field.storage.oc_organisation.field_accreditation_date'
- 'config:field.storage.oc_organisation.field_client_status'
@ -1042,6 +1053,15 @@ display:
display_extenders: { }
path: client-report
exposed_block: true
menu:
type: normal
title: 'Client Report'
description: ''
expanded: false
parent: opencase.reporting
weight: 0
context: '0'
menu_name: opencase
cache_metadata:
max-age: -1
contexts:
@ -1050,6 +1070,7 @@ display:
- url
- url.query_args
- user
- user.roles
tags:
- 'config:field.storage.oc_organisation.field_accreditation_date'
- 'config:field.storage.oc_organisation.field_client_status'

View File

@ -0,0 +1,392 @@
uuid: f3b15831-5f66-4688-adf3-9b1ea3b36242
langcode: en
status: true
dependencies:
config:
- field.storage.oc_activity.field_trainer
- opencase_entities.oc_activity_type.trainer_debrief
- system.menu.opencase
- user.role.gno_admin_user
module:
- opencase_entities
- user
id: debrief_report
label: 'Debrief Report'
module: views
description: ''
tag: ''
base_table: oc_activity_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
position: 0
display_options:
access:
type: role
options:
role:
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: basic
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
pager:
type: mini
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
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
tags:
previous:
next:
style:
type: table
row:
type: fields
fields:
created:
id: created
table: oc_activity_field_data
field: created
relationship: none
group_type: group
admin_label: ''
label: 'Date submitted'
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: timestamp
settings:
date_format: short
custom_date_format: ''
timezone: ''
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: oc_activity
entity_field: created
plugin_id: field
field_trainer:
id: field_trainer
table: oc_activity__field_trainer
field: field_trainer
relationship: none
group_type: group
admin_label: ''
label: Trainer
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
plugin_id: field
oc_case:
id: oc_case
table: oc_activity_field_data
field: oc_case
relationship: none
group_type: group
admin_label: ''
label: Training
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
entity_type: oc_activity
entity_field: oc_case
plugin_id: field
filters:
type:
id: type
table: oc_activity_field_data
field: type
value:
trainer_debrief: trainer_debrief
entity_type: oc_activity
entity_field: type
plugin_id: bundle
expose:
operator_limit_selection: false
operator_list: { }
created:
id: created
table: oc_activity_field_data
field: created
relationship: none
group_type: group
admin_label: ''
operator: between
value:
min: ''
max: ''
value: ''
type: date
group: 1
exposed: true
expose:
operator_id: created_op
label: 'Submitted between'
description: ''
use_operator: false
operator: created_op
operator_limit_selection: false
operator_list: { }
identifier: created
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: ''
min_placeholder: ''
max_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: { }
entity_type: oc_activity
entity_field: created
plugin_id: date
sorts: { }
title: 'Debrief Report'
header: { }
footer: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
empty: true
tokenize: false
content: 'None found'
plugin_id: text_custom
relationships: { }
arguments: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags:
- 'config:field.storage.oc_activity.field_trainer'
page_1:
display_plugin: page
id: page_1
display_title: Page
position: 1
display_options:
display_extenders: { }
path: debrief-report
menu:
type: normal
title: 'Debrief Report'
description: ''
expanded: false
parent: opencase.reporting
weight: 0
context: '0'
menu_name: opencase
exposed_block: true
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags:
- 'config:field.storage.oc_activity.field_trainer'

File diff suppressed because it is too large Load Diff