States Not being updated as aspected
So basically I am creating a invoicing application where user can create bills ( add items to bills by scanning bar code ) user can also add item by specifically typing the itemid ( which exists in their inventory )