diff --git a/config/views.view.case_provisions.yml b/config/views.view.case_provisions.yml
index 2f3d286..73abeb6 100644
--- a/config/views.view.case_provisions.yml
+++ b/config/views.view.case_provisions.yml
@@ -19,71 +19,12 @@ base_table: oc_case_provision_field_data
base_field: id
display:
default:
- display_plugin: default
id: default
display_title: Master
+ display_plugin: default
position: 0
display_options:
- access:
- type: role
- options:
- role:
- authenticated: authenticated
- 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: false
- reset_button_label: Reset
- exposed_sorts_label: 'Sort by'
- expose_sort_order: true
- sort_asc_label: Asc
- sort_desc_label: Desc
- pager:
- type: none
- options:
- offset: 0
- style:
- type: table
- options:
- grouping: { }
- row_class: ''
- default_row_class: true
- override: true
- sticky: false
- caption: ''
- summary: ''
- description: ''
- columns:
- name: name
- info:
- name:
- sortable: false
- default_sort_order: asc
- align: ''
- separator: ''
- empty_column: false
- responsive: ''
- default: '-1'
- empty_table: false
- row:
- type: fields
- options:
- inline: { }
- separator: ''
- hide_empty: false
- default_field_elements: true
+ title: Trainers
fields:
name:
id: name
@@ -92,6 +33,9 @@ display:
relationship: none
group_type: group
admin_label: ''
+ entity_type: null
+ entity_field: name
+ plugin_id: field
label: ''
exclude: true
alter:
@@ -147,9 +91,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- entity_type: null
- entity_field: name
- plugin_id: field
oc_provider:
id: oc_provider
table: oc_case_provision_field_data
@@ -157,6 +98,9 @@ display:
relationship: none
group_type: group
admin_label: ''
+ entity_type: oc_case_provision
+ entity_field: oc_provider
+ plugin_id: field
label: Trainer
exclude: false
alter:
@@ -201,7 +145,7 @@ display:
click_sort_column: target_id
type: entity_reference_label
settings:
- link: true
+ link: false
group_column: target_id
group_columns: { }
group_rows: true
@@ -212,9 +156,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- entity_type: oc_case_provision
- entity_field: oc_provider
- plugin_id: field
field_rate:
id: field_rate
table: oc_case_provision__field_rate
@@ -222,6 +163,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: Rate
exclude: false
alter:
@@ -267,9 +209,9 @@ display:
type: number_decimal
settings:
thousand_separator: ','
- prefix_suffix: true
decimal_separator: .
scale: 2
+ prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
@@ -280,7 +222,6 @@ display:
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
@@ -288,6 +229,7 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: field
label: 'Rate type'
exclude: false
alter:
@@ -342,7 +284,6 @@ 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
@@ -350,6 +291,9 @@ display:
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:
@@ -405,9 +349,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
- entity_type: oc_case_provision
- entity_field: oc_case_provider_role
- plugin_id: field
edit_oc_case_provision:
id: edit_oc_case_provision
table: oc_case_provision
@@ -415,6 +356,8 @@ display:
relationship: none
group_type: group
admin_label: ''
+ entity_type: oc_case_provision
+ plugin_id: entity_link_edit
label: ''
exclude: false
alter:
@@ -459,36 +402,28 @@ display:
text: edit
output_url_as_text: false
absolute: false
- entity_type: oc_case_provision
- plugin_id: entity_link_edit
- filters:
- status:
- value: '1'
- table: oc_case_provision_field_data
- field: status
- plugin_id: boolean
- entity_type: oc_case_provision
- entity_field: status
- id: status
- expose:
- operator: ''
- operator_limit_selection: false
- operator_list: { }
- group: 1
- sorts: { }
- header: { }
- footer:
- area_text_custom:
- id: area_text_custom
- table: views
- field: area_text_custom
- relationship: none
- group_type: group
- admin_label: ''
- empty: true
- tokenize: true
- content: 'Add trainer
'
- plugin_id: text_custom
+ pager:
+ type: none
+ options:
+ offset: 0
+ 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:
area:
id: area
@@ -497,13 +432,13 @@ display:
relationship: none
group_type: group
admin_label: ''
+ plugin_id: text
empty: true
- tokenize: false
content:
value: "Trainers will appear here once they are added.\r\n"
format: full_html
- plugin_id: text
- relationships: { }
+ tokenize: false
+ sorts: { }
arguments:
oc_case:
id: oc_case
@@ -512,6 +447,9 @@ display:
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
@@ -527,8 +465,8 @@ display:
summary_options:
base_path: ''
count: true
- items_per_page: 25
override: false
+ items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
@@ -540,11 +478,73 @@ display:
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: oc_case
- plugin_id: numeric
+ entity_field: status
+ plugin_id: boolean
+ value: '1'
+ group: 1
+ expose:
+ operator: ''
+ operator_limit_selection: false
+ operator_list: { }
+ style:
+ type: table
+ options:
+ grouping: { }
+ row_class: ''
+ default_row_class: true
+ columns:
+ name: name
+ default: '-1'
+ info:
+ name:
+ sortable: false
+ default_sort_order: asc
+ align: ''
+ separator: ''
+ empty_column: false
+ responsive: ''
+ override: true
+ sticky: false
+ summary: ''
+ empty_table: false
+ caption: ''
+ description: ''
+ row:
+ type: fields
+ options:
+ default_field_elements: true
+ inline: { }
+ separator: ''
+ hide_empty: false
+ query:
+ type: views_query
+ options:
+ query_comment: ''
+ disable_sql_rewrite: false
+ distinct: false
+ replica: false
+ query_tags: { }
+ relationships: { }
+ header: { }
+ footer:
+ 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: 'Add trainer
'
+ tokenize: true
display_extenders: { }
- title: Trainers
cache_metadata:
max-age: -1
contexts:
@@ -556,9 +556,9 @@ display:
- 'config:field.storage.oc_case_provision.field_rate'
- 'config:field.storage.oc_case_provision.field_rate_type'
block_1:
- display_plugin: block
id: block_1
display_title: Block
+ display_plugin: block
position: 1
display_options:
display_extenders: { }