diff --git a/src/plugins/recordTypes/collectionobject/fields.js b/src/plugins/recordTypes/collectionobject/fields.js
index ead1358d..27e13b10 100644
--- a/src/plugins/recordTypes/collectionobject/fields.js
+++ b/src/plugins/recordTypes/collectionobject/fields.js
@@ -6207,6 +6207,123 @@ export default (configContext) => {
},
},
},
+ objectCountGroupList: {
+ [config]: {
+ view: {
+ type: CompoundInput,
+ },
+ },
+ objectCountGroup: {
+ [config]: {
+ messages: defineMessages({
+ name: {
+ id: 'field.collectionobjects_common.objectCountGroup.name',
+ defaultMessage: 'Object count',
+ },
+ }),
+ repeating: true,
+ view: {
+ type: CompoundInput,
+ },
+ },
+ objectCount: {
+ [config]: {
+ dataType: DATA_TYPE_INT,
+ messages: defineMessages({
+ fullName: {
+ id: 'field.collectionobjects_common.objectCount.fullName',
+ defaultMessage: 'Object count value',
+ },
+ name: {
+ id: 'field.collectionobjects_common.objectCount.name',
+ defaultMessage: 'Value',
+ },
+ }),
+ view: {
+ type: TextInput,
+ },
+ },
+ },
+ objectCountType: {
+ [config]: {
+ messages: defineMessages({
+ fullName: {
+ id: 'field.collectionobjects_common.objectCountType.fullName',
+ defaultMessage: 'Object count type',
+ },
+ name: {
+ id: 'field.collectionobjects_common.objectCountType.name',
+ defaultMessage: 'Type',
+ },
+ }),
+ view: {
+ type: TermPickerInput,
+ props: {
+ source: 'objectcounttypes',
+ },
+ },
+ },
+ },
+ objectCountCountedBy: {
+ [config]: {
+ messages: defineMessages({
+ fullName: {
+ id: 'field.collectionobjects_common.objectCountCountedBy.fullName',
+ defaultMessage: 'Object count counted by',
+ },
+ name: {
+ id: 'field.collectionobjects_common.objectCountCountedBy.name',
+ defaultMessage: 'Counted by',
+ },
+ }),
+ view: {
+ type: AutocompleteInput,
+ props: {
+ source: 'person/local,person/shared,person/ulan',
+ },
+ },
+ },
+ },
+ objectCountDate: {
+ [config]: {
+ dataType: DATA_TYPE_DATE,
+ messages: defineMessages({
+ fullName: {
+ id: 'field.collectionobjects_common.objectCountDate.fullName',
+ defaultMessage: 'Object count date',
+ },
+ name: {
+ id: 'field.collectionobjects_common.objectCountDate.name',
+ defaultMessage: 'Date',
+ },
+ }),
+ view: {
+ type: DateInput,
+ },
+ },
+ },
+ objectCountNote: {
+ [config]: {
+ messages: defineMessages({
+ fullName: {
+ id: 'field.collectionobjects_common.objectCountNote.fullName',
+ defaultMessage: 'Object count note',
+ },
+ name: {
+ id: 'field.collectionobjects_common.objectCountNote.name',
+ defaultMessage: 'Note',
+ },
+ }),
+ view: {
+ type: TextInput,
+ props: {
+ multiline: true,
+ },
+ },
+ },
+ },
+ },
+ },
},
},
};
diff --git a/src/plugins/recordTypes/collectionobject/forms/default.jsx b/src/plugins/recordTypes/collectionobject/forms/default.jsx
index b7c8a497..ca305a02 100644
--- a/src/plugins/recordTypes/collectionobject/forms/default.jsx
+++ b/src/plugins/recordTypes/collectionobject/forms/default.jsx
@@ -126,6 +126,21 @@ const template = (configContext) => {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/plugins/recordTypes/collectionobject/forms/photo.jsx b/src/plugins/recordTypes/collectionobject/forms/photo.jsx
index 12776662..74bbedaf 100644
--- a/src/plugins/recordTypes/collectionobject/forms/photo.jsx
+++ b/src/plugins/recordTypes/collectionobject/forms/photo.jsx
@@ -86,6 +86,20 @@ const template = (configContext) => {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/plugins/recordTypes/collectionobject/forms/public.jsx b/src/plugins/recordTypes/collectionobject/forms/public.jsx
index 71a37312..b01a3568 100644
--- a/src/plugins/recordTypes/collectionobject/forms/public.jsx
+++ b/src/plugins/recordTypes/collectionobject/forms/public.jsx
@@ -74,6 +74,19 @@ const template = (configContext) => {
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/plugins/recordTypes/collectionobject/forms/timebased.jsx b/src/plugins/recordTypes/collectionobject/forms/timebased.jsx
index c94e965a..0a18ca64 100644
--- a/src/plugins/recordTypes/collectionobject/forms/timebased.jsx
+++ b/src/plugins/recordTypes/collectionobject/forms/timebased.jsx
@@ -109,6 +109,20 @@ const template = (configContext) => {
+
+
+
+
+
+
+
+
+
+
+
+
+
+