Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 04/27/23 in all areas

  1. Depends on the certificate issued (or the one you need)
    2 points
  2. phpVMS v7 is free, vmsACARS is not. phpVMS v7 and vmsACARS do work together out of the box, no extra effort or development is needed to start, this is the easiest way to use both. Only simple steps during installation is required, to start operations / testing phase. Rest will be customizing things and admin work. No, as far as I know, there are no refunds. Once you buy and activate your license it is yours forever. Also there are no demo or test packages for vmsACARS with limited capabilities, time restrictions etc. vmsACARS is designed to work with phpVMS v7, this is important. Therefore your question regarding implementing vmsACARS to your current setup is a complex task, depends on your knowledge and skills. Technically it is possible, what you need to make is in simple terms; Have a module or system which can enable communications between your current VA Management software and vmsACARS. As you will not be able to change the way vmsACARS works, you have to re-design your current software's backend, during this task you may need to alter how your old system operates. If you are using phpVMS v2x/5x (classic series), it is easy to upgrade to v7 (current) series but for other systems like VAM, VaBase etc it will not be that easy (maybe it may not be possible without loosing some abilities) You can enhance capabilities (backend) of phpVMS v7, also the visuals/skin/theme (frontend) can be customized. This again depends on your PHP + Laravel skill. Hope this helps, either way you need to inspect specs and requirements of phpVMS v7, compare it to your current hardware (server) and cross check its capabilities according to your current system. This is a time consuming and detailed task... Good luck and God speed.
    2 points
  3. Each page is stored separately in the database. You can edit them thru the admin panel or (after backing up the database) directly using phpmyadmin - although it is safer via the admin panel. They are NOT stored in a file like they were in previous versions as far as I can tell.
    1 point
  4. No worries. I will do some digging to see what I did wrong somewhere else. Thanks for your time. I really appreciate it.
    1 point
  5. Technically there is/was no need to edit the widget itself, the event "route code" is defined at module admin area and it works both for API endpoint and Event Widget. No need to edit/alter line 16 of the widget controller as it simply reads the above definition.
    1 point
  6. Understood. Just to be clear, I like PHPVMS and gives me what I need. (I checked other tools too, that do the same a year ago, but I decided to continue with v7 after v2 and v5) I just wanted to make the startingpage a bit better and easier to maintain by other staffmembers. But I can live with it by maintaining the frontpage myself, as it is not being changed that much. Thanks for the advice.
    1 point
  7. Hello Everyone, I am very pleased to announce that my latest contributions to the phpVMS ecosystem are now available on the Cardinal Horizon GitHub. First, CHTrips! CHTrips is a module that can be a few things packed into one package. It's the first module I would say would be considered a "framework" module. For End Users, Trips is a robust free flight system that allows for tracking of progress on a sequence of flights. Users can quickly create a sequence of flights in your system (that are hidden) that are related to one another. For Developers, (Coming Soon) Trips's robust database schema, events, and services, will provide a framework to allow developers to rapidly build Tours, Events, or Missions systems! Using CHTrips alongside your own module ensures that phpVMS performance isn't lost by multiple plugins conflicting with PIREP events, or other sections of the system. CHTrips can be found here: https://github.com/cardinalhorizon/CHTrips Second, CHPirepSS! CHPirepSS is a very simple module, with a very simple feature: Allow for PIREPs to be converted from ACARS to Manual. Has your community ever encountered an issue where ACARS crashes in a unrecoverable state, and you instruct your pilot to file a Manual PIREP? Well, why not simply convert the PIREP that's already in the database and has telemetry data, into a manually filed one? No more duplicate PIREPs because of software being software! CHPirepSS contains a very simple widget meant to be placed in your manual pirep creation screen. Imaged below is a example: CHPirepSS can be found here: https://github.com/cardinalhorizon/CHPirepSS For both of my modules, I am very interested in your feedback. If you wish to do so, please feel free to open an Issue on either repository. Thank you for your support!
    1 point
  8. The env.php file has been replaced by the .env file. All the email settings are in there. Return the config.php file to its default state. In addition to the link kindly provided by @DisposableHero , your hosting panel should provide an Email Accounts area with valuable info. If your hosting provides cPanel, have a look at this article to set up SMTP https://cpanel.net/blog/tips-and-tricks/setting-up-and-troubleshooting-smtp-in-cpanel/ I would suggest updating any phpVMS v7 sites you help with to the latest dev build, available in the #v7-releases channel of the phpVMS discord.
    1 point
  9. You can change the installation location or file locations without re-installing or deleting the database. Good luck
    1 point
  10. Installing methods did not changed, they were always same (only 1st and 2nd suggestion was swapped due to their usage frequency) ... Unfortunately, what you did is the worst and most unsecure method to install / run phpvms v7, and it was always like that. What your friend did back in time was one of the suggested methods and it is still ok to use v7. https://docs.phpvms.net/installation/uploading Hope this helps.
    1 point
  11. Thanks champs. Update successfull. 7.0.0-dev+240407.8554a3 I also saw the METAR working now. This can be called closed. Though will update another VA site of a friend of mine, but there is something specific, and I will ask some help to update that one in another post. Thanks.
    1 point
  12. Docs link is at the top already (which you have found too) Good luck with the update
    1 point
  13. Good news, glad you solved it. It is up to you, update or do a fresh install... Just use latest dev build, how you do it is just a choice for now. If you have nothing to lose, fresh install will be easy, but I would prefer updating to have some practice for future updates
    1 point
  14. Honestly... beta.4 ? It is almost 3 years old and how on earth are you able to use Dispo Basic with it, I never tested my addons with beta.4 and they were never designed to work properly with it Are you really on beta.4 or it was just a typo If this is not a typo, I would kindly and urgently advise to upgrade to at least beta.5 (I would say latest dev, but beta.5 is ok too), with module and themes being updated of course. Best wishes,
    1 point
  15. Why are you adding a new airport for an already existing real airport with a new non-standard (fake) icao code ? This is the main question. Just add LECH to your phpvms v7 database, either by lookup or manually then you can start using it with vmsAcars too. Good luck
    1 point
  16. Translate as expected, nothing more... Check other folders (like de, fr, it, es-es) and replicate what is done there for your language That simple it is. Good luck and God speed
    1 point
  17. Never mind - just realised how > artisan phpvms recalculate-stats
    1 point
  18. Great news, we added that IATA code usage for testing but it is not finalized yet, so for now (until further notice) keep using ICAO codes Later on it will be possible to use IATA codes as like real airlines.
    1 point
  19. So i went into my database and KPVD was marked correctly, but i went into my flights .csv and found that KPVD was labeled as just PVD. After changing both the inbound and outbound flight to reflect KPVD the import went through successfully.
    1 point
  20. You can find some discussion about it at forum and at GitHub repository, maybe from last year or before
    1 point
  21. Nope you are not missing anything Fares based on distance or time (also expenses based on them) was something spoken about, but they never went into proper feature requests, thus never worked on. At the meantime, lots of us developed automated fare stuff for our selves, thus not thought about it in general anymore. I had something built in my module, technically based on distance, tried to implement it in v7 but latest changes done to fare logic was making it tricky to implement, so I stopped working on it.
    1 point
  22. Dear all, As of version v3.6.x I will be only updating my addons via GitHub, so there will be no future updates uploaded to download section of the forum. Sorry but it really takes time for me to sync two different sources and keep track of release notes on two different locations. Below you can find the repository links, release page links and finally how to get notifications when an update gets released. Disposable Theme Main Page : https://github.com/FatihKoz/DisposableTheme Readme : https://github.com/FatihKoz/DisposableTheme#readme-ov-file License : https://github.com/FatihKoz/DisposableTheme#License-1-ov-file Releases : https://github.com/FatihKoz/DisposableTheme/releases Last Release : https://github.com/FatihKoz/DisposableTheme/releases/latest Disposable Basic (Freeware Module Pack) Main Page : https://github.com/FatihKoz/DisposableBasic Readme : https://github.com/FatihKoz/DisposableBasic#readme-ov-file License : https://github.com/FatihKoz/DisposableBasic#License-1-ov-file Releases : https://github.com/FatihKoz/DisposableBasic/releases Last Release : https://github.com/FatihKoz/DisposableBasic/releases/latest Disposable Special (Donationware Module Pack, also known as Disposable Extended Pack) Main Page : https://github.com/FatihKoz/DisposableSpecial Readme : https://github.com/FatihKoz/DisposableSpecial#readme-ov-file License : https://github.com/FatihKoz/DisposableSpecial#License-1-ov-file Releases : https://github.com/FatihKoz/DisposableSpecial/releases Last Release : https://github.com/FatihKoz/DisposableSpecial/releases/latest Above links will only work when you have access to the special module, because it is a private repository and a donation is required to gain access. What to download ; You only need the released zip file, no need to download source code files (even though the content is same, source code files will not install / work on phpvms v7 directly) How to follow updates, get notifications (via e-mail) ; Go to the repository you want to follow, Click Watch button, Click Custom Select Releases and apply the changes With this change, you will get an e-mail from GitHub directly when a new version gets released... No need to follow all activity, as it may be boring if you are not a freak or a developer Enjoy. PS: I am not explaining how to use .git and pull changes here as if you are using those features, you should be well aware of the structure and usage It is possible to clone/fork my repositories, apply your changes and then integrate to your install via .git structure, also a basic pull to a proper location will work too if you are not editing my addons.
    1 point
  23. Pro Avia thanks for responding and oops i just noticed that, I am using phpVMS V7, i was able to sort it out though. I scoured all the threads regarding admin password losses and found a work around. I registered a new account, then using my phpadmin made that user the admin and owner. Once i logged in i changed the password for my original admin account, granted it admin/owner role again and deleted the second registered account. As i suspected when i changed my password i typed it wrong which led to the original issue. I can now access everything and proceed normally. The only thing i need to figure out now is why the rest password emails never went out for either account, tokens were generated but nothing was received. I'll have to look at the documentation for email and sit down and learn how to set that up. Thanks ADMIN EDIT - moved from v2,v5 forum to v7 forum
    1 point
  24. I solved the problem by opening the console - there was an extra + in the airport_search.blade.php file. Thank you so much for your help!!
    1 point
  25. Technically yes, that map is powered by API calls, Leaflet (map) + Rivet (data on the map, JavaScript) and you can replicate it easily anywhere with proper coding. This was talked several times in Discord with some other possible solutions, if you are a member you can check those old suggestions too Good luck
    1 point
  26. I appreciate it. Happy Holidays!
    1 point
  27. After restoring my site, getting my edits back the way I wanted for now, I backed it up and added acars module. then I followed your direction to the letter and it WORKED!!! Thank you! -Nacman
    1 point
  28. When you update phpVMS on your site, any core changes will be over written. Keep a copy of your edited files somewhere safe where they won't get over written. In the Dispo Theme readme, it suggests making a copy of the Dispo Theme and using that copy for your edits. That way, when you update Dispo Theme, it's easy to compare the new files to your edited ones. In essence, this copy becomes your personalized theme. And you don't need to be concerned about over writing edited files. I only copy Dispo files to my theme that I intend to change. If a file in your theme isn't there, it will use the file from the Dispo Theme. Likewise, if the file isn't in Dispo Theme, it will use the file from the default theme.
    1 point
  29. https://github.com/nabeelio/phpvms/blob/15563e1181dd4b6ae38e161fadb733c6a8392333/resources/views/layouts/default/dashboard/index.blade.php#L83 https://github.com/FatihKoz/DisposableTheme/blob/50ad455eb8ae4f3565723d0dbc1e70f13fee4016/resources/views/layouts/Disposable_v3/dashboard/index.blade.php#L40C44-L40C44 {{ Widget::latestNews(['count' => 3]) }} @widget('latestNews', ['count' => 3]) Both will end up loading the Latest News widget with last 3 news you entered.
    1 point
  30. This is not related to an addon route or page (because DBasic.news is a page to display all news, not a widget to place somewhere) What you need to do is, placing latest news widget (which is a part of phpvms v7 itself) to your home.blade.php. You can check the default theme's dashboard/index.blade.php or disposable theme's dashboard/index.blade.php to see how widgets are placed in blades. Also Dispo Basic's readme file explains the general logic about placing widgets and configuring them. Even though it gives examples for its own widgets, similar calls can be used for default widgets (like latest news, latest pireps, latest pilots, livemap etc) Good luck
    1 point
  31. At a minimum, I always save my .env and .htaccess (I added ph0 version stuff to .htaccess). Follow the update instructions in the docs. FTP can be slow. I use cPanel, File Manafer, Upload. Upload the zip file and extract thru file manager. Only takes a few minutes.
    1 point
  32. I had to clear the cache at the server side. (php artisan cache:clear) The statistics still had the old values and now it works Thanks
    1 point
  33. Yes this was the key !! I try the update and it will work. Also i must update the field "status". The default value of this field is SCH => scheduled. But your controller shows only (this is absolutly currect) the status auf ARR. UPDATE pireps SET status = 'ARR'; WIth the above update the pireps and the statistik work fine ! Many thanks to your support (It makes a smile on my face) SKD
    1 point
  34. Yeah, exactly what I though Below that part, at line 406 you have the passenger and cargo counts of accepted pireps, which uses laravel's whereIn() function and fails because your placeholders passing the maria/mysql 65k limit. If you check the latest update/version of my Disposable Basic module, you will see that I limited it and now it should pass that line, do not cause an exception and work without pax and cgo counts. BTW, my idea reversing the logic causes inaccurate results due to cancelled, deleted, rejected pireps. Hope it helps. (at least until we find a better solution)
    1 point
  35. Ok i fill my database again and start the migration. I will write back until the migration is done.
    1 point
  36. Did somebody claimed that being an admin would be fun (or not boring, not time consuming) ? You are trying to go the same path with some others, I should not do anything, everything should be automatic, why I am working for this etc. etc. Then I would ask the above question After all, you can have some code to auto reject pireps by comparing planned (scheduled) flight times with actual flight times (side questions; what will happen to free flights, flights without simbrief plans to precisely check times, flights planned for different aircraft types). In the end, this will have side effects though, then you will work to fix the mis-identified ones 'cause a code will never know the difference between sandbagging and real holding (as it is not an AI with tons of resources). It will only look to your schedule and reject a non matching pirep. And when this happens, you will come here again to ask for another feature for inspecting and identifying, correcting those to reduce your workload Still my advise is same, punish and fire them, this will greatly reduce sandbaggers and you will have a clean roster after a while. Safe flights
    1 point
  37. thank you very much for your help, that fixed it. Now we can start testing it.
    1 point
  38. You are getting mixed content errors because your .env is set to use http (insecure content) but your register page uses https (secure content). Fix it and your early stage showstopper will be gone. (Or you can allow cross origin scripting for your domains.) And thanks for replying to a 3 year old topic
    1 point
  39. Airac 2310 Data only, just import it into your db like normal
    1 point
  40. Please check readme https://github.com/FatihKoz/DisposableTheme#customizing-va-logo-images-and-menu-items https://github.com/FatihKoz/DisposableTheme#readme
    1 point
  41. It's ok i managed it
    1 point
  42. Great news, enjoy your theme and new module
    1 point
  43. Magic!! LoL Thanks for the assistance, I had not cleared the cache.
    1 point
  44. just wanted info on how to do it. ill figure the rest out thank you so much!
    1 point
  45. @servetas hasn't visited the forum here in over a year. Maybe tagging him here will solicit a visit and response.
    1 point
  46. Airac 2305 Data only, just import it into your db like normal
    1 point
  47. 1 point
  48. Be advised, there may be people approaching you with some claims about installation, customization, special custom coding etc. Double check what you need and what they offer, do not spend your money without clear agreements and proper investigation. We (the users of v7 and vmsAcars) witnessed lots of bad experiences about (so called) "developers" not following licenses, not fulfilling customer needs and forcing you to use something different/old they already have in their hands. Again, good luck
    1 point
  49. I think, this will be the last of my guides for v7. Below you can see the pre-defined expenses or expense categories; Subfleet Block Hour Cost Subfleet Delay Cost (per minute) Fuel Cost ( 100LL , Mogas , JetA1 ) Ground Handling Cost Pilot Salary Fare Cost Ok, but what are they ? How realistic are they or how they can be used to get something similar to real world. Well, that's the main problem Subfleet Block Hour Cost Actually this is the aircraft block hour cost, it is the cost to operate an aircraft and for ease it is defined in subfleet level (like many other things) and entered hourly but calculated/applied per minute for each flight. The main difference starts here, real world airlines do have and use block hour costs at aircraft level, not subfleet level but anyway, this is a virtual world and virtual airline so who cares. Technically block hour cost is the total cost per flight hour of that aircraft; including ownership / leasing , fuel , maintenance , insurance , operating crew , non-operating crew , services and other administrative items (like depreciation). We do not have any ownership/leasing cost. Pilots of your airline do pay for their addons, or use freeware / sim defaults. But we can simulate something for this. We do not have to pay for fuel either but we have a fuel expense category defined as a separate item, so our block hour cost should not include fuel. We do not have anything defined for maintenance in v7, if you are not willing to use a module for want to simulate it with some daily, monthly expenses then we should include this item in block hour cost Above applies to insurance too. Either make it simulated with custom expenses or include it in block hour costs We do pay for the operating crew by ranks (per flight hour) or by the flight itself (fixed), so when calculating a value for block hour cost remove the pilot salary from it and include only your virtual cabin crew and airline crew costs You can of course include all your administrative costs like hosting, domain name, vmsacars, theme, module etc payments in administrative category (per flight hour of course) So what we have is simply; Simulated ownership costs, simulated insurance cost, simulated crew cost, simulated others ('cause we have the rest as different expense categories) You can find lots of info via Google or another search engine, every one will have different costs for the same aircraft type 'cause they are all estimates. No airline publicly exposes it's block hour cost per aircraft level. It is a trade secret like the fuel prices they get with contracts. So do not get confused or do not use what you find with the "I am feeling lucky" button. For example, some do say that operating an Airbus A320 costs around $4000 ! While another blogger or website claims it is $3000 another one may say that it is $1000 ... All are non realistic and estimated figures according to the writers knowledge (or estimates calculated from some balance sheets found publicly). Long story short, if you want some values from me, i can say that an Airbus A320 or a Boeing B738 (narrow body medium range aircraft) will cost you around $1800-$1900 range (maybe slightly less) excluding fuel, salaries and services (like ground handling) according to 2020 prices (just before the worldwide lockdowns/pandemic). Here you can see some old values from 2017; (Mx is Maintenance, Ins is Insurance, AC Cost is the ownership/leasing cost ) Aircraft Carrier Crew Fuel AC Cost Mx Ins. Other Total 767-300/ER United $1,556 $2,445 $198 $1,051 $2 $555 $5,806 767-300/ER American $1,540 $2,191 $1,055 $1,378 $4 $84 $6,253 Remove fuel from the total, reduce the crew (or completely remove it too) to get someting for phpvms v7 Subfleet Block Hour Cost. Subfleet Delay Cost per Minute Well this is something hard to explain and hard to apply. Of course real airlines do pay fines when they do have delays, or do have some delay related costs but averaging them to a single value and apply it per minute basis is really hard. Why ? Because you can have some slight delays like +20/30 mins, which will cost you nothing and sometimes you can arrange everything for an expected/planned two hour delay and then it costs nothing , also you may have delays which were caused by uncontrolable factors by you or caused by you then again you pay nothing for that delay. And in real ops, arriving early may cost you some cash which is totaly dependant on the airport you are using, is it regulated or not ? Did you arranged your airport slot or not ? Are you are frequent user of that airport or not ? How may times you violated your slots for that airport in that calendar year ? Same goes for the delays, did you made all arrangements for an unexpected delay like refreshments for your passengers at airport, did you informed them before they leave their hotels or homes, did this delay affected their daily routines/schedules like holiday or late for work , if so how much they were affected and what is the total delay time according to your scheduled arrival time (on block time) ... If you manage your delays well, you probably will pay nothing for that delay, if not it really depends on the requlations being applied to your company and flight. You may end up paying $400/500 per pax, provide them meals/snacks/bewerages etc or worse hotel accommodations,transfers etc. All of the above are time based but not minute based and not applied to every minute you delay So simply, either you will build a really fine schedule to you virtual flights and come up with a good timetable and punish yourself with a fictional delay per minute logic or you may skip using it at all. ( Alternatively you may build up your own delay fines/expenses with your own logic with some code you will develop for delays. ) I personally choosed a mix of skipping and developing my own. So this field is not being used at all in my install. Choice is up to you after all, you are the va admin/owner. Fuel Costs We have 3 different fuel types, which can be selected/defined at Subfleet level BUT we have only one fuel price field. Yes, the fuel prices per fuel type is not yet completely developed or designed (it will be fixed soon I hope). So I will stick with JetA1 (which we have in hand and works just fine). Also we have two calculation methods, you can choose one of them according to your wishes; Calculate fuel cost according to spent/burnt/used fuel for each flight Calculate fuel cost according to uplifted fuel for each flight ( Admin -> Settings : Advanced Fuel Calculations ON ) First option is pretty straight forwards, needs no explanation, you pay for what you burn. Second option is a little bit more complex but realistic. This (so called Advanced Fuel Calculation) method checks the remaining fuel from that aircraft's previous flight and then reduces that amount from current flights block fuel, charges the airline for the amount added on top of the remaining fuel. If this is the first flight of this aircraft then you will pay for all and if there is enough fuel left in the tanks, then you will pay nothing This is close to the real fueling logic and bills. Ok, what about the fuel price ? This also depends on the airline contract, is a trade secret like block cost hours and airline expenses but we have some nice tools online to get some values to begin with. One of them is IATA Fuel Price Monitor others may be 3rd party worldwide service providers. (like RocketRoute). IATA provides region based average values , 3rd party service provides may give you prices per airport. Both are not contracted direct prices, for example RocketRoute provides some service fee and tax info too, so check what is included in the price and for what before direclty using some internet found values. Also the unit type of the presented value matters (very much), do your math correct. Failing this will make your fuel prices really un-realistic at all. PhpVms v7 uses pounds (lbs) as its application level/database level/internal fuel unit (this also applies to vmsacars and your sims) , so any fuel price you are entering should be using pounds according to your currency. Simply the default JetA1 price at settings and the JetA1 price defined for airports are your_currency per pounds (lbs). Let's have an example to get the correct price by using IATA as our source (updated weekly); 1 April 2021 cts/gal $/bbl $/mt vs 1 week vs 1 month Worldwide 158.51 66.58 525.75 -0.5% -7.8% Europe 155.90 65.48 516.63 -2.3% -8.4% cts/gal : US cents per gallon $/bbl : US dollars per barrel $/mt : US dollars per metric ton We need the per pound price, so the math should be; JetA1 price = (158.51 / 6.70) / 100 = 0.236 usd/lbs 1 US Gallon is 6.70 pounds of JetA1 (for division operation) and cts/gal is in cents but we need dollars not cents (second division is for that) JetA1 price = 66.58 / 281.40 = 0.236 usd/lbs 1 US Oilfield Barrel is 42 US Gallons, thus aprx. 281.40 pounds JetA1 price = 525.75 / 2204.62 = 0.238 usd/lbs 1 Metric ton is aprx 2204.62 pounds Rest of the table is for changes according to last week or last month, so if you want to stick with IATA then you can calculate differences and apply them with your own code, or do the update manually as you wish. If you are not using USD as your phpvms currency, then you need to do another math and convert it to your currency You may found different, probably higher prices online 'cause they do include profits of the supplier and the profits of the agency and they are stop-by prices (no contract) and they do differ from airport to airport. Just know how much it costs, come up with a good balanced price for your airline as the owner/admin. Also there is fueling service cost (the workmanship of the fuel guy) , you can add a small amout like 0.01 usd/lbs to your fuel price or you may define your own expense for it which can be applied (or better modified and applied) according to the uplifted fuel amount. Cause most of the providers will charge you with some extra fees if you uplift small amounts (like below 600 lbs etc) and may reduce their service charge for intercontinental aircrafts. Ground Handling Costs Like others this also depends on the contract you made with them, the services you require or which services are used for that flight, the quality of the services available and to the airport of course. But keep in mind that most of the airport authorities do work with ground handling companies, or say they take the airport usage fee's or landing/parking prices, taxes from you via ground handling companies. So these poor guys are always in between the operator and the authority You can find some nice / non-contracted values from internet for basic services (medium amount of counters and staff for your flight, pushback, cleaning, gate services, loading/unloading, passenger transfers, load and balance, paperwork etc will all be included in that price and many more little details which we do not use in our sims). Simply i can say you that, ground handling cost for a narrow body medium sized airliner (A320/B738) will be around $1250 - $1500 range around Europe (maybe a little bit more but not less) And Ground Handling prices do change according to the aircraft type, or the size of it to be more precise, A general aviation aircraft like Cessna 172 will not pay the same ground handling price defined for Boeing 747-800. Same applies to airport landing fee's and taxes, ATC costs etc. To overcome this "little" problem phpvms v7 offers a Ground Handling Multiplier at subfleet level, which is set to 100 by default and simply means that subfleet will pay the %100 of the ground handling price. You are supposed to adjust your subfleets' gh multiplier values if you wish to apply different amounts to different aircraft types (or subfleets) Also keep in mind that, you do always pay double ground handling bills ... One for departure airpor and, one for arrival airport, this is not a bug, this is how it is designed and how it is in real world too. Pilot Salary No need to explain this i think, it is pretty self explaning ... You have two choices; Define rank based per hour pilot wages (separated for both manual and acars pireps) Define flight based per flight pilot wages (defined for each flight you have) Maybe mixing up the two also works (like a bonus for a special flight + hourly salary from ranks but it is something for you to explore) Fare Costs Yes, fares do have costs ... But we defined subfleet block hour costs, what the hell is fare costs for ? Imagine them like the cost of a passenger for the airline, mainly it can be seen as the cost for airport terminal usage fee. Oh yes, there is something like that in real life and airlines do pay bills for every passenger they do carry in/out from that airport. Simply it is the airport operators share and they do not care you are earning money from that flight or just flying with negative balance sheets. They do want it and they do take it, if you do not pay them you can not use their terminals, that simple. Surprisingly enough, they are separated from taxes and landing/departing fees, aircraft parking etc (the airport authority takes them mostly with the help/assistance of ground handling agencies). So this is where phpvms v7's fare logic comes in handy, you can define a generic fare cost at fares, and then increase/reduce it at flight level to have better control over it per airport basis. Imagine you defined $10 (for your base economy fare), but you are flying to LTFM / Istanbul New Airport and they do want to you to pay $15 per passenger, then you can adjust the fare only for your flights to LTFM and edit the cost there. It will be used for financial calculations of those flights. (and be considered for overall va financials etc) Also you can use fare costs for other passenger related costs if you wish, like caterings you offer for free or services you offer for free. Custom Expenses This is where your imagination starts to work or at least needs to work... It is totaly up to you, you can define per flight expenses (like catering or fueling service or tech release service etc) , or can define monthly expenses (like aircraft leasing costs or monthly maintenance or aircraft washing, re-painting etc) or make them daily (like overnight parking, aircraft disinfection due to covid19 measures etc) The best part of this is, you are totaly free here ... Define anything you want and it is flexible, you can define expenses per airline or per flight type, make them multiplied etc. Or better you can charge the user for an expense. Unfortunately the above line is a little bit buggy at the moment, charging a user is not fully developed and the multiplication is not working too. I sent a pr (GitHub pull request for changes) aprx 2 weeks ago to fix that but it is still not accepted/merged so I assume Nabeel has some different plans for the finances. Also some users reported Airline expenses being applied to all airlines etc (but I saw some fixes being merged to development builds, so that part may be fixed. And during some Discord conversations (or was it at the forum maybe) I do read some plans to have time based expenses, which will expand the custom expenses to a new level 'cause then we will be able to define some expenses per flight time (or maybe for ground time who knows) ... Imagine having an Air Traffic Services expense, like in the real world, the more you use the airspace of countries and get ATC services, the more you pay etc. Also there is an option to make event based expenses, which requires some coding knowledge to listen some events phpvms v7 offers, read some values and apply some expenses according to that values. Like listen pirep events, get the landing rate, if it is a hard landing apply a technical check expense to that flight (and/or apply a penalty expense to your pilot in command). Just a personal note for custom expenses; If you define some expense which is a part of Ground Handling Cost or a part of Subfleet Block Hour Cost, do not forget to remove that amount from relevant costs. If you skip this, you will charge yourself extra amounts. (Like including maintenance cost to both Block Hour Cost and having an expense for it too) ========= I think this last bit of my guides for v7 answers some of your questions and helps you to have a better view over the systems/logic of phpvms v7. In the end, all of the above may be wrong This is what i understood from the code running phpvms v7 while I am working to build up my module and trying to fix little bugs reported by users like me. What I added on top is some aviation knowledge and experience of something like 20 years (both sim + real aviation). This applies to all my guides, forum replies, discord messages : Official phpvms v7 docs do have the priority. Safe flights to all and thanks for your time
    1 point
×
×
  • Create New...