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

Commit efedd8b

Browse files
authored
Merge pull request #289 from sgmap/2018
Dernière mise à jour
2 parents 4c45cef + 70855be commit efedd8b

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
Attention : the legal rules behind this module will be maintained for a short while, but the interface will not and no new simulation features will be added here. See this [project](https://github.com/sgmap/syso) for the new simulators.
1+
:warning: Attention : Les règles législatives qui font tourner ce module seront mises à jour pendant un moment, mais l'interface ne va plus évoluer. Les travaux sont continués [ici](https://github.com/sgmap/syso).
22

3-
A widget to estimate the price of hiring in France : social security contributions minus national exemptions.
3+
> The legal rules behind this module will be maintained for a short while, but the interface will not and no new simulation features will be added here. See this [project](https://github.com/sgmap/syso) for the new simulators.
44
5-
> Module Web d'estimation du prix d'une embauche en France. Ce document est technique, et donc rédigé en anglais pour favoriser la réutilisation.
5+
Module Web d'estimation du prix d'une embauche en France. Ce document est technique, et donc rédigé en anglais pour favoriser la réutilisation.
66

7-
**[Online demo](https://embauche.beta.gouv.fr/simulateur/)**.
7+
> A widget to estimate the price of hiring in France : social security contributions minus national exemptions.
88
9-
If you want to create your own specific interface, have a look at the [API documentation](https://embauche.beta.gouv.fr/api-prelevements-sociaux).
9+
10+
**[demo](https://embauche.beta.gouv.fr/modules/v2/)**.
1011

1112

1213
Usage
@@ -15,8 +16,8 @@ Usage
1516
Include this line where you want the widget to appear in your page:
1617

1718
```html
18-
<script id="script-simulateur-embauche" src="dist/simulateur.js" data-couleur="#4A89DC"></script>
19-
```
19+
<script id="script-simulateur-embauche" src="dist/simulateur.js" data-couleur="#4A89DC"></script>
20+
```
2021

2122
It will add an iframe to your page, containing the simulation interface.
2223

@@ -88,6 +89,6 @@ Browser compatibility
8889

8990
- IE11 / Edge
9091
- All latest versions of
91-
- Safari
92-
- Firefox (>=35)
93-
- Chrome
92+
- Safari
93+
- Firefox (>=35)
94+
- Chrome

source/components/Affiliation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default () =>
77
<img alt="OpenFisca" src="https://www.openfisca.fr/hotlinks/logo-openfisca.svg" />
88
</a>
99
<a href="https://beta.gouv.fr" target="_blank">
10-
<img id="logo-SGMAP" alt="Secrétariat Général pour la Modernisation de l'Action Publique" src="https://embauche.beta.gouv.fr/simulateur/source/images/logo-SGMAP.svg" />
10+
<img id="logo-SGMAP" alt="Secrétariat Général pour la Modernisation de l'Action Publique" src="https://embauche.beta.gouv.fr/dist/images/marianne.svg" />
1111
</a>
1212
<a id="affiliation-contact" href="mailto:[email protected]?subject=A propos du simulateur d'embauche">contact</a>
1313
</section>

source/components/InfoZone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default ({
1717
</span>
1818
}
1919
{ infoNonCDI == 'CDD' && <span>
20-
Pour une simulation d'embauche en CDD, rendez-vous sur <a href="https://embauche.beta.gouv.fr/simu/surco%C3%BBt-CDD/intro" target="_blank">
21-
notre simulateur en version <em>beta</em>
20+
Pour une simulation d'embauche en CDD, rendez-vous sur <a href="https://embauche.beta.gouv.fr" target="_blank">
21+
la nouvelle version du simulateur
2222
</a>.
2323
</span>
2424
}

source/containers/BasicInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default class BasicInput extends Component {
6666
<em>(min. {salaireMinimum}€)</em>, dont primes.
6767
</span>
6868

69-
<Field component="select" name="typeSalaireEntré" >
69+
<Field component="select" name="typeSalaireEntré" disabled>
7070
<option value="brut">brut</option>
7171
<option value="net">net</option>
7272
</Field>

source/details-spec.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ Détails:
151151
explanation: Décroît en fonction du pourcentage de l'effectif en apprentissage.
152152
clarifier: pourcentage_alternants
153153

154-
Cotisation pénibilité:
155-
employeur: penibilite
156-
explanation: L'employeur est redevable d'une cotisation de pénibilité additionnelle pour les salariés exposés à un ou des facteurs de pénibilité.
157-
clarifier: penibilite
158-
159154
Taxe sur les salaires:
160155
employeur: taxe_salaires
161156
explanation: Montant non calculé, sauf pour les associations à but non lucratif. Taxe due notamment par les entreprises non assujetties à la TVA.

source/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
text-align: center;
2020
}
2121

22+
.widget select:disabled {
23+
border-bottom: none;
24+
}
25+
2226
.widget input[type="number"] {
2327
max-width: 5em;
2428
}

0 commit comments

Comments
 (0)