🐛 👽 Clef micro-entreprise pas micro-enterprise

Des switchs étaient basés sur une confusion entre les deux

Le premier est compréhensible par un anglais, et reste le terme exact du
statut juridique, comme les autres en initiales.
pull/426/head
Mael 2018-11-19 11:44:19 +00:00
parent 2991175ec2
commit a775394044
7 changed files with 57 additions and 34 deletions

View File

@ -505,7 +505,7 @@ path:
responsabilité: '/liability'
statusDirigeant: '/directors-status'
nombreAssociés: '/multiple-associates'
microEntreprise: '/micro-enterprise-or-individual-business'
microEntreprise: '/micro-entreprise-or-individual-business'
sécuritéSociale:
index: '/social-security'
démarcheEmbauche:

View File

@ -15,14 +15,14 @@ import {
import sitePaths from '../sites/mycompanyinfrance.fr/sitePaths'
const LEGAL_STATUS_DETAILS: { [status: string]: CompanyLegalStatus } = {
'Micro-enterprise': {
'Micro-entreprise': {
liability: 'UNLIMITED_LIABILITY',
directorStatus: 'SELF_EMPLOYED',
minorityDirector: false,
multipleAssociates: false,
microEnterprise: true
},
'Micro-enterprise (option EIRL)': {
'Micro-entreprise (option EIRL)': {
liability: 'LIMITED_LIABILITY',
directorStatus: 'SELF_EMPLOYED',
multipleAssociates: false,

View File

@ -143,7 +143,7 @@ const StepsHeader = ({
<li>
<NavLink
to={sitePaths().entreprise.créer(
'micro-enterprise'
'micro-entreprise'
)}>
<T>Micro-entreprise</T>
</NavLink>

View File

@ -215,7 +215,7 @@ const CreateCompany = ({
</>
}
/>
{!['EI', 'EIRL', 'micro-enterprise'].includes(companyStatus) && (
{!['EI', 'EIRL', 'micro-entreprise'].includes(companyStatus) && (
<CheckItem
name="fundsDeposit"
title={
@ -322,7 +322,7 @@ const CreateCompany = ({
</h2>
<Checklist>
{companyStatus !== 'micro-enterprise' && (
{companyStatus !== 'micro-entreprise' && (
<CheckItem
name="chooseCertifiedAccountant"
title={

View File

@ -37,7 +37,7 @@ const Microenterprise = ({ companyIsMicroenterprise, t }: Props) => (
</Helmet>
<h2>
<T k="microentreprise.titre">
Micro-enterprise ou entreprise individuelle (EI) ?
Micro-entreprise ou entreprise individuelle (EI) ?
</T>
</h2>
<T k="microentreprise.description">

View File

@ -4,14 +4,14 @@ import Helmet from 'react-helmet'
import { connect } from 'react-redux'
import { Link } from 'react-router-dom'
import { possibleStatusSelector } from 'Selectors/companyStatusSelectors'
import { withI18n } from 'react-i18next';
import { withI18n } from 'react-i18next'
import StatusDescription from './StatusDescription'
import type { RouterHistory } from 'react-router'
import {compose} from 'ramda'
import { compose } from 'ramda'
import type { LegalStatus } from 'Selectors/companyStatusSelectors'
import withLanguage from 'Components/utils/withLanguage'
import type { TFunction } from 'react-i18next'
import sitePaths from '../../sitePaths';
import sitePaths from '../../sitePaths'
const setMainStatus = () => {}
@ -23,17 +23,24 @@ type Props = {
t: TFunction
}
const StatusButton = withI18n()(({ status, t }: { status: LegalStatus, t: TFunction }) => (
<Link to={sitePaths().entreprise.créer(status)} className="ui__ button">
<T>Créer une</T> {t(status)}
</Link>
))
const StatusButton = withI18n()(
({ status, t }: { status: LegalStatus, t: TFunction }) => (
<Link to={sitePaths().entreprise.créer(status)} className="ui__ button">
<T>Créer une</T> {t(status)}
</Link>
)
)
const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
return (
<>
<Helmet>
<title>{t('listeformejuridique.page.titre', 'Liste des statuts juridiques pour la création de votre entreprise')}</title>
<title>
{t(
'listeformejuridique.page.titre',
'Liste des statuts juridiques pour la création de votre entreprise'
)}
</title>
</Helmet>
<h2>
<T>Votre forme juridique</T>
@ -43,7 +50,8 @@ const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
{possibleStatus.EI && (
<li>
<strong>
EI - Entreprise individuelle {language !== 'fr' && '(Individual business)'}:{' '}
EI - Entreprise individuelle{' '}
{language !== 'fr' && '(Individual business)'}:{' '}
</strong>
<StatusDescription status="EI" />
<br />
@ -54,7 +62,9 @@ const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
<li>
<strong>
EIRL - Entrepreneur individuel à responsabilité limitée{' '}
{language !== 'fr' && '(Individual entrepreneur with limited liability)'}:{' '}
{language !== 'fr' &&
'(Individual entrepreneur with limited liability)'}
:{' '}
</strong>
<StatusDescription status="EIRL" />
<br />
@ -99,7 +109,8 @@ const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
<li>
<strong>
SASU - Société par action simplifiée unipersonnelle{' '}
{language !== 'fr' && '(Simplified personal joint stock company)'}:{' '}
{language !== 'fr' && '(Simplified personal joint stock company)'}
:{' '}
</strong>
<StatusDescription status="SASU" />
<br />
@ -108,8 +119,9 @@ const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
)}
{possibleStatus.SA && (
<li>
<strong>SA - Société anonyme{' '}
{language !== 'fr' && '(Anonymous company)'}:{' '}</strong>
<strong>
SA - Société anonyme {language !== 'fr' && '(Anonymous company)'}:{' '}
</strong>
<StatusDescription status="SA" />
<br />
<StatusButton status="SA" history={history} />
@ -117,18 +129,23 @@ const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
)}
{possibleStatus.SNC && (
<li>
<strong>SNC - Société en nom collectif{' '}
{language !== 'fr' && '(Partnership)'}:{' '} </strong>
<strong>
SNC - Société en nom collectif{' '}
{language !== 'fr' && '(Partnership)'}:{' '}
</strong>
<StatusDescription status="SNC" />
<br />
<StatusButton status="SNC" history={history} />
</li>
)}
{(possibleStatus['Micro-enterprise (option EIRL)'] ||
possibleStatus['Micro-enterprise']) && (
{(possibleStatus['Micro-entreprise (option EIRL)'] ||
possibleStatus['Micro-entreprise']) && (
<li>
<strong><T>Micro-enterprise</T>{language === 'fr' && ' (auto-entrepreneur) '}: </strong>
<strong>
<T>Micro-entreprise</T>
{language === 'fr' && ' (auto-entrepreneur) '}:{' '}
</strong>
<StatusDescription status="micro-entreprise" />
<br />
<StatusButton status="micro-entreprise" history={history} />
@ -136,14 +153,20 @@ const SetMainStatus = ({ history, possibleStatus, t, language }: Props) => {
)}
</ul>
<div className="ui__ answer-group">
<Link to={sitePaths().sécuritéSociale.index} className="ui__ skip-button">
<Link
to={sitePaths().sécuritéSociale.index}
className="ui__ skip-button">
Choose later
</Link>
</div>
</>
)
}
export default compose(withI18n(), withLanguage, connect(
state => ({ possibleStatus: possibleStatusSelector(state) }),
{ setMainStatus }
))(SetMainStatus)
export default compose(
withI18n(),
withLanguage,
connect(
state => ({ possibleStatus: possibleStatusSelector(state) }),
{ setMainStatus }
)
)(SetMainStatus)

View File

@ -7,15 +7,15 @@ https://mycompanyinfrance.fr/company/create-a-SAS
https://mycompanyinfrance.fr/company/create-a-SARL
https://mycompanyinfrance.fr/company/create-a-SASU
https://mycompanyinfrance.fr/company/create-a-SNC
https://mycompanyinfrance.fr/company/create-a-micro-enterprise
https://mycompanyinfrance.fr/company/create-a-micro-entreprise
https://mycompanyinfrance.fr/company/find
https://mycompanyinfrance.fr/company/after-registration
https://mycompanyinfrance.fr/company/legal-status
https://mycompanyinfrance.fr/company/legal-status/list
https://mycompanyinfrance.fr/company/legal-status/liability
https://mycompanyinfrance.fr/company/legal-status/directors-status
https://mycompanyinfrance.fr/company/legal-status/micro-enterprise-or-individual-business
https://mycompanyinfrance.fr/company/legal-status/micro-entreprise-or-individual-business
https://mycompanyinfrance.fr/company/legal-status/multiple-associates
https://mycompanyinfrance.fr/company/legal-status/chairman-or-managing-director
https://mycompanyinfrance.fr/social-security
https://mycompanyinfrance.fr/hiring-process
https://mycompanyinfrance.fr/hiring-process