Author Topic: Credit creates 2 invoice items  (Read 1647 times)

Offline duartegarin

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Credit creates 2 invoice items
« on: 21/October/2009, 08:02:52 PM »
Hello,
Everytime I put credit on a client and create an order and invoice afterwards I see 2 invoices on Orders->show invoices from the frontend. If i click straight in "My invoices" it shows only 1.I have checked the database and there is only 1 entrance in invoices table but there is however 2 in the invoices_items table, one for CREDIT and another for the product. Also, if I login in the frontend click "My Orders" and "Show Invoices" it shows 2 invoices with same id (and exactly the same) with "Product name" selected in orders dropbox in upper right corner, if i change it to "show all" it shows only 1 invoice again.
Basically:

In Frontend "My Account"
"Product Name" selected on drobox: 2 invoices exactly the same
"Show All" selected on dropbox: 1 invoice.

Since "Product Name" is selected by default in orders->show invoices view and "Show All" is selected by default in "My Invoices" view the results are produced as described.
Can you please provide me with some assitance as this is a bit annoying for some customers.
Thank you in advance,

Duarte Garin
« Last Edit: 21/October/2009, 08:10:23 PM by duartegarin »

Online netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,956
    • View Profile
Re: Credit creates 2 invoice items
« Reply #1 on: 21/October/2009, 08:19:57 PM »
Sounds like there is a bug here then. I will investigate it and report back as soon as I can.

Online netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,956
    • View Profile
Re: Credit creates 2 invoice items
« Reply #2 on: 22/October/2009, 09:35:17 AM »
I have found the cause of this, and fixed the bug. I need to issue a new release of nBill 1 anyway, so will include this. Hopefully it will be available later today, if not, it will be early next week.

Offline duartegarin

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Credit creates 2 invoice items
« Reply #3 on: 22/October/2009, 09:53:18 AM »
Thank you for your response.
Is there a way to update my instalation with that fix without reinstalling nbill?
Best regards,

Online netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,956
    • View Profile
Re: Credit creates 2 invoice items
« Reply #4 on: 22/October/2009, 11:36:22 AM »
It is not usually necessary to re-install nBill when you upgrade - even if you do have to uninstall and re-install, you will not lose any of your data. See the documentation for more information on upgrading: http://www.nbill.co.uk/documentation/index.php?page=upgrade-from-a-previous-version.html

Offline duartegarin

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Credit creates 2 invoice items
« Reply #5 on: 22/October/2009, 04:35:19 PM »
Ok thank you.
Just one other thing...will you publish that release somehwere so I  know when it is out?
Best regards,

Online netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,956
    • View Profile
Re: Credit creates 2 invoice items
« Reply #6 on: 22/October/2009, 07:10:33 PM »
It was published earlier today. You can keep abreast of such things by subscribing to the announcements board (see http://www.nbill.co.uk/forum/index.php/topic,4.0.html).

 

anything