Added Condition when log is incomplete, it will become halfday
Added condition when log is incomplete, halfday occurs