Jump to content

[FIXED] Billable Items [4.2]


Recommended Posts

Short version:

After upgrading from 4.1.2 to 4.2.1 the billable item summary shows 2x the total amount entered for a client's uninvoiced billable items.

 

Reproduce:

 

I have a client with a pending billable item for $30 in version 4.1.2.

Upgrade to 4.2.1.

The client's billable item page will show Uninvoiced Items for $60 (1).

 

Quick-Fix:

 

Edit the billable item and change the "Hours/Qty" field to 1 from 0.

The client's billable item page will now correctly show Uninvoiced Items for $30 (1).

 

Issue:

 

The upgrade should, if the fix is correct, change all billable item quantities to 1 on upgrade.

Second, if you really want a 0 qty billable item, the total for that item should be zero. (Not the amount entered, and not double the amount entered either.)

Link to comment
Share on other sites

  • WHMCS CEO

Thanks for the report. Having a non-zero quantity won't do anything when it comes to the invoice generation - it's at the time of creating the billable item that the hours are multiplied by the rate in the case of time billing to result in the total amount of that billable item.

 

Attached is the patched file for the admin folder to correct this.

 

Matt

billableitemspatch.zip

Link to comment
Share on other sites

  • 2 months later...

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