🐛 Fix attendance bug
This commit is contained in:
@@ -134,7 +134,7 @@ class AttendanceActionManager extends SubActionManager
|
|||||||
$this->baseService->audit(IceConstants::AUDIT_ACTION, "Punch Out \ time:".$openPunch->out_time);
|
$this->baseService->audit(IceConstants::AUDIT_ACTION, "Punch Out \ time:".$openPunch->out_time);
|
||||||
} else {
|
} else {
|
||||||
$openPunch->in_time = $dateTime;
|
$openPunch->in_time = $dateTime;
|
||||||
$openPunch->out_time = null;
|
$openPunch->out_time = '0000-00-00 00:00:00';
|
||||||
$openPunch->note = $req->note;
|
$openPunch->note = $req->note;
|
||||||
$openPunch->image_in = $req->image;
|
$openPunch->image_in = $req->image;
|
||||||
$openPunch->employee = $employee->id;
|
$openPunch->employee = $employee->id;
|
||||||
|
|||||||
Reference in New Issue
Block a user