Rene Posted January 19, 2017 Report Posted January 19, 2017 (edited) I think i found a bug, if im adding a new schedule.... my pilots always paid for each hour flight....O.K. in my case 20$/h but if i enter a price in the field "pay for flight" (example "10") then the pilot get the normal hour-rate + the amount of the "pay for flight" (10$/h) field example: pilot flying 90min then the pilot receive 30$ + 15$ = 45$ ??? it should be 15 $ only, or the amount which i filled out in the "pay for flight" field, or im wrong?? Edited January 19, 2017 by Rene Quote
Moderators servetas Posted January 19, 2017 Moderators Report Posted January 19, 2017 Could you please go to your "database_prefix"pireps database table and let us now what is the value of paytype for this specific pirep you are referring to? Quote
Rene Posted January 20, 2017 Author Report Posted January 20, 2017 (edited) hi servestas....thx for reply the paytype value is to 99% "1" and sometimes "2" i think i got a "2" if i entered a price in the "pay for flight" price....but im not sure.... Edited January 20, 2017 by Rene Quote
Rene Posted January 20, 2017 Author Report Posted January 20, 2017 (edited) just tested it...if i entered a price in the "pay for flight" the automatic the pireps are set to paytype "2" i found out now, if i change in the PIREP-database to paytype"1" before accepting, then all is ok and it seems the hourly payment with the filled price is calculated correctly. so its seems, its a calculating error (bug) in paytype "2" Edited January 20, 2017 by Rene Quote
Moderators servetas Posted January 20, 2017 Moderators Report Posted January 20, 2017 Can you open your app.config.php and check if PILOT_PAY_HOURLY and PILOT_PAY_SCHEDULE are defined? There should be something like: define('PILOT_PAY_HOURLY', 1); define('PILOT_PAY_SCHEDULE', 2); Quote
Rene Posted January 20, 2017 Author Report Posted January 20, 2017 (edited) yes it seems defined...see attachment app.config.php Edited January 20, 2017 by Rene Quote
Rene Posted January 29, 2017 Author Report Posted January 29, 2017 sorry....my fault, this problem is in FBSV11 module Quote
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.