Config for new invoicing fields
This commit is contained in:
parent
cd8ba6b36c
commit
e1fe121f2e
@ -5,12 +5,15 @@ dependencies:
|
||||
config:
|
||||
- field.field.oc_case.project.feeds_item
|
||||
- field.field.oc_case.project.field_contract_signed_date
|
||||
- field.field.oc_case.project.field_fee
|
||||
- field.field.oc_case.project.field_invoicing_notes
|
||||
- field.field.oc_case.project.field_invoicing_status
|
||||
- field.field.oc_case.project.field_link_to_invoice
|
||||
- opencase_cases.oc_case_type.project
|
||||
module:
|
||||
- datetime
|
||||
- file
|
||||
- hide_revision_field
|
||||
- link
|
||||
id: oc_case.project.default
|
||||
targetEntityType: oc_case
|
||||
bundle: project
|
||||
@ -28,6 +31,32 @@ content:
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_invoicing_notes:
|
||||
type: string_textarea
|
||||
weight: 81
|
||||
region: content
|
||||
settings:
|
||||
rows: 5
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_invoicing_status:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 83
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
match_limit: 10
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
field_link_to_invoice:
|
||||
type: link_default
|
||||
weight: 84
|
||||
region: content
|
||||
settings:
|
||||
placeholder_url: ''
|
||||
placeholder_title: ''
|
||||
third_party_settings: { }
|
||||
files:
|
||||
type: file_generic
|
||||
weight: 1
|
||||
@ -56,7 +85,6 @@ content:
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
feeds_item: true
|
||||
field_fee: true
|
||||
name: true
|
||||
notes: true
|
||||
oc_target: true
|
||||
|
@ -5,11 +5,14 @@ dependencies:
|
||||
config:
|
||||
- field.field.oc_case.project.feeds_item
|
||||
- field.field.oc_case.project.field_contract_signed_date
|
||||
- field.field.oc_case.project.field_fee
|
||||
- field.field.oc_case.project.field_invoicing_notes
|
||||
- field.field.oc_case.project.field_invoicing_status
|
||||
- field.field.oc_case.project.field_link_to_invoice
|
||||
- opencase_cases.oc_case_type.project
|
||||
module:
|
||||
- datetime
|
||||
- file
|
||||
- link
|
||||
- user
|
||||
id: oc_case.project.default
|
||||
targetEntityType: oc_case
|
||||
@ -32,12 +35,12 @@ content:
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 5
|
||||
weight: 8
|
||||
region: content
|
||||
fees:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 2
|
||||
weight: 5
|
||||
region: content
|
||||
field_contract_signed_date:
|
||||
type: datetime_default
|
||||
@ -46,7 +49,34 @@ content:
|
||||
timezone_override: ''
|
||||
format_type: short
|
||||
third_party_settings: { }
|
||||
weight: 6
|
||||
weight: 9
|
||||
region: content
|
||||
field_invoicing_notes:
|
||||
type: basic_string
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 2
|
||||
region: content
|
||||
field_invoicing_status:
|
||||
type: entity_reference_label
|
||||
label: above
|
||||
settings:
|
||||
link: true
|
||||
third_party_settings: { }
|
||||
weight: 3
|
||||
region: content
|
||||
field_link_to_invoice:
|
||||
type: link
|
||||
label: above
|
||||
settings:
|
||||
trim_length: 80
|
||||
url_only: false
|
||||
url_plain: false
|
||||
rel: ''
|
||||
target: ''
|
||||
third_party_settings: { }
|
||||
weight: 4
|
||||
region: content
|
||||
files:
|
||||
type: file_default
|
||||
@ -54,7 +84,7 @@ content:
|
||||
settings:
|
||||
use_description_as_link_text: true
|
||||
third_party_settings: { }
|
||||
weight: 8
|
||||
weight: 11
|
||||
region: content
|
||||
total_fee:
|
||||
type: number_decimal
|
||||
@ -65,25 +95,24 @@ content:
|
||||
scale: 2
|
||||
prefix_suffix: true
|
||||
third_party_settings: { }
|
||||
weight: 3
|
||||
weight: 6
|
||||
region: content
|
||||
trainings:
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 4
|
||||
weight: 7
|
||||
region: content
|
||||
user_id:
|
||||
type: author
|
||||
label: above
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
weight: 7
|
||||
weight: 10
|
||||
region: content
|
||||
hidden:
|
||||
changed: true
|
||||
created: true
|
||||
feeds_item: true
|
||||
field_fee: true
|
||||
name: true
|
||||
notes: true
|
||||
oc_target: true
|
||||
|
@ -1,40 +0,0 @@
|
||||
uuid: 0ec431ed-c572-41c3-9796-54a5f94b2cba
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.oc_case.field_fee
|
||||
- opencase_cases.oc_case_type.project
|
||||
- paragraphs.paragraphs_type.fee
|
||||
module:
|
||||
- entity_reference_revisions
|
||||
id: oc_case.project.field_fee
|
||||
field_name: field_fee
|
||||
entity_type: oc_case
|
||||
bundle: project
|
||||
label: Fees
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:paragraph'
|
||||
handler_settings:
|
||||
negate: 0
|
||||
target_bundles:
|
||||
fee: fee
|
||||
target_bundles_drag_drop:
|
||||
availability:
|
||||
weight: 5
|
||||
enabled: false
|
||||
emergency_contact:
|
||||
weight: 6
|
||||
enabled: false
|
||||
fee:
|
||||
enabled: true
|
||||
weight: 7
|
||||
trainer:
|
||||
weight: 8
|
||||
enabled: false
|
||||
field_type: entity_reference_revisions
|
19
config/field.field.oc_case.project.field_invoicing_notes.yml
Normal file
19
config/field.field.oc_case.project.field_invoicing_notes.yml
Normal file
@ -0,0 +1,19 @@
|
||||
uuid: cec8eb04-c5a8-461f-be02-3d3f5d4ed161
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.oc_case.field_invoicing_notes
|
||||
- opencase_cases.oc_case_type.project
|
||||
id: oc_case.project.field_invoicing_notes
|
||||
field_name: field_invoicing_notes
|
||||
entity_type: oc_case
|
||||
bundle: project
|
||||
label: 'Invoicing notes'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string_long
|
@ -0,0 +1,33 @@
|
||||
uuid: 615e68c9-6593-4720-97db-b77bdad48eb2
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.oc_case.field_invoicing_status
|
||||
- opencase_cases.oc_case_type.project
|
||||
- taxonomy.vocabulary.invoicing_statuses
|
||||
content:
|
||||
- 'taxonomy_term:invoicing_statuses:18d498c4-a77c-4724-9512-58d72f245c16'
|
||||
id: oc_case.project.field_invoicing_status
|
||||
field_name: field_invoicing_status
|
||||
entity_type: oc_case
|
||||
bundle: project
|
||||
label: 'Invoicing status'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value:
|
||||
-
|
||||
target_uuid: 18d498c4-a77c-4724-9512-58d72f245c16
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
handler: 'default:taxonomy_term'
|
||||
handler_settings:
|
||||
target_bundles:
|
||||
invoicing_statuses: invoicing_statuses
|
||||
sort:
|
||||
field: name
|
||||
direction: asc
|
||||
auto_create: false
|
||||
auto_create_bundle: ''
|
||||
field_type: entity_reference
|
23
config/field.field.oc_case.project.field_link_to_invoice.yml
Normal file
23
config/field.field.oc_case.project.field_link_to_invoice.yml
Normal file
@ -0,0 +1,23 @@
|
||||
uuid: 485b2e9f-88b1-4848-839f-473f7ee02478
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.oc_case.field_link_to_invoice
|
||||
- opencase_cases.oc_case_type.project
|
||||
module:
|
||||
- link
|
||||
id: oc_case.project.field_link_to_invoice
|
||||
field_name: field_link_to_invoice
|
||||
entity_type: oc_case
|
||||
bundle: project
|
||||
label: 'Link to invoice'
|
||||
description: ''
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings:
|
||||
title: 0
|
||||
link_type: 16
|
||||
field_type: link
|
19
config/field.storage.oc_case.field_invoicing_notes.yml
Normal file
19
config/field.storage.oc_case.field_invoicing_notes.yml
Normal file
@ -0,0 +1,19 @@
|
||||
uuid: 04d70cb8-6464-4f57-97f5-e28c0476a69f
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- opencase_cases
|
||||
id: oc_case.field_invoicing_notes
|
||||
field_name: field_invoicing_notes
|
||||
entity_type: oc_case
|
||||
type: string_long
|
||||
settings:
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
@ -1,24 +1,23 @@
|
||||
uuid: 540a147e-eb93-474f-b77c-62380d0eadc9
|
||||
uuid: f94656f9-410c-4fac-9e78-72e719c7a91c
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- entity_reference_revisions
|
||||
- field_permissions
|
||||
- opencase_cases
|
||||
- paragraphs
|
||||
- taxonomy
|
||||
third_party_settings:
|
||||
field_permissions:
|
||||
permission_type: public
|
||||
id: oc_case.field_fee
|
||||
field_name: field_fee
|
||||
id: oc_case.field_invoicing_status
|
||||
field_name: field_invoicing_status
|
||||
entity_type: oc_case
|
||||
type: entity_reference_revisions
|
||||
type: entity_reference
|
||||
settings:
|
||||
target_type: paragraph
|
||||
module: entity_reference_revisions
|
||||
target_type: taxonomy_term
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: -1
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
23
config/field.storage.oc_case.field_link_to_invoice.yml
Normal file
23
config/field.storage.oc_case.field_link_to_invoice.yml
Normal file
@ -0,0 +1,23 @@
|
||||
uuid: a719c93e-3463-4071-a003-7fa42ef5b7ae
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- field_permissions
|
||||
- link
|
||||
- opencase_cases
|
||||
third_party_settings:
|
||||
field_permissions:
|
||||
permission_type: public
|
||||
id: oc_case.field_link_to_invoice
|
||||
field_name: field_link_to_invoice
|
||||
entity_type: oc_case
|
||||
type: link
|
||||
settings: { }
|
||||
module: link
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
8
config/taxonomy.vocabulary.invoicing_statuses.yml
Normal file
8
config/taxonomy.vocabulary.invoicing_statuses.yml
Normal file
@ -0,0 +1,8 @@
|
||||
uuid: c8f89b5c-1d2c-47db-89aa-d9c274b89a43
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies: { }
|
||||
name: 'Invoicing statuses'
|
||||
vid: invoicing_statuses
|
||||
description: ''
|
||||
weight: 0
|
Reference in New Issue
Block a user