andrew867 / timeclock

An updated version of PHP Timeclock
40 stars 68 forks source link

duplicate punches are allowed #33

Open kaasalisk opened 8 years ago

kaasalisk commented 8 years ago

It is currently possible to punch "in" or "out" multiple times in a row. An employee could punch in when they arrive and when leaving accidentally press "in" instead of out again. Shouldn't the code validate the current status and make it unavailable to select again?