import * as T from '@/store/utils/types'

export default {
  [T.SET_BUSINESS_SNAPSHOT_DATA](state, data) {
    state.businessSnapshots['production'] = data.production
    state.businessSnapshots['commissionsAndBonuses'] = data.commissions_and_bonuses
    state.businessSnapshots['chp'] = data.chp
    state.businessSnapshots['gpb'] = data.gpb
    state.businessSnapshots['qualifiedBa'] = data.qualified_ba
    state.businessSnapshots['qualifiedDirector'] = data.qualified_director
    state.businessSnapshots['qualifiedDiamond'] = data.qualified_diamond
    state.businessSnapshots['qualifiedPresident'] = data.qualified_president
    state.businessSnapshots['qualifiedCrown'] = data.qualified_crown
    state.businessSnapshots['iwbDetails'] = data.iwb_details
  },
}
