@@ -314,6 +314,9 @@ |
||
| 314 | 314 | return $response; |
| 315 | 315 | } |
| 316 | 316 | |
| 317 | + /** |
|
| 318 | + * @param string $type |
|
| 319 | + */ |
|
| 317 | 320 | public function generateGridSchedule($dept, $shifts, $request, $response, $type) |
| 318 | 321 | { |
| 319 | 322 | $ssheat = new Spreadsheet(); |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | use PhpOffice\PhpSpreadsheet\Spreadsheet; |
| 4 | 4 | use PhpOffice\PhpSpreadsheet\Writer\Xlsx; |
| 5 | -use PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf; |
|
| 6 | 5 | |
| 7 | 6 | class DepartmentAPI extends Http\Rest\DataTableAPI |
| 8 | 7 | { |
@@ -1,6 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | trait Processor |
| 3 | 3 | { |
| 4 | + /** |
|
| 5 | + * @param string $certType |
|
| 6 | + */ |
|
| 4 | 7 | protected function certCheck($requirements, $certs, $certType) |
| 5 | 8 | { |
| 6 | 9 | if(isset($requirements[$certType]) && $requirements[$certType]) |