Added stockitems being read from database
SoldItems dont obtain sale_id
Sort of works, Solditems don't get sale_id, orders read from database don't display order details in history tab and the order time gets lost in the databse.