I am currenlty working with a custom model of PHPwpos to set up a cash register system connected to DB. The problem is that the ordered items are not substracted from the connected DB, so it doesnt keep track of the inventory.
The main code is posted here, if anything needed else please let me...