main
Jing Li 2024-05-01 17:36:22 +08:00
parent 00b5e380cf
commit 37591eacd6
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ class EmployeeService extends BaseService
} }
$user->update([ $user->update([
'leave_at' => $options['leave_at'] ?? now(), 'leave_at' => $options['leave_at'] ?? now(),
'store_id' => 0,
'employee_status' => EmployeeStatus::Offline, 'employee_status' => EmployeeStatus::Offline,
]); ]);
} else { } else {