X-Git-Url: https://git.piment-noir.org/?p=Project_webapp.git;a=blobdiff_plain;f=includes%2Freservations.php;h=0d32077720b46e5c5271580c0ad8461c44a3833b;hp=43148671acd1a16ce90e0ccf6032a8b4cc734599;hb=68cee0ac3fe728566e16dc0460416c77022f4b22;hpb=77c2d82c70ae6b1629d372b3c4642cdc2a994698 diff --git a/includes/reservations.php b/includes/reservations.php index 4314867..0d32077 100644 --- a/includes/reservations.php +++ b/includes/reservations.php @@ -17,7 +17,7 @@ $oDateNow = new Datetime($date_now); global $connection; $sql_pquery = "select RESERVATIONS.NumVol as NumVol, VilleD, DateD, VilleA, DateA, RESERVATIONS.Classe, NbPlaces, round(CoutVol*CoeffPrix*NbPlaces, 2) as Prix from RESERVATIONS join VOLS on RESERVATIONS.NumVol = VOLS.NumVol - join DEFCLASSES on DEFCLASSES.NumVol = VOLS.NumVol and RESERVATIONS.Classe = DEFCLASSES.Classe + join DEFCLASSES on DEFCLASSES.NumVol = RESERVATIONS.NumVol and DEFCLASSES.NumVol = VOLS.NumVol and DEFCLASSES.Classe = RESERVATIONS.Classe where NumCl = ? and DateD > ? order by DateD, NumVol, Prix"; $connection->prepare_query($sql_pquery); @@ -58,7 +58,7 @@ if (empty($rows)) { - + \n";