Tozz Posted May 21, 2013 Share Posted May 21, 2013 Hello, I am trying to determine my annual income. For some reason the reports from WHMCS differ from what I have gathered from MySQL. I was wondering if someone can explain these differences to me: The Annual Income Report in WHMCS reports a value of (I mangled the numbers): 12.500,- However, if I run a query: SELECT SUM( subtotal ) FROM tblinvoices WHERE date LIKE '2012%' it returns +/- 8500,- even including VAT: SELECT SUM( total ) FROM tblinvoices WHERE date LIKE '2012%' it returns +/- 10.000,- So, basicly WHMCS's report reports a couple of thousands more then what I can find using MySQL queries. My question is: What am I missing in my MySQL query? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Chris Posted May 21, 2013 Share Posted May 21, 2013 Hello - take a look at the reports, they're open source. 0 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.