Issue with discounts on Quotes

Hi All,

I am running a clean install of 1.6.2 and have an issue quotes section.
When applying a discount to the whole quote is set all the items to zero.
It does this whether $ or %

I created an invoice and the issue is not present and applies correctly
i have tested in both Chrome & Firefox.

I have searched github & redit but cand find anything.

Hoping someone can point me in the right direction?

Thanks,
Nick

1 Like

Can you show a screenshot please?

Thanks for getting back , please see the below

Kind regards,
Nick

Yeah, I noticed that too after the update. Would be great to have a fix for it.

It seems the function resets the value to 0 automatically during any type of edit, not just when dealing with discounts.

1 Like

Hi @nick and @Oleg, i will look into the issue with an couple of hours!

I will send updates here :slight_smile:

~ Kelvin de Reus

3 Likes

@Oleg, @nick
So i’ve followed your case:

  • Clean install of 1.6.2

But i can’t replicate the issues.
I did create an new web directory, new database, URL etc. Idk if you did that.

What was your exact setup process? Then i can try to replicate that.
I am going to try to upgrade from 1.6.1 to .1.6.2 and see what that brings.

~ Kelvin de Reus

1 Like

@mrlewis let’s deal with your issue here as well.

Do you guys apply discount per item or total discount to the bottom right of the screen?

The screenshots are awesome, we just need to dig into where the amount of discount gets reset back to 0 (steps to reproduce)

Hi Kelvin,

Thank you for following up. I did a completely fresh setup, just as you described (new web directory, new database, and new URL). The issue I encountered happens when creating the first quote.

Here’s the problem: when I input prices and quantities for the first time and save, everything is fine. However, if I try to edit any price within the quote later, all the values are automatically reset to 0.

Let me know if you need more details!

Oleg

2 Likes

it’s not about the discount, but simply the combination of quantity and price.

When I create a quote and input the quantity and price, everything works fine after saving. However, as soon as I try to modify either the quantity or the price, all values are automatically reset to 0.

2 Likes

If I open a quote and click on save all the prices are set to zero.

Thanks

1 Like

I shared the same issue on GitHub: Changing amounts quote not saved · Issue #1212 · InvoicePlane/InvoicePlane · GitHub

Thanks man!
We’ll try to fix it as soon as possible

2 Likes

The solution from subwebdesign resolved the issue for me.

2 Likes

Thanks Oleg , I just applied the fix and I can confirm it works for me :ok_hand::ok_hand::ok_hand:

2 Likes

It will be in the next version of InvoicePlane for sure.

sudwebdesign is building a PR that is able to create e-invoicing (Factur-X, X-Rechnung) and once that’s done, his solution will be in there

1 Like