Added total fees config & did composer update ready to deploy
This commit is contained in:
parent
8c7b43f53f
commit
e1a298c43d
4
composer.lock
generated
4
composer.lock
generated
@ -64,7 +64,7 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/goodnightout_opencase.git",
|
||||
"reference": "a5e8e6d1de5f486b9b70ef6db85b16187c28d0f3"
|
||||
"reference": "49b149fff10f1948b06df3e62ee9191980c707b8"
|
||||
},
|
||||
"require": {
|
||||
"drupal/admin_toolbar": "*",
|
||||
@ -81,7 +81,7 @@
|
||||
"email": "helo@autonomic.zone"
|
||||
}
|
||||
],
|
||||
"time": "2021-09-11T19:10:22+00:00"
|
||||
"time": "2021-09-11T20:18:35+00:00"
|
||||
},
|
||||
{
|
||||
"name": "autonomic/opencase",
|
||||
|
@ -5,6 +5,7 @@ dependencies:
|
||||
config:
|
||||
- field.field.oc_case.project.field_contract_signed_date
|
||||
- field.field.oc_case.project.field_fee
|
||||
- field.field.oc_case.project.field_total_fee
|
||||
- opencase_cases.oc_case_type.project
|
||||
module:
|
||||
- datetime
|
||||
@ -42,4 +43,5 @@ content:
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
client: true
|
||||
field_total_fee: true
|
||||
user_id: true
|
||||
|
@ -5,6 +5,7 @@ dependencies:
|
||||
config:
|
||||
- field.field.oc_case.project.field_contract_signed_date
|
||||
- field.field.oc_case.project.field_fee
|
||||
- field.field.oc_case.project.field_total_fee
|
||||
- opencase_cases.oc_case_type.project
|
||||
module:
|
||||
- datetime
|
||||
@ -42,12 +43,23 @@ content:
|
||||
link: ''
|
||||
third_party_settings: { }
|
||||
region: content
|
||||
field_total_fee:
|
||||
weight: 4
|
||||
label: above
|
||||
settings:
|
||||
thousand_separator: ''
|
||||
decimal_separator: .
|
||||
scale: 2
|
||||
prefix_suffix: true
|
||||
third_party_settings: { }
|
||||
type: number_decimal
|
||||
region: content
|
||||
files:
|
||||
label: above
|
||||
settings:
|
||||
use_description_as_link_text: true
|
||||
region: content
|
||||
weight: 5
|
||||
weight: 6
|
||||
third_party_settings: { }
|
||||
type: file_default
|
||||
trainings:
|
||||
@ -58,7 +70,7 @@ content:
|
||||
user_id:
|
||||
label: above
|
||||
type: author
|
||||
weight: 4
|
||||
weight: 5
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
|
23
config/field.field.oc_case.project.field_total_fee.yml
Normal file
23
config/field.field.oc_case.project.field_total_fee.yml
Normal file
@ -0,0 +1,23 @@
|
||||
uuid: 244c5c44-44f0-40b8-8dc3-5a0b2119d536
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.oc_case.field_total_fee
|
||||
- opencase_cases.oc_case_type.project
|
||||
id: oc_case.project.field_total_fee
|
||||
field_name: field_total_fee
|
||||
entity_type: oc_case
|
||||
bundle: project
|
||||
label: 'Total fee'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
min: null
|
||||
max: null
|
||||
prefix: £
|
||||
suffix: ''
|
||||
field_type: decimal
|
24
config/field.storage.oc_case.field_total_fee.yml
Normal file
24
config/field.storage.oc_case.field_total_fee.yml
Normal file
@ -0,0 +1,24 @@
|
||||
uuid: 4bb28508-5949-4bf5-9b70-97c68ab50473
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- field_permissions
|
||||
- opencase_cases
|
||||
third_party_settings:
|
||||
field_permissions:
|
||||
permission_type: public
|
||||
id: oc_case.field_total_fee
|
||||
field_name: field_total_fee
|
||||
entity_type: oc_case
|
||||
type: decimal
|
||||
settings:
|
||||
precision: 10
|
||||
scale: 2
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -4,6 +4,7 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.oc_case.field_contract_signed_date
|
||||
- field.storage.oc_case.field_total_fee
|
||||
- opencase_cases.oc_case_type.project
|
||||
- system.menu.opencase
|
||||
- user.role.authenticated
|
||||
@ -268,6 +269,72 @@ display:
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
field_total_fee:
|
||||
id: field_total_fee
|
||||
table: oc_case__field_total_fee
|
||||
field: field_total_fee
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
label: 'Total fee'
|
||||
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
|
||||
plugin_id: field
|
||||
filters:
|
||||
type:
|
||||
id: type
|
||||
@ -298,6 +365,7 @@ display:
|
||||
- user.roles
|
||||
tags:
|
||||
- 'config:field.storage.oc_case.field_contract_signed_date'
|
||||
- 'config:field.storage.oc_case.field_total_fee'
|
||||
block_1:
|
||||
display_plugin: block
|
||||
id: block_1
|
||||
@ -490,6 +558,72 @@ display:
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
plugin_id: field
|
||||
field_total_fee:
|
||||
id: field_total_fee
|
||||
table: oc_case__field_total_fee
|
||||
field: field_total_fee
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
label: 'Total fee'
|
||||
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
|
||||
plugin_id: field
|
||||
cache_metadata:
|
||||
max-age: -1
|
||||
contexts:
|
||||
@ -500,6 +634,7 @@ display:
|
||||
- user.roles
|
||||
tags:
|
||||
- 'config:field.storage.oc_case.field_contract_signed_date'
|
||||
- 'config:field.storage.oc_case.field_total_fee'
|
||||
page_1:
|
||||
display_plugin: page
|
||||
id: page_1
|
||||
@ -529,3 +664,4 @@ display:
|
||||
- user.roles
|
||||
tags:
|
||||
- 'config:field.storage.oc_case.field_contract_signed_date'
|
||||
- 'config:field.storage.oc_case.field_total_fee'
|
||||
|
Reference in New Issue
Block a user