mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Add "Lot number" field to Harvest, Input, and Seeding logs.
This commit is contained in:
parent
fcc62ee3e2
commit
61588bb909
4 changed files with 74 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- log
|
||||
id: log.lot_number
|
||||
field_name: lot_number
|
||||
entity_type: log
|
||||
type: string
|
||||
settings:
|
||||
max_length: 255
|
||||
is_ascii: false
|
||||
case_sensitive: false
|
||||
module: core
|
||||
locked: false
|
||||
cardinality: 1
|
||||
translatable: true
|
||||
indexes: { }
|
||||
persist_with_no_fields: false
|
||||
custom_storage: false
|
|
@ -0,0 +1,18 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.lot_number
|
||||
- log.type.harvest
|
||||
id: log.harvest.lot_number
|
||||
field_name: lot_number
|
||||
entity_type: log
|
||||
bundle: harvest
|
||||
label: 'Lot number'
|
||||
description: 'If this harvest is part of a batch or lot, enter the lot number here.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
|
@ -0,0 +1,18 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.lot_number
|
||||
- log.type.input
|
||||
id: log.input.lot_number
|
||||
field_name: lot_number
|
||||
entity_type: log
|
||||
bundle: input
|
||||
label: 'Lot number'
|
||||
description: 'If the manufacturer assigned this input a lot number, enter it here.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
|
@ -0,0 +1,18 @@
|
|||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- field.storage.log.lot_number
|
||||
- log.type.seeding
|
||||
id: log.seeding.lot_number
|
||||
field_name: lot_number
|
||||
entity_type: log
|
||||
bundle: seeding
|
||||
label: 'Lot number'
|
||||
description: 'If the seed is part of a batch or lot, enter the lot number here.'
|
||||
required: false
|
||||
translatable: false
|
||||
default_value: { }
|
||||
default_value_callback: ''
|
||||
settings: { }
|
||||
field_type: string
|
Loading…
Reference in a new issue