Bobelism Found bugs in this code
- With out completing orders, it is counting as orders ( after cancelling, it is not changing )
- Amount also not reflecting.
For Ex:
If an item of Rs.260 is ordered by an user, before completing the order, it is counting to Today Orders and also in Today Earnings.
If user cancelled the ordered. It is not reflecting.
May be you missed it. check once please