CedGauche Posted May 6, 2014 Report Share Posted May 6, 2014 Hello, I have noticed that pireps pending and rejected would affect to the finances. Is there a way that only pireps which are accepted would be in the fincances? Quote Link to comment Share on other sites More sharing options...
magicflyer Posted May 7, 2014 Report Share Posted May 7, 2014 Yup, I did some digging and found the secret little spot for that to happen: Open up: core/common/PIREPData.class.php Line #90 should display the following: $date_clause = "DATE_SUB(NOW(), INTERVAL {$interval} MONTH) <= p.submitdate"; Change it to display: $date_clause = "DATE_SUB(NOW(), INTERVAL {$interval} MONTH) <= p.submitdate AND accepted=1"; Quote Link to comment Share on other sites More sharing options...
CedGauche Posted May 7, 2014 Author Report Share Posted May 7, 2014 Thank you, I will try it later 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.