Development
10 topics in this forum
-
- 1 follower
- 5 replies
- 743 views
Hi, I'm trying to charge to pilot to accept a pirep not scheduled. I tried to follow an example, but I don't know what I must write in condition. if ($event->pirep-> !scheduled) Or how charge the Debit of pirep $amount = pirep expenses/debit; Thanks! \app\Listeners\FreeFlight.php <?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\Expenses; use App\Events\PirepAccepted; use App\Models\Enums\ExpenseType; use App\Models\Expense; class FreeFlight extends Listener { public function handle(Expenses $event) { $expenses = []; $amount = pirep expenses/debit; if ($event->pirep-> !schedule…
Last reply by ARV187, -
- 5 replies
- 366 views
In the old phpvms we had the ability to modify the amount of $$ a pilot had. For instance we could have implemented a sign-up bonus or similar ideas. I cannot see a way for Admin to access the pilot finances or modifying them. Am I missing something? Thanks
Last reply by DisposableHero, -
- 4 replies
- 701 views
Hi guys ı am starting up a virtual airline whith Wix. I have The Wix paid hosting whith everythying unlimited. I did everything but ı dont know how to add the crewcenter to wix? How can ı? Thankyou
Last reply by igusim, -
- 5 replies
- 621 views
Hi guys ı want to learn abaut if I Create my website from wix or weebly can I put livemap or crewcenter (virtual airlines stuff) into the wix or weebly thankyou
Last reply by igusim, -
- 1 follower
- 1 reply
- 808 views
Virtual Sky Aviation (www.skyvirtual.org) loves your theme and we continue to get positive feedback thus far. Thank you very much for the hard work and keep it up brother. v/r, Russell
Last reply by DisposableHero, -
- 1 reply
- 951 views
Hiya all, I'm in the process of skinning phpVMS 7, and I'm just wondering if it would be bad practise to skin the admin panel, and if it wasn't, how to go about routing it. Many thanks, Lucas
Last reply by Dougjuk, -
- 0 replies
- 770 views
Hi, I am responsible for the flight planning of our CYBER AIR VA. I am thinking of how to make the flight planning more easily. Therefore I recommend to change the structure of airport. Insert a point TORA. Insert into subfleet the fields max_range and max_t/o_length. Then insert into flights the following fields: TORA. The flight time and arrival time can be vanished because ist varies by type of aircraft. The subfleet can now automatically insert the aircraft of the VA applicable for the route. This helps if you have a lot of flight plans and 'buying' a new fleet type. Prensently you have to correct each flight plan (we have presently over 3000 files…
Last reply by CYB1682, -
- 1 follower
- 2 replies
- 1.6k views
I'm trying to figure out how I can modify the app controllers code to following fuel "tankering" logic. What I have done so far was create another field on the PIREP submit labeled block_in_fuel. That seems to be working fine. But now I want the PirepFinanceService to look for the previous pirep for that aircraft. Is there a function like that already built I could use to accomplish finding that record? From there I assume I would so something like ...$fuel_used = $pirep->block_fuel - $prevpirep->block_in_fuel I'm a huge noob to Laravel. So any pointers would be appreciated.
Last reply by Nabeel, -
- 2 replies
- 3.2k views
Hi there, I'm looking to make some addons for phpVMS, such as an exam centre, as the one by simpilots is outdated. I'm not entirely sure how to. Could somebody explain?
Last reply by ProSkyDesign, -
ACARS Devs
by Nabeel- 1 follower
- 0 replies
- 4k views
Docs: https://github.com/nabeelio/phpvms/wiki/acars I'm making some changes to how the PIREPs are filed. I don't have a list of who all the current ACARS devs are, but I suppose this is as good of a place to make it known. I'm compiling a master topic on Github issues, here: https://github.com/nabeelio/phpvms/issues/118 I'll make notes, etc. Once of the changes that will be is that the file PIREP endpoint is going to require passenger information. When a user selects an aircraft, a request should be made to get the fare information for that aircraft, and it should be passed to the file PIREP endpoints. Otherwise, financials might not be accurate. If a …
Last reply by Nabeel,