Shift is the heart of attendance. It decides which punch belongs to which day, when login/logout is valid, lunch behavior, half day, early logout, OT, and what Android terminal will accept.
Day Shift
Normal same-day duty. Employee logs in and logs out on the same calendar date.
Use when: office, shop, general staff, or simple factory shift like 09:00 to 18:00.
With Lunch
Same-day duty where lunch in/out punch is important and can affect work hours.
Use when: lunch break must be captured, extra lunch time should reduce payable hours, or canteen/lunch compliance matters.
Night / Midnight
Duty crosses date boundary. The system must decide whether a punch belongs to today or yesterday.
Use when: shift starts evening/night and ends next morning, for example 20:00 to 08:00.
Multi-day / Long Duty
Long-running duty where logout can happen much later and Android may continue an open shift.
Use when: drivers, security, medical duty, field duty, or any case where duty can continue beyond one normal shift.