@@ -242,6 +242,9 @@ |
||
| 242 | 242 | return $response; |
| 243 | 243 | } |
| 244 | 244 | |
| 245 | + /** |
|
| 246 | + * @param string $type |
|
| 247 | + */ |
|
| 245 | 248 | public function generateGridSchedule($dept, $shifts, $response, $type) |
| 246 | 249 | { |
| 247 | 250 | $ss = new \Schedules\GridSchedule($dept, $shifts); |
@@ -1,9 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use PhpOffice\PhpSpreadsheet\Spreadsheet; |
|
| 4 | -use PhpOffice\PhpSpreadsheet\Writer\Xlsx; |
|
| 5 | -use PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf; |
|
| 6 | - |
|
| 7 | 3 | class DepartmentAPI extends Http\Rest\DataTableAPI |
| 8 | 4 | { |
| 9 | 5 | use Processor; |