Debrief Report • Debrief submitted date should equal training date

This commit is contained in:
naomi 2022-05-09 19:43:54 +01:00
parent 738e6730ea
commit 98143c5f23
3 changed files with 27 additions and 23 deletions

View File

@ -15,13 +15,19 @@ dependencies:
- image.style.thumbnail - image.style.thumbnail
- opencase_entities.oc_activity_type.trainer_debrief - opencase_entities.oc_activity_type.trainer_debrief
module: module:
- hide_revision_field - datetime
- image - image
id: oc_activity.trainer_debrief.default id: oc_activity.trainer_debrief.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: trainer_debrief bundle: trainer_debrief
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
weight: 11
region: content
settings: { }
third_party_settings: { }
field_caption_for_photo: field_caption_for_photo:
type: string_textarea type: string_textarea
weight: 9 weight: 9
@ -99,18 +105,6 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: false
default: ''
permission_based: false
allow_user_settings: false
third_party_settings: { }
status: status:
type: boolean_checkbox type: boolean_checkbox
weight: 10 weight: 10
@ -119,9 +113,10 @@ content:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
hidden: hidden:
activity_date_time: true
client: true client: true
description: true description: true
name: true name: true
oc_target: true oc_target: true
revision_log: true
time_taken: true time_taken: true
user_id: true

View File

@ -14,12 +14,22 @@ dependencies:
- field.field.oc_activity.trainer_debrief.field_what_real_scenarios_or_inc - field.field.oc_activity.trainer_debrief.field_what_real_scenarios_or_inc
- opencase_entities.oc_activity_type.trainer_debrief - opencase_entities.oc_activity_type.trainer_debrief
module: module:
- datetime
- image - image
id: oc_activity.trainer_debrief.default id: oc_activity.trainer_debrief.default
targetEntityType: oc_activity targetEntityType: oc_activity
bundle: trainer_debrief bundle: trainer_debrief
mode: default mode: default
content: content:
activity_date_time:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 11
region: content
field_caption_for_photo: field_caption_for_photo:
type: basic_string type: basic_string
label: above label: above
@ -104,7 +114,6 @@ content:
weight: 1 weight: 1
region: content region: content
hidden: hidden:
activity_date_time: true
client: true client: true
description: true description: true
oc_target: true oc_target: true

View File

@ -7,6 +7,7 @@ dependencies:
- system.menu.opencase - system.menu.opencase
- user.role.gno_admin_user - user.role.gno_admin_user
module: module:
- datetime
- opencase_entities - opencase_entities
- rest - rest
- serialization - serialization
@ -28,15 +29,15 @@ display:
display_options: display_options:
title: 'Debrief Report' title: 'Debrief Report'
fields: fields:
created: activity_date_time:
id: created id: activity_date_time
table: oc_activity_field_data table: oc_activity_field_data
field: created field: activity_date_time
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: oc_activity entity_type: oc_activity
entity_field: created entity_field: activity_date_time
plugin_id: field plugin_id: field
label: 'Date submitted' label: 'Date submitted'
exclude: false exclude: false
@ -80,11 +81,10 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
click_sort_column: value click_sort_column: value
type: timestamp type: datetime_default
settings: settings:
date_format: short timezone_override: ''
custom_date_format: '' format_type: medium
timezone: ''
group_column: value group_column: value
group_columns: { } group_columns: { }
group_rows: true group_rows: true