| 1 | import { FormattedMessage } from 'react-intl'; |
| 2 | |
| 3 | export const evaluationOptions = () => { |
| 4 | return [ |
| 5 | { |
| 6 | key: 'in last 7 days', |
| 7 | value: 'IN_WEEK_VISITED', |
| 8 | text: <FormattedMessage id='toggles.filter.evaluated.last.seven.days' /> |
| 9 | }, |
| 10 | { |
| 11 | key: 'not in last 7 days', |
| 12 | value: 'OUT_WEEK_VISITED', |
| 13 | text: <FormattedMessage id='toggles.filter.evaluated.not.last.seven.days' /> |
| 14 | }, |
| 15 | { |
| 16 | key: 'none', |
| 17 | value: 'NOT_VISITED', |
| 18 | text: <FormattedMessage id='toggles.filter.evaluated.never' /> |
| 19 | }, |
| 20 | ]; |
| 21 | }; |
| 22 | |
| 23 | export const statusOptions = () => { |
| 24 | return [ |