import React, { Component } from 'react' import { connect } from 'react-redux' import { Link } from 'react-router-dom' import { animated, Spring } from 'react-spring' import { blockingInputControlsSelector, nextStepsSelector, noUserInputSelector } from 'Selectors/analyseSelectors' import Conversation from './conversation/Conversation' import * as Animate from './inFranceApp/animate' import Distribution from './ResultView/Distribution' import PaySlip from './ResultView/PaySlip' import './Simu.css' import TargetSelection from './TargetSelection' import withColours from './withColours' @withColours @connect( state => ({ noUserInput: noUserInputSelector(state), blockingInputControls: blockingInputControlsSelector(state), conversationStarted: state.conversationStarted, nextSteps: state.conversationStarted && nextStepsSelector(state) }), { onSimulationContinued: () => ({ type: 'START_CONVERSATION' }) } ) export default class Simu extends Component { render() { let { colours, conversationStarted, noUserInput, nextSteps, onSimulationContinued, blockingInputControls } = this.props const firstValidInputEntered = !conversationStarted && !blockingInputControls && !noUserInput const displayConversation = conversationStarted && !blockingInputControls const simulationCompleted = !blockingInputControls && conversationStarted && !nextSteps.length return ( <>
This is the most precise estimate that you can get. However, some special reglementations can impact this result. You can read more about it{' '}
Want to make your hiring project a reality?
This is a rough estimate based on a pre-made generic contract. French legislation provides for a multitude of special cases, and specific rules that can considerably change hiring costs.