I have a orders to shop tab, which is displaying no.of packets of the snacks as of today date.
If I orders by today,it will display the snack name, quantity which is group by shopname.
My concern is,I’m in the next day,I have none in the orders to tab,but I’m going to add one snack,it’s showing in the orders to shop tab but it’s just adds the previous quantity to it.
If I order the same snack yesterday by quantity 2 packets,it’s just adds that 2 packets to today ordering of the same snack.
Used count of quantity to that quantity values.that why it’s showing like that but how to deal this?
I need to show today quantity in total of that snack.no yesterday’s count.
I would have to see your app, to give you advice…
in general, when you are making a record of sale, you must put a timestamp and order ID (which can be a row ID), then you can adjust values in these rows (records) by relating to them…
can you post a link to your app or some screenshots?