Flight history
#1
Made a flight history page to track your flights, look at profits and reputation, pax info etc. The date is local departure date, and all times are local as well. 

And yes some of the times do not make sense, i.e. departing at 3am and arriving at 12am. That's because I changed the times in the DB to make the flight land quicker for testing Wink


Eventually I will create a financial report/statement page that will list all your transactions, but I have a few more things to do before I work on that. The system is set up to track all the finances, I just need to design the page to display them.

[Image: WlDd9s2.jpg?1]
I am the developer of Airline Enterprise
Reply
#2
Looks good! Big Grin
[Image: skifans.png]
[Image: skifans-future.png]
Reply
#3
Very interesting unk!

Also I'm slightly curious as to why some of the flights (with decent passenger numbers and profit) still received a negative reason, is there any particular explanation for that?
Reply
#4
Yes, that would be because upon landing, all my gates were in use, so the aircraft had to park elsewhere. Basically simulating unhappy passengers because the aircraft did not come to the scheduled gate and they had to be transported into the airport by bus or some other transportation method.

The formula for that is a penalty of 1.5 times the reputation you would have otherwise earned on the flight. Subject to change, of course.
I am the developer of Airline Enterprise
Reply
#5
This page has been updated to allow you to filter the results by flight #. This lets you see how each flight is performing. Only works if you have set up custom flight numbers, obviously.
I am the developer of Airline Enterprise
Reply
#6
Small update, you can now click on the flight number and view the detailed flight results for that flight.
I am the developer of Airline Enterprise
Reply
#7
I open the flight history page and nothing loads
Reply
#8
There might be an issue with the pagination code I made, it's supposed to only query for the results on each page (50 at a time), but I think it's querying the entire table first, and then splitting it up after the fact, which if that's the case might be a part of the issue of why large datasets like flight history and ledgers have trouble loading. I have it on my list to try and address.
I am the developer of Airline Enterprise
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

About Airline Enterprise

Welcome to the official message boards of Airline Enterprise. Feel free to join the discussions, ask for help or just browse!

              Quick Links

              User Links