Jump to content

Domains dates question (or teaser if you like)


chrismfz

Recommended Posts

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 ?

 

Link to comment
Share on other sites

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)

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated