Recording of attendance and leave