If you don’t shutdown terminals before ending work period and waiters still can create tickets after you end work period… It is pretty possible waiters may be at the middle of creating tickets while ending work period. So you shouldn’t automatically logout but wait until they finish their tickets.
If you want I can show you how many terminals are still running SambaPOS so you may wait until all terminals shut down.
btw I really didn’t understand why waiters creating tickets if there is no customer inside? Or if there are customers why you’re ending work period… lol. Is it 24hr open venue?