Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
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
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.
I am the developer of Airline Enterprise
Posts: 131
Threads: 9
Joined: Sep 2016
Reputation:
0
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?
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
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
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
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
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
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
Posts: 199
Threads: 52
Joined: Sep 2017
Reputation:
0
Airline: Emerald Aer
I open the flight history page and nothing loads
Posts: 2,258
Threads: 138
Joined: Jul 2016
Reputation:
11
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