Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTEMSVT-410 STAGE: Add still serving option to Character of Discharge question #34257

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 48 additions & 20 deletions src/applications/discover-your-benefits/constants/benefits.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import environment from 'platform/utilities/environment';

const categories = {
BURIALS: 'Burials and memorials',
EDUCATION: 'Education',
Expand Down Expand Up @@ -116,27 +118,53 @@ export const giBillTypeLabels = Object.freeze({
NOT_APPLIED: "I haven't applied for GI Bill benefits.",
});

export const characterOfDischargeTypes = Object.freeze({
HONORABLE: 'HONORABLE',
UNDER_HONORABLE_CONDITIONS_GENERAL: 'UNDER_HONORABLE_CONDITIONS_GENERAL',
UNDER_OTHER_THAN_HONORABLE_CONDITIONS:
'UNDER_OTHER_THAN_HONORABLE_CONDITIONS',
BAD_CONDUCT: 'BAD_CONDUCT',
DISHONORABLE: 'DISHONORABLE',
UNCHARACTERIZED: 'UNCHARACTERIZED',
NOT_SURE: 'NOT_SURE',
});
export const characterOfDischargeTypes = environment.isProduction()
? Object.freeze({
HONORABLE: 'HONORABLE',
UNDER_HONORABLE_CONDITIONS_GENERAL: 'UNDER_HONORABLE_CONDITIONS_GENERAL',
UNDER_OTHER_THAN_HONORABLE_CONDITIONS:
'UNDER_OTHER_THAN_HONORABLE_CONDITIONS',
BAD_CONDUCT: 'BAD_CONDUCT',
DISHONORABLE: 'DISHONORABLE',
UNCHARACTERIZED: 'UNCHARACTERIZED',
NOT_SURE: 'NOT_SURE',
})
: Object.freeze({
HONORABLE: 'HONORABLE',
UNDER_HONORABLE_CONDITIONS_GENERAL: 'UNDER_HONORABLE_CONDITIONS_GENERAL',
UNDER_OTHER_THAN_HONORABLE_CONDITIONS:
'UNDER_OTHER_THAN_HONORABLE_CONDITIONS',
BAD_CONDUCT: 'BAD_CONDUCT',
DISHONORABLE: 'DISHONORABLE',
UNCHARACTERIZED: 'UNCHARACTERIZED',
STILL_SERVING: 'STILL_SERVING',
NOT_SURE: 'NOT_SURE',
});

export const characterOfDischargeTypeLabels = Object.freeze({
HONORABLE: 'Honorable',
UNDER_HONORABLE_CONDITIONS_GENERAL: 'Under Honorable Conditions (General)',
UNDER_OTHER_THAN_HONORABLE_CONDITIONS:
'Under Other Than Honorable Conditions',
BAD_CONDUCT: 'Bad Conduct',
DISHONORABLE: 'Dishonorable',
UNCHARACTERIZED: 'Uncharacterized',
NOT_SURE: "I'm not sure",
});
export const characterOfDischargeTypeLabels = environment.isProduction()
? Object.freeze({
HONORABLE: 'Honorable',
UNDER_HONORABLE_CONDITIONS_GENERAL:
'Under Honorable Conditions (General)',
UNDER_OTHER_THAN_HONORABLE_CONDITIONS:
'Under Other Than Honorable Conditions',
BAD_CONDUCT: 'Bad Conduct',
DISHONORABLE: 'Dishonorable',
UNCHARACTERIZED: 'Uncharacterized',
NOT_SURE: "I'm not sure",
})
: Object.freeze({
HONORABLE: 'Honorable',
UNDER_HONORABLE_CONDITIONS_GENERAL:
'Under Honorable Conditions (General)',
UNDER_OTHER_THAN_HONORABLE_CONDITIONS:
'Under Other Than Honorable Conditions',
BAD_CONDUCT: 'Bad Conduct',
DISHONORABLE: 'Dishonorable',
UNCHARACTERIZED: 'Uncharacterized',
STILL_SERVING: "I'm still serving",
NOT_SURE: "I'm not sure",
});

export const mappingTypes = {
GOALS: 'goals',
Expand Down
Loading