kamshory / ZKLibrary

ZKLibrary is PHP library for reading and writing data to attendance device using UDP protocol. This library useful to comunicate between web server and attendance device directly without addition program. This library is implemented in the form of class. So that you can create an object and use it functions.
GNU General Public License v2.0
194 stars 176 forks source link

Check out is not showing in the table #31

Open rajaanas786 opened 6 years ago

rajaanas786 commented 6 years ago

When I check out, it shows check-in instead. What should I do to show check out?

kamshory commented 6 years ago

Save all attendance data to your database. The first check on the day is check in, and the last check on the day is check out.

rajaanas786 commented 6 years ago

we can make several checkin check out in a day! If you see my attached snap.. Here it is indicating if attendancedata==14... can i make solution from here

On Tue, Jun 5, 2018 at 2:06 PM, Kamshory, MT notifications@github.com wrote:

Save all attendance data to your database. The first check on the day is check in, and the last check on the day is check out.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kamshory/ZKLibrary/issues/31#issuecomment-394637254, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj8TjmqHGZRNcmT27NYNEpQ5IxSq1IxXks5t5koUgaJpZM4UYA7C .

rajaanas786 commented 6 years ago

The problem still exists. I am unable to find the way to get checkout status. I am punching the check-in check out with correct way. ZK time attendance software shows check-in and check-out in a correct way. With this api i am unable to find... Please help....

kamshory commented 5 years ago

You must create your own code for it.

jamesimosh commented 2 years ago

Had the same issue and solved by changing library state from offset from 56 to 66.

Tested on ZK40. Current 56 offset is the value for mode, Not status.