Skip to content

oum-5148/projet-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Tunisair-ENSI travel agency ✈️

once you start the application , you will first have to identify as a client or as an admin , for the record each one has its own functions and purpose .

enter image description here

1 - Client :

enter image description here

  • saisir un voyage : this calls the function named ajout-voyage() that takes different inputs from user to fill out the details of the trip such as destination , date , hotel...

enter image description here

  • chercher un voyage :

enter image description here

There are two ways to look for a trip :

  • the first calls a function named rechercher() that allows you to narrow your research by entering two dates , it then displays the flights in between those dates .
  • the second calls a function named rechercher1() that displays the flights available on a specific date entered by the user .

⛔The trips are stocked in a file named basededonnee that has all of the available trips in the format (departure/destination/date) .

  • Afficher le panier :

enter image description here

  • afficher la drescription : this calls a function named panier() that displays the trips that were booked with all of their details.

enter image description here

  • Supprimer un voyage : this fisrt displays the booked trips by calling panier() then calls a function named supprimer() that take the ID of a trip as a parameter and deletes it .
  • modifier un voyage : this fisrt displays the booked trips by calling panier() then calls a function named modif() that take the ID of a trip as a parameter and allows the user to change certain informations about a trip .

enter image description here

2- Admin :

enter image description here

  • saisir un voyage : this calls a function named saisir() that allows the admin to add any number of new trips to the file basededonnee .

enter image description here

  • afficher toutes les voyages : this calls a function named afficher() that takes the date base's name ( which is a file ) as a parameter and displays all of its content .

enter image description here

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages