fix for the a bug in the purchase of items. no date was appearing on the receipt.
Added support for the date selector to be able to choose the date on which to generate the report for daily sales .
Merge branch 'master' into Thomas