Now this gives an error in the daily receipts report