public function DernieresOffres7jours() {
$offresjours = DB::select('select domainesNom as Domaine, serieSpectaclesNom as Nom, spectaclesNo as No, spectaclesDate as Date, spectaclesHeure as Heure, spectaclesDateApprouve as DateApprouve, spectaclesApprouve as Approuve, spectaclesNbBilletsGratuitsOfferts
as NbGratuits, spectaclesNbBilletsPayantsOfferts
as NbPayants
FROM spectacles
, seriespectacles, domaines WHERE domainesNo= seriespectaclesNoDomaine AND seriespectaclesNo= spectacles.spectaclesNoSerieSpectacles AND left(spectaclesDateApprouve
,10) >= adddate(now(), interval -7 day) and left(spectaclesDateApprouve
,10) <= now() order by No');
return view ('Spectacles/OffresBillets/DernieresOffres7jours')->with('offresjours', $offresjours);
}