issues
search
YAAMSOrg
/
yaams-server
Yet Another Airline Management System
BSD 3-Clause "New" or "Revised" License
2
stars
5
forks
source link
Airline awareness
#27
Closed
flymia
closed
3 months ago
flymia
commented
3 months ago
This is a big patch:
Add new table and model "AirlineMembership" which stores airline_id and user_id, to know the relationship between the user
Adds seeders for example data
Login finds the first found airline and sets it in the session as a eloquent model
This variable can be changed using the UI -> User -> Change AIrline
The active airline gets diplayed in the navbar all the time
Fleet Manager is aware of these airline ids
This is a big patch: