Bugs fixing date field in daily attendance

Bugs fixing date field in daily attendance