diff --git a/app/Admin/Services/EmployeeService.php b/app/Admin/Services/EmployeeService.php index 5258774..db67a4b 100644 --- a/app/Admin/Services/EmployeeService.php +++ b/app/Admin/Services/EmployeeService.php @@ -99,12 +99,14 @@ class EmployeeService extends BaseService 'leave_at' => $options['leave_at'] ?? now(), 'store_id' => 0, 'employee_status' => EmployeeStatus::Offline, + 'is_sign' => 0, ]); } else { $user->update([ 'join_at' => now(), 'leave_at' => null, 'employee_status' => EmployeeStatus::Online, + 'is_sign' => 1, ]); }