fixed daily attendance bugs

fixed daily attendance bugs