justinsigner Posted May 23, 2009 Share Posted May 23, 2009 Hi, A small contribution, especially in these times (V4 ready). Regards, Justin invoices_unpaid_per_client.zip 0 Quote Link to comment Share on other sites More sharing options...
HostRW Posted May 23, 2009 Share Posted May 23, 2009 Wow, thank you, I am really impressed! Very professional and extremely helpful! 0 Quote Link to comment Share on other sites More sharing options...
silentkiller Posted May 24, 2009 Share Posted May 24, 2009 do we upload this file in /public_html/client/modules/admin/ ? 0 Quote Link to comment Share on other sites More sharing options...
hightekhosting Posted May 24, 2009 Share Posted May 24, 2009 do we upload this file in /public_html/client/modules/admin/ ? No. Put it in: /public_html/yourwhmcsdirectory/modules/reports/ 0 Quote Link to comment Share on other sites More sharing options...
swg Posted May 24, 2009 Share Posted May 24, 2009 Apparently my days column is not correct. Is that suppose to be showing days until due and days overdue? 0 Quote Link to comment Share on other sites More sharing options...
justinsigner Posted May 24, 2009 Author Share Posted May 24, 2009 Apparently my days column is not correct. Is that suppose to be showing days until due and days overdue? Yeah it is supposed to be showing days until due and days overdue, could you post a screenshot? Regards, Justin 0 Quote Link to comment Share on other sites More sharing options...
swg Posted May 24, 2009 Share Posted May 24, 2009 Yeah it is supposed to be showing days until due and days overdue, could you post a screenshot? Regards, Justin Here you go... 0 Quote Link to comment Share on other sites More sharing options...
silentkiller Posted May 25, 2009 Share Posted May 25, 2009 This is a very useful addon.. Thank you so much for contributing this to the community. 0 Quote Link to comment Share on other sites More sharing options...
justinsigner Posted May 25, 2009 Author Share Posted May 25, 2009 Here you go... I think you are using a different time format than I am/was using. Open the script and change the following 2 lines: Original: dd/mm/yyyy $duedate = explode('/',$date); $duedate = mktime(0, 0, 0, $duedate[1], $duedate[0], $duedate[2]); New: if you use points between dd mm and yyyy change / to . $duedate = explode('/',$date); example: $duedate = mktime(0, 0, 0, mm, dd, yyyy); $duedate = mktime(0, 0, 0, $duedate[1], $duedate[0], $duedate[2]); So change the $duedate[] to the appropiate place according to the explode. For example if you use dateformat yyyy/mm/dd the formula is: $duedate = mktime(0, 0, 0, $duedate[1], $duedate[2], $duedate[0]); I hope you understand. Regards, Justin 0 Quote Link to comment Share on other sites More sharing options...
swg Posted May 25, 2009 Share Posted May 25, 2009 Got it, thanks! We are using mm/dd/yyyy. 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.