Moderators Parkho Posted November 3, 2011 Moderators Report Share Posted November 3, 2011 Hi I have a question. Is it possible to change the calculation of pilotpay in PIREP.class.data so that it calculates a percentage of the flight revenue instead of per hour pay? I appreciate any help. Thanks Quote Link to comment Share on other sites More sharing options...
flyalaska Posted November 6, 2011 Report Share Posted November 6, 2011 bump Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 8, 2011 Administrators Report Share Posted November 8, 2011 Anything is possible https://github.com/n...class.php#L1260 You'd have to modify that area of code there. Though that's the code in the latest beta which is changed. You would have to add the fields for the total pirep pay in that sql query, and then get a %-age from there. Not sure how it looks in the release version but it's probably something similar in that calculatepireppayment function Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.