how to hide this message when click on the shift and attendance?,i know its showing because of the record has no data.but i don’t want to see a warning message when click on it.if anyone knows .please do help

just give me the path so i can edit
Thank You.