|
@@ 183-186 (lines=4) @@
|
| 180 |
|
$i++; |
| 181 |
|
} |
| 182 |
|
$sheat->mergeCellsByColumnAndRow($hoursFromStart+2, $firstRow+4+$i, $hoursFromStart+1+$shift['length'], $firstRow+4+$i); |
| 183 |
|
if(isset($shift['participant'])) |
| 184 |
|
{ |
| 185 |
|
$sheat->setCellValueByColumnAndRow($hoursFromStart+2, $firstRow+4+$i, $this->getParticipantDiplayName($shift['participant'])); |
| 186 |
|
} |
| 187 |
|
} |
| 188 |
|
else |
| 189 |
|
{ |
|
@@ 191-194 (lines=4) @@
|
| 188 |
|
else |
| 189 |
|
{ |
| 190 |
|
$sheat->mergeCellsByColumnAndRow($hoursFromStart+2, $firstRow+4, $hoursFromStart+1+$shift['length'], $firstRow+4); |
| 191 |
|
if(isset($shift['participant'])) |
| 192 |
|
{ |
| 193 |
|
$sheat->setCellValueByColumnAndRow($hoursFromStart+2, $firstRow+4, $this->getParticipantDiplayName($shift['participant'])); |
| 194 |
|
} |
| 195 |
|
} |
| 196 |
|
$shift = array_shift($shifts); |
| 197 |
|
} |