- Check condition added for extracting data from the beginning of store to current date 
- generate a file and check the total if correct
- Total still incorrect, remodify the condition and formula to correct the output