Skip to content

Commit

Permalink
bugs: conflicts with bugs from dev_wfh rebase fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
e-tayfw committed Oct 15, 2024
1 parent 3394427 commit f4d3670
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 191 deletions.
1 change: 0 additions & 1 deletion backend-api/app/Http/Controllers/ScheduleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public function generateTeamSchedule($staff_id)
}

// Step 2: Get all team members who belong to the same department and report to the same manager
$teamMembers = Employee::where('Reporting_Manager', $employee->Reporting_Manager)
$teamMembers = Employee::where('Reporting_Manager', $employee->Reporting_Manager)
->where('Staff_ID', '!=', $staff_id) // Exclude the employee themselves
->pluck('Staff_ID'); // Retrieve only team member IDs
Expand Down
1 change: 0 additions & 1 deletion src/components/schedule/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Display } from "@/components/TextStyles";
import { WFHCalendar } from "@/components/schedule/Calendar";
import { TeamCalendar } from "@/components/schedule/TeamCalendar";
import { TeamCalendar } from "@/components/schedule/TeamCalendar";
import { useRouter } from "next/router";
import { useSelector } from "react-redux";
import { RootState } from "@/redux/store";
Expand Down
Loading

0 comments on commit f4d3670

Please sign in to comment.