3
0
Fork 0
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:
Michael Stenta 2020-09-25 09:31:25 -04:00
parent fcc62ee3e2
commit 61588bb909
4 changed files with 74 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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