Skip to content

Commit

Permalink
Update Layouts For Multiline Notes (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejritter authored Jan 17, 2024
1 parent 097e876 commit d21b6d1
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 28 deletions.
14 changes: 9 additions & 5 deletions src/plugins/recordTypes/acquisition/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,15 @@ const template = (configContext) => {

<Field name="approvalGroupList">
<Field name="approvalGroup">
<Field name="approvalGroup" />
<Field name="approvalIndividual" />
<Field name="approvalStatus" />
<Field name="approvalDate" />
<Field name="approvalNote" />
<Panel>
<Row>
<Field name="approvalGroup" />
<Field name="approvalIndividual" />
<Field name="approvalStatus" />
<Field name="approvalDate" />
</Row>
<Field name="approvalNote" />
</Panel>
</Field>
</Field>
<Field name="acquisitionNote" />
Expand Down
12 changes: 8 additions & 4 deletions src/plugins/recordTypes/collectionobject/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,14 @@ const template = (configContext) => {

<Field name="annotationGroupList" subpath="ns2:collectionobjects_annotation">
<Field name="annotationGroup">
<Field name="annotationType" />
<Field name="annotationNote" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
<Panel>
<Row>
<Field name="annotationType" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
</Row>
<Field name="annotationNote" />
</Panel>
</Field>
</Field>

Expand Down
14 changes: 9 additions & 5 deletions src/plugins/recordTypes/intake/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,15 @@ const template = (configContext) => {

<Field name="approvalGroupList">
<Field name="approvalGroup">
<Field name="approvalGroup" />
<Field name="approvalIndividual" />
<Field name="approvalStatus" />
<Field name="approvalDate" />
<Field name="approvalNote" />
<Panel>
<Row>
<Field name="approvalGroup" />
<Field name="approvalIndividual" />
<Field name="approvalStatus" />
<Field name="approvalDate" />
</Row>
<Field name="approvalNote" />
</Panel>
</Field>
</Field>

Expand Down
6 changes: 3 additions & 3 deletions src/plugins/recordTypes/loanin/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ export default (configContext) => {
repeating: true,
view: {
type: CompoundInput,
props: {
tabular: true,
},
},
},
loaninStatusLHMC: {
Expand Down Expand Up @@ -111,6 +108,9 @@ export default (configContext) => {
}),
view: {
type: TextInput,
props: {
multiline: true,
},
},
},
},
Expand Down
12 changes: 8 additions & 4 deletions src/plugins/recordTypes/loanin/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ const template = (configContext) => {

<Field name="loaninStatusLHMCGroupList" subpath="ns2:loansin_lhmc">
<Field name="loaninStatusLHMCGroup">
<Field name="loaninStatusLHMC" />
<Field name="loaninStatusDateLHMC" />
<Field name="loaninStatusNoteLHMC" />
<Field name="loaninStatusAuthorizerLHMC" />
<Panel>
<Row>
<Field name="loaninStatusLHMC" />
<Field name="loaninStatusDateLHMC" />
<Field name="loaninStatusAuthorizerLHMC" />
</Row>
<Field name="loaninStatusNoteLHMC" />
</Panel>
</Field>
</Field>

Expand Down
6 changes: 3 additions & 3 deletions src/plugins/recordTypes/loanout/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ export default (configContext) => {
repeating: true,
view: {
type: CompoundInput,
props: {
tabular: true,
},
},
},
loanoutStatusLHMC: {
Expand Down Expand Up @@ -111,6 +108,9 @@ export default (configContext) => {
}),
view: {
type: TextInput,
props: {
multiline: true,
},
},
},
},
Expand Down
12 changes: 8 additions & 4 deletions src/plugins/recordTypes/loanout/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,14 @@ const template = (configContext) => {

<Field name="loanoutStatusLHMCGroupList" subpath="ns2:loansout_lhmc">
<Field name="loanoutStatusLHMCGroup">
<Field name="loanoutStatusLHMC" />
<Field name="loanoutStatusDateLHMC" />
<Field name="loanoutStatusNoteLHMC" />
<Field name="loanoutStatusAuthorizerLHMC" />
<Panel>
<Row>
<Field name="loanoutStatusLHMC" />
<Field name="loanoutStatusDateLHMC" />
<Field name="loanoutStatusAuthorizerLHMC" />
</Row>
<Field name="loanoutStatusNoteLHMC" />
</Panel>
</Field>
</Field>

Expand Down

0 comments on commit d21b6d1

Please sign in to comment.