Jump to content

Small error in next due date calculation


Recommended Posts

Having been recreating some clients hosting accounts in WHMCS I have noticed a small error in the next-due date calculations:

 

If the due date is on 29/month when it gets to calculate the February date it moves due date to the 1/March and from that point onwards the due date is always 1st of the month.

 

WHMCS should either

 

1. have the "due day" also stored, so that the next billing date is correctly calculated as 29/March after the 1st March date (ideal solution)

 

or

 

2. a "toggle" in the config to specify whether to move forwards (as now) or backwards (to 28th Feb)

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