I’m currently working on a new project and facing some challenges. I’m developing a desktop point-of-sale (POS) software. When users log in, they are prompted to select their location and terminal, followed by a “cash in” process.
The challenge arises when an employee tenders a sale. I need the system to deduct the inventory from the stock of the specific location selected at login. While each item in the sale is already linked to a product in the catalog, I’m struggling to ensure the inventory update applies only to the selected location.
I was considering using a blank page with a countdown timer to process each item added to the sale, but I’m unsure if this is the best approach. If the countdown timer isn’t ideal, I’d appreciate any suggestions or advice on better ways to handle this functionality. I’m stuck on this part and could really use some guidance to make it work properly.