opensourcepos / opensourcepos

Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework. It uses MySQL as the data back end and has a Bootstrap 3 based user interface.

Home Page:http://www.opensourcepos.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return item kit always adds an whole extra item kit

AndreasJuulHansen opened this issue · comments

Background information

IMPORTANT: If you choose to ignore this issue report template, your issue will be closed as we cannot help without the requested information.

Please make sure you tick (add an x between the square brackets with no spaces) the following check boxes:

  • Reporting an issue of an unmodified OSPOS installation
  • Checked open and closed issues and no similar issue was already reported (please make sure you searched!)
  • Read README, WHATS_NEW, INSTALL.md and UPGRADE
  • Read the FAQ for any known install and/or upgrade gotchas (in specific PHP extensions installed)
  • Read the wiki
  • Executed any database upgrade scripts if an upgrade pre 3.0.0 (e.g. database/2.4_to_3.0.sql)
  • Aware the installation code that GitHub master is for developers only and therefore not complete nor stable.

Installation information

  • OSPOS version is: 3.3.9
  • OSPOS git commit hash is: Installed with docker downloaded here from git
  • PHP version is: Installed with docker
  • MySQL or MariaDB version is: Installed with docker
  • OS and version is: Windows 11 23H2 - 22631.3296
  • WebServer is: Installed with docker
  • Selected language is: English
  • (If applicable) Docker installation: v4.28.0
  • (If applicable) Installation package for the LAMP/LEMP stack is:

Issue / Bug / Question / New Feature

When I have created an item as an example, a can of Red Bull with all the nessesary information and barcode. I then create an item kit with 24 Red Bull cans in and the other barcode on the package itself. Then when you go into the sales module, and scan the package it puts 24 Red Bull cans in the basket. Then if I go to the return function, and try to return the item kit with the barcode and the 24 cans it it, it just adds 24 extra - giving a total of 48. I can only return a whole package if i scan a Red Bull can 24 times, since the system can't subtract item kits since it always adds item kits in the return menu.

Thanks for a nice product tho!!!!

Did you complete the first sale. Then do a Return?

@odiea I have made an order, where I have put in different items. I then suspend the order, and reopen it again some time later. Then I choose the return function, so itwill subtract items. Then I want to make an invoice. I works fine with single items, but not with item kits.

I do it this way, since we buy alcohol in lager quantities at my dorm. Then people say what they want for a party they are helding in our party hall. They get the items, host the party, and return the unopened items afterwards, and then they pay for what they have used. Thats why I have tried to do it with the suspend function. And where it does not work is when I scan a crate of Red Bull and they return a whole crate again, it can't subtract the 24 single Red Bull cans it added when I scanned the crate barcode to begin with.

No Items are removed from Inventory until the Sale is completed. So Returning the Kit would just add extra Inventory Items back. Also do you see a minus sign in Quantity when you are Returning the Item Kit