@@ -109,6 +109,9 @@ discard block |
||
| 109 | 109 | return $response->withJson($shifts); |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | + /** |
|
| 113 | + * @param string $table |
|
| 114 | + */ |
|
| 112 | 115 | protected function createEntityForDepartment($request, $response, $args, $table) |
| 113 | 116 | { |
| 114 | 117 | $deptId = $args['dept']; |
@@ -212,6 +215,9 @@ discard block |
||
| 212 | 215 | return $response; |
| 213 | 216 | } |
| 214 | 217 | |
| 218 | + /** |
|
| 219 | + * @param string $type |
|
| 220 | + */ |
|
| 215 | 221 | public function generateGridSchedule($dept, $shifts, $response, $type) |
| 216 | 222 | { |
| 217 | 223 | $ss = new \Schedules\GridSchedule($dept, $shifts); |