swapped old total fee field on project view for new one
This commit is contained in:
		@ -6,7 +6,6 @@ dependencies:
 | 
			
		||||
    - 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_total_fee
 | 
			
		||||
    - opencase_cases.oc_case_type.project
 | 
			
		||||
  module:
 | 
			
		||||
    - datetime
 | 
			
		||||
@ -58,7 +57,8 @@ content:
 | 
			
		||||
hidden:
 | 
			
		||||
  feeds_item: true
 | 
			
		||||
  field_fee: true
 | 
			
		||||
  field_total_fee: true
 | 
			
		||||
  name: true
 | 
			
		||||
  notes: true
 | 
			
		||||
  oc_target: true
 | 
			
		||||
  total_fee: true
 | 
			
		||||
  user_id: true
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,6 @@ dependencies:
 | 
			
		||||
    - 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_total_fee
 | 
			
		||||
    - opencase_cases.oc_case_type.project
 | 
			
		||||
  module:
 | 
			
		||||
    - datetime
 | 
			
		||||
@ -85,6 +84,8 @@ hidden:
 | 
			
		||||
  created: true
 | 
			
		||||
  feeds_item: true
 | 
			
		||||
  field_fee: true
 | 
			
		||||
  field_total_fee: true
 | 
			
		||||
  name: true
 | 
			
		||||
  notes: true
 | 
			
		||||
  oc_target: true
 | 
			
		||||
  search_api_excerpt: true
 | 
			
		||||
  status: true
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										18
									
								
								config/core.entity_view_mode.projects.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								config/core.entity_view_mode.projects.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
			
		||||
uuid: d6279582-2817-4fc5-8da1-7aef408ac19f
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies:
 | 
			
		||||
  config:
 | 
			
		||||
    - field.storage.oc_case.field_contract_signed_date
 | 
			
		||||
    - opencase_cases.oc_case_type.project
 | 
			
		||||
    - system.menu.opencase
 | 
			
		||||
    - user.role.administrator
 | 
			
		||||
    - user.role.gno_admin_user
 | 
			
		||||
  module:
 | 
			
		||||
    - datetime
 | 
			
		||||
    - opencase_cases
 | 
			
		||||
    - user
 | 
			
		||||
id: projects
 | 
			
		||||
label: Projects
 | 
			
		||||
targetEntityType: null
 | 
			
		||||
cache: true
 | 
			
		||||
@ -1,23 +0,0 @@
 | 
			
		||||
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
 | 
			
		||||
@ -1,24 +0,0 @@
 | 
			
		||||
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
 | 
			
		||||
@ -1,10 +1,9 @@
 | 
			
		||||
uuid: d6279582-2817-4fc5-8da1-7aef408ac19f
 | 
			
		||||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
status: false
 | 
			
		||||
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.administrator
 | 
			
		||||
@ -223,15 +222,17 @@ display:
 | 
			
		||||
          multi_type: separator
 | 
			
		||||
          separator: ', '
 | 
			
		||||
          field_api_classes: false
 | 
			
		||||
        field_total_fee:
 | 
			
		||||
          id: field_total_fee
 | 
			
		||||
          table: oc_case__field_total_fee
 | 
			
		||||
          field: field_total_fee
 | 
			
		||||
        total_fee:
 | 
			
		||||
          id: total_fee
 | 
			
		||||
          table: oc_case_field_data
 | 
			
		||||
          field: total_fee
 | 
			
		||||
          relationship: none
 | 
			
		||||
          group_type: group
 | 
			
		||||
          admin_label: ''
 | 
			
		||||
          entity_type: oc_case
 | 
			
		||||
          entity_field: total_fee
 | 
			
		||||
          plugin_id: field
 | 
			
		||||
          label: 'Total fee'
 | 
			
		||||
          label: 'Total Fee'
 | 
			
		||||
          exclude: false
 | 
			
		||||
          alter:
 | 
			
		||||
            alter_text: false
 | 
			
		||||
@ -367,7 +368,6 @@ display:
 | 
			
		||||
        - user.roles
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_case.field_contract_signed_date'
 | 
			
		||||
        - 'config:field.storage.oc_case.field_total_fee'
 | 
			
		||||
  block_1:
 | 
			
		||||
    id: block_1
 | 
			
		||||
    display_title: Block
 | 
			
		||||
@ -636,7 +636,6 @@ display:
 | 
			
		||||
        - user.roles
 | 
			
		||||
      tags:
 | 
			
		||||
        - 'config:field.storage.oc_case.field_contract_signed_date'
 | 
			
		||||
        - 'config:field.storage.oc_case.field_total_fee'
 | 
			
		||||
  entity_reference_1:
 | 
			
		||||
    id: entity_reference_1
 | 
			
		||||
    display_title: 'Entity Reference'
 | 
			
		||||
@ -812,4 +811,3 @@ 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