- For the Worker - ServerSide
- For the customer - CustomerSide
- inventory.json - To keep track of all the products (includes those which are out of stock too)
- outOfStock.json - To keep track of the products out of Stock
- sales.json - Details of each bill generated
- productSales.json - Each product sale descripion
{
"ProductID": {
"name": ,
"price": ,
"quantity":
}
}
{
"ProductID DD/MM/YYYY HH:MM": {
"name": ,
"price":,
"TimeDetail":
}
}
{
" DD/MM/YYYY HH:MM:SS": {
"ProductID1": {
"Qn": ,
"total_price":,
"name":
},
"ProductID2": {
"Qn": ,
"total_price":,
"name":
}
}
}
{
"ProductID DD/MM/YYYY HH:MM": {
"Qn": ,
"total_price": ,
"name":
}
}