src/config/formSections/financial.js

Summary

Maintainability
A
0 mins
Test Coverage
import * as sections from 'constants/sections'
import { i18n } from 'config'

export const FINANCIAL = {
  key: sections.FINANCIAL,
  name: 'financial',
  path: 'financial',
  store: 'Financial',
  label: i18n.t('financial.section.name'),
}

export const FINANCIAL_INTRO = {
  key: sections.FINANCIAL_INTRO,
  name: 'intro',
  path: 'intro',
  label: i18n.t('financial.subsection.intro'),
}

export const FINANCIAL_BANKRUPTCY = {
  key: sections.FINANCIAL_BANKRUPTCY,
  name: 'bankruptcy',
  path: 'bankruptcy',
  storeKey: 'Bankruptcy',
  label: i18n.t('financial.subsection.bankruptcy'),
}

export const FINANCIAL_GAMBLING = {
  key: sections.FINANCIAL_GAMBLING,
  name: 'gambling',
  path: 'gambling',
  storeKey: 'Gambling',
  label: i18n.t('financial.subsection.gambling'),
}

export const FINANCIAL_TAXES = {
  key: sections.FINANCIAL_TAXES,
  name: 'taxes',
  path: 'taxes',
  storeKey: 'Taxes',
  label: i18n.t('financial.subsection.taxes'),
}

export const FINANCIAL_CARD = {
  key: sections.FINANCIAL_CARD,
  name: 'card',
  path: 'card',
  storeKey: 'Card',
  label: i18n.t('financial.subsection.card'),
}

export const FINANCIAL_CREDIT = {
  key: sections.FINANCIAL_CREDIT,
  name: 'credit',
  path: 'credit',
  storeKey: 'Credit',
  label: i18n.t('financial.subsection.credit'),
}

export const FINANCIAL_DELINQUENT = {
  key: sections.FINANCIAL_DELINQUENT,
  name: 'delinquent',
  path: 'delinquent',
  storeKey: 'Delinquent',
  label: i18n.t('financial.subsection.delinquent'),
}

export const FINANCIAL_NONPAYMENT = {
  key: sections.FINANCIAL_NONPAYMENT,
  name: 'nonpayment',
  path: 'nonpayment',
  storeKey: 'Nonpayment',
  label: i18n.t('financial.subsection.nonpayment'),
}

export const FINANCIAL_REVIEW = {
  key: sections.FINANCIAL_REVIEW,
  name: 'review',
  path: 'review',
  label: i18n.t('financial.subsection.review'),
}

export default {
  FINANCIAL,
  FINANCIAL_INTRO,
  FINANCIAL_BANKRUPTCY,
  FINANCIAL_GAMBLING,
  FINANCIAL_TAXES,
  FINANCIAL_CARD,
  FINANCIAL_CREDIT,
  FINANCIAL_DELINQUENT,
  FINANCIAL_NONPAYMENT,
  FINANCIAL_REVIEW,
}