CedGauche Posted May 6, 2014 Report 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
magicflyer Posted May 7, 2014 Report 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
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.