yrestom / POS-Awesome

POS Awesome is an open-source Point of Sale for Erpnext using Vue.js and Vuetify
GNU General Public License v3.0
349 stars 396 forks source link

[BUG]: Error when returning sales invoice with tax included. #476

Open itzmeeugene opened 2 weeks ago

itzmeeugene commented 2 weeks ago

Versions

Steps to reproduce

  1. Go to 'POS Profile' then set "Taxes & Charges" and make sure "Tax Inclusive" is unchecked under POS Awesome Advance Settings. Click save
  2. Then go to POS Awesome app, make a new Pos sale and submit payment
  3. After click on return, search for invoice created in step 2 above, select then click on pay.
  4. The error that come is "Paid amount + Write Off Amount can not be greater than Grand Total" this is because POS Awesome is returning the sales amount without the tax

What is Expected?

When returning a sales invoice, it should return the tax amount as well

What is actually happening?

POS Awesome is returning the sales amount without the tax

Screenshots

POS-Awesome

from the above, notice the

Screenshot 2024-06-14 194808

Now upon return notice how only item amount 375 is being returned. causing the paid amount 457.13 to be greater than the grand total being returned 375

itzmeeugene commented 2 weeks ago

@yrestom Is this a bug or I'm doing something wrong