Dec-12-2016, 05:11 PM
My first suggestion is... don't use files. You probably don't want the data on the pi, you probably want it in a database that your accounting people can get to easily. Plus, a pi is a pretty small thing... if someone grabs it off the wall (or it gets wet or something), you just lose all your time clock data.
You might want to add a confirmation step to the process, so if someone types the wrong code, and they see someone else's name, they don't accidentally clock out the wrong person (from experience, I can tell you that will happen A LOT).
You might want to add a confirmation step to the process, so if someone types the wrong code, and they see someone else's name, they don't accidentally clock out the wrong person (from experience, I can tell you that will happen A LOT).