|
@@ 204-207 (lines=4) @@
|
| 201 |
|
$i++; |
| 202 |
|
} |
| 203 |
|
$sheat->mergeCellsByColumnAndRow($hoursFromStart+2, $firstRow+4+$i, $hoursFromStart+1+$shift['length'], $firstRow+4+$i); |
| 204 |
|
if(isset($shift['participant'])) |
| 205 |
|
{ |
| 206 |
|
$sheat->setCellValueByColumnAndRow($hoursFromStart+2, $firstRow+4+$i, $this->getParticipantDiplayName($shift['participant'])); |
| 207 |
|
} |
| 208 |
|
} |
| 209 |
|
else |
| 210 |
|
{ |
|
@@ 212-215 (lines=4) @@
|
| 209 |
|
else |
| 210 |
|
{ |
| 211 |
|
$sheat->mergeCellsByColumnAndRow($hoursFromStart+2, $firstRow+4, $hoursFromStart+1+$shift['length'], $firstRow+4); |
| 212 |
|
if(isset($shift['participant'])) |
| 213 |
|
{ |
| 214 |
|
$sheat->setCellValueByColumnAndRow($hoursFromStart+2, $firstRow+4, $this->getParticipantDiplayName($shift['participant'])); |
| 215 |
|
} |
| 216 |
|
} |
| 217 |
|
$shift = array_shift($shifts); |
| 218 |
|
} |