/**
  * Retourne un tableau contenant pour chaque promotion :
  *      -promotion_id : de la promotion
  *      -total_sans_stage : nombre d'etudiant sans stage (en mode recherche)
  *      -total_etudiant : nombre totale etudiant de la promotion
  * @param $promotion tableau id des promotions concernées
  * @return mixed
  */
 public function getStatistiqueEtudiantParPromotion($promotion)
 {
     return Etudiant::select('promotion_id', DB::raw('count(recherche) as total_sans_stage'), DB::raw('count(*) as total_etudiant'))->whereIn('promotion_id', $promotion)->groupBy('promotion_id')->orderBy('promotion_id')->get();
 }