vodvud / php_zklib

GNU General Public License v2.0
24 stars 19 forks source link

Overtime #13

Closed aice09 closed 5 years ago

aice09 commented 5 years ago

Sir, the system work great, it works with card, fingerprint, and password. But sir when i use overtime-in and overtime-out the data display was Undefined. How to work it sir?

aice09 commented 5 years ago

Okay i got a solution here, by the way I'am using the following biometrics machine having the following specs: zktecodata

const ATT_TYPE_OVERTIME_IN = 4;
   const ATT_TYPE_OVERTIME_OUT = 5;

and


case self::ATT_TYPE_OVERTIME_IN:
                $ret = 'Overtime-in';
                break;
            case self::ATT_TYPE_OVERTIME_OUT:
                $ret = 'Overtime-out';
                break;

inside the getAttTypefunction

https://github.com/aice09/php_zklib-1/blob/master/zklib/src/Util.php