Skip to content

Commit

Permalink
add scorer into assessment
Browse files Browse the repository at this point in the history
  • Loading branch information
martiendt committed Oct 6, 2018
1 parent babb7cd commit a2b51c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public function store(Request $request, $employeeId)
$kpi->name = $template['name'];
$kpi->date = date('Y-m-d', strtotime($request->get('date')));
$kpi->employee_id = $employeeId;
$kpi->scorer_id = auth()->user()->id;
$kpi->save();

for ($groupIndex = 0; $groupIndex < count($template['groups']); $groupIndex++) {
Expand Down

0 comments on commit a2b51c9

Please sign in to comment.