get attendance on assign shift if null shiftId