$caisseSortiesManager = new CaisseSortiesManager($pdo);
    $operationsManager = new OperationManager($pdo);
    //classes and vars
    $idProjet = $_GET['idProjet'];
    $projet = $projetManager->getProjetById($idProjet);
    //users number
    $usersNumber = $usersManager->getUsersNumber();
    $mailsNumberToday = $mailsManager->getMailsNumberToday();
    $mailsToday = $mailsManager->getMailsToday();
    $clientWeek = $clientManager->getClientsWeek();
    $clientNumberWeek = $clientManager->getClientsNumberWeek();
    $livraisonsWeek = $livraisonsManager->getLivraisonsWeek();
    $livraisonsNumberWeek = $livraisonsManager->getLivraisonsNumberWeek();
    $operationsNumberWeek = $operationsManager->getOperationNumberWeek();
    //get contacts ids and get sum of client operations
    $idsContrats = $contratManager->getContratIdsByIdProjet($_GET['idProjet']);
    $sommeOperationsClients = 0;
    $sommePrixVente = 0;
    foreach ($idsContrats as $id) {
        $sommeOperationsClients += $operationsManager->sommeOperations($id);
        $sommePrixVente += $contratManager->getContratById($id)->prixVente();
    }
    //$sommeApportsClients = ceil($contratManager->sommeAvanceByIdProjet($_GET['idProjet'])+$sommeOperationsClients);
    $sommeApportsClients = ceil($sommeOperationsClients);
    $sommeReglements = ceil($reglementsFournisseurManager->sommeReglementFournisseurByIdProjet($_GET['idProjet']));
    $sommeLivraison = ceil($livraisonsManager->getTotalLivraisonsIdProjet($_GET['idProjet']));
    $reliquat = $sommePrixVente - $sommeReglements;
    //$sommeReglements = 10;
    ?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->