Skip to content
This repository was archived by the owner on Mar 27, 2019. It is now read-only.

Commit 678a8ed

Browse files
authored
Merge pull request #261 from sgmap/alsace-moselle
Régime d'Alsace-Moselle
2 parents 5bc2080 + a3caf8b commit 678a8ed

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-6
lines changed

example-integration.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,28 @@
66
<meta name="viewport" content="initial-scale=1">
77
<title>Intégrateur numéro 1</title>
88
</head>
9+
<style>
10+
#en-tête {
11+
text-align: center;
12+
border: 1px solid #333;
13+
padding: 1em;
14+
width: 100%;
15+
margin: 0 auto;
16+
}
17+
18+
#module {
19+
20+
}
21+
</style>
922

1023
<body>
11-
<script id="script-simulateur-embauche" src="dist/simulateur.js" data-couleur="#4A89DC"></script>
24+
<section id="en-tête">
25+
<h1>Ma page Web</h1>
26+
<p>Gagnez en visibilité sur le prix d'une embauche en France !</p>
27+
</section>
28+
<section id="module">
29+
<script id="script-simulateur-embauche" src="dist/simulateur.js" data-couleur="#333"></script>
30+
</section>
1231
<!-- #1F4382 - #3570B8 - #4A89DC - #4A9DED-->
1332
</body>
1433
</html>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cout-embauche",
3-
"version": "0.11.0",
3+
"version": "1.0.0",
44
"license": "AGPL-3.0",
55
"repository": {
66
"type": "git",

source/containers/Conversation.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@ class Conversation extends Component {
3939
name="codeINSEE" />
4040
<Input
4141
title="Complémentaire santé"
42-
question="Quel est le montant total par salarié de votre complémentaire santé entreprise obligatoire ?"
42+
question="Quel est le montant total par salarié de la complémentaire santé obligatoire de l'entreprise ?"
4343
visible={effectifEntreprise < 10 || steps.get('codeINSEE')}
4444
name="mutuelle" />
45-
4645
<Group
4746
text="Risques professionnels"
4847
visible={steps.get('mutuelle')}
@@ -81,11 +80,17 @@ class Conversation extends Component {
8180
name="pourcentage_alternants" />
8281

8382
<Question
84-
title="Exonération Jeune Entreprise Innovante"
85-
question="Profitez-vous du statut Jeune Entreprise Innovante pour cette embauche ?"
8683
visible={
8784
(effectifEntreprise < 249 && steps.get('tauxRisque'))
8885
|| steps.get('pourcentage_alternants')}
86+
title="Régime Alsace-Moselle"
87+
question="Le salarié est-il affilié au régime d'Alsace-Moselle ?"
88+
name="alsaceMoselle" />
89+
90+
<Question
91+
title="Exonération Jeune Entreprise Innovante"
92+
question="Profitez-vous du statut Jeune Entreprise Innovante pour cette embauche ?"
93+
visible={steps.get('alsaceMoselle')}
8994
name="jei" />
9095

9196
<Question

source/conversation-steps.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,15 @@ export default {
100100
adapt: (raw, validated) => ({'complementaire_sante_montant': validated}),
101101
},
102102

103+
'alsaceMoselle': {
104+
choices: [ 'Oui', 'Non' ],
105+
helpText:
106+
<p>
107+
Cette affiliation est obligatoire si l'activité est exercée dans les départements du Bas-Rhin, du Haut-Rhin et de la Moselle. Elle l'est aussi dans certains autres cas, expliqués sur <a href="http://regime-local.fr/salaries/" target="_blank">cette page.</a>
108+
<br/>
109+
</p>,
110+
adapt: raw => ({salarie_regime_alsace_moselle: raw === 'Oui' ? 1 : 0}),
111+
},
103112

104113
'codeINSEE': {
105114
defaultValue: {codeInsee: '29019', nomCommune: 'Ville de 100 000 habitants'},

0 commit comments

Comments
 (0)