Name: [FIX][17.0] to_attendance_device: wrong user name when upgrade employee to device by icloud

State: Killed finished in 99m

PR State: merged

PR Author: Nguyễn Đại Dương

PR Author Email: daiduongnguyen2709@gmail.com

PR: #10713

Committer: Nguyễn Đại Dương

Committer Email: daiduongnguyen2709@gmail.com

Commit: c43c00caa4545b43bfbb0e8fb4668b49f3dc3876

Description:

                                            [IMP] to_attendance_device: device should be unique by serial number

-Since [1]: we have allowed user to edit serial number, therefore need
to constrain unique by serial number by device.
-This commit allow to delete device commands because there might be
some errors when connecting device for the first time so delete it to
ensure all the command will be executed
-Also only process data from device when in confirmed state

Ticket: https://viindoo.com/web#id=51938&cids=1&menu_id=89&model=viin.helpdesk.ticket&view_type=form
1: 3535236e1019bc3b7f91e0343c35b453434e514b
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: