Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
EIN field in the general settings (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldblanco authored and jspaine committed Sep 22, 2017
1 parent a739577 commit adf2393
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
23 changes: 15 additions & 8 deletions client/modules/settings/components/General.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ const General = () =>

<Row>
<Clearfix visibleSmBlock visibleMdBlock />
<Col lg={6}>
<RFFieldGroup
name="address"
label="Address"
type="textarea"
rows="5"
/>
</Col>
<Col lg={3}>
<RFFieldGroup
name="distanceUnit"
Expand All @@ -76,7 +68,22 @@ const General = () =>
required
/>
</Col>
<Col lg={3}>
<RFFieldGroup
name="EIN"
label="EIN"
type="text"
/>
</Col>
<Clearfix visibleSmBlock visibleMdBlock />
<Col lg={6}>
<RFFieldGroup
name="address"
label="Address"
type="textarea"
rows="5"
/>
</Col>
</Row>
</BoxBody>
</Box>
Expand Down
5 changes: 5 additions & 0 deletions server/models/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ const SettingsSchema = new Schema({
trim: true,
default: '$'
},
EIN: {
type: String,
trim: true,
default: ''
},
})

export default mongoose.model(modelTypes.SETTINGS, SettingsSchema)
Expand Down

0 comments on commit adf2393

Please sign in to comment.