chrismfz Posted January 23, 2014 Share Posted January 23, 2014 I've got a widget that shows all domains which they have different expiry date from due date. That way it's easier for me to understand who paid and I didn't renew it, which domains I renewed but I didn't got payed, if a domains has 00/00/0000 as a date or a problem etc... Works good BUT: The list huge because it contains everything that has different expire date with due date. Lots of domains have a different in about a day or two (back and forth) depending the day they expire or the day they ordered. So I got a huge list with domains like: Due Date:27/05/2015 Expiry Date:26/05/2015 and so on... So, Is there a SAFE way to code: Make due date = expiry date IF the difference between them is 3 days +/- only ? (Or differently it will rape all dates, I only need to "fix" the dates that they decline for a day or two +/-). Or is a reason in the system that this happens and I will scr*w up the invoices or something else ? 0 Quote Link to comment Share on other sites More sharing options...
TekStorm Inc - James Posted January 23, 2014 Share Posted January 23, 2014 Do you have domian sync enabled? You can have WHMCS automatically sync the expiry and due dates. 0 Quote Link to comment Share on other sites More sharing options...
chrismfz Posted January 24, 2014 Author Share Posted January 24, 2014 Do you have domian sync enabled? You can have WHMCS automatically sync the expiry and due dates. I got sync for expiry dates enabled but not for next due date. I often renew domains of friends and partners before I get payed for them, so Expiry date changes but NOT due date. So I am end up with a domain with expiry date 24/1/15 but due date 24/1/14 Enabling Sync Next Due Date couldn't mess up and make equal exp date == due date for everything ? Or not ? That's why I am looking for a way to sync them like "Sync Next Due Date" but only if the difference between them is 2-3-4 days. Not a year or two (for the domains that renewed but not paid for example) 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.