get_exercice(); $periode = new Periode($cn); list($periode_start, $periode_end) = $periode->get_limit($exercice); $array['wdate_start'] = $periode_start->first_day(); $array['wdate_end'] =$periode_end->last_day(); } $stock->history($array); ?>