employee module fix

This commit is contained in:
2024-04-05 17:56:16 +05:45
parent dbe6632313
commit 8a9cb39352
20 changed files with 287 additions and 254 deletions

View File

@ -28,7 +28,7 @@ class LeaveRepository implements LeaveInterface
public function update($leaveId, array $newDetails)
{
return Leave::whereId($leaveId)->update($newDetails);
return Leave::where('leave_id',$leaveId)->update($newDetails);
}
}