-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRYD-1326: Update exit reasons list (#23)
- Loading branch information
1 parent
746de78
commit 34065b1
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { defineMessages } from 'react-intl'; | ||
|
||
export default { | ||
exitReasons: { | ||
values: [ | ||
'deaccession', | ||
'disposal', | ||
'returnofloan', | ||
'temporary', | ||
'transfer', | ||
'painted out', | ||
'covered by construction', | ||
'lost to demolition', | ||
], | ||
messages: defineMessages({ | ||
temporary: { | ||
id: 'option.exitReasons.temporary', | ||
defaultMessage: 'temporary', | ||
}, | ||
transfer: { | ||
id: 'option.exitReasons.transfer', | ||
defaultMessage: 'transfer', | ||
}, | ||
'painted out': { | ||
id: 'option.exitReasons.painted out', | ||
defaultMessage: 'painted out', | ||
}, | ||
'covered by construction': { | ||
id: 'option.exitReasons.covered by construction', | ||
defaultMessage: 'covered by construction', | ||
}, | ||
'lost to demolition': { | ||
id: 'option.exitReasons.lost to demolition', | ||
defaultMessage: 'lost to demolition', | ||
}, | ||
}), | ||
}, | ||
}; |