mon-entreprise/source/actions/companyStatusActions.js

36 lines
699 B
JavaScript

/* @flow */
import type {
ChooseCompanyLiabilityAction,
CompanyLiability,
CompanyHaveMultipleAssociateAction,
DirectorStatus,
DefineDirectorStatusAction
} from 'Types/companyStatusTypes'
export function chooseCompanyLiability(
setup: CompanyLiability
): ChooseCompanyLiabilityAction {
return {
type: 'CHOOSE_COMPANY_LEGAL_SETUP',
setup
}
}
export function defineDirectorStatus(
status: DirectorStatus
): DefineDirectorStatusAction {
return {
type: 'DEFINE_DIRECTOR_STATUS',
status
}
}
export function companyHaveMultipleAssociate(
multipleAssociate: boolean
): CompanyHaveMultipleAssociateAction {
return {
type: 'COMPANY_HAVE_MULTIPLE_ASSOCIATE',
multipleAssociate
}
}