|
|
@ -38,24 +38,25 @@ class ShiftCalendarShiftRenderer
|
|
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
return [
|
|
|
|
$blocks,
|
|
|
|
$blocks,
|
|
|
|
div(
|
|
|
|
div( 'shift-card "style="height: '
|
|
|
|
'shift panel panel-' . $class . '" '
|
|
|
|
|
|
|
|
. 'style="height: '
|
|
|
|
|
|
|
|
. ($blocks * ShiftCalendarRenderer::BLOCK_HEIGHT - ShiftCalendarRenderer::MARGIN)
|
|
|
|
. ($blocks * ShiftCalendarRenderer::BLOCK_HEIGHT - ShiftCalendarRenderer::MARGIN)
|
|
|
|
. 'px"',
|
|
|
|
. 'px;}"',
|
|
|
|
[
|
|
|
|
div(
|
|
|
|
$this->renderShiftHead($shift, $class),
|
|
|
|
'shift panel panel-' . $class. '" style="position: absolute; width:99%;',
|
|
|
|
div('panel-body', [
|
|
|
|
[
|
|
|
|
$info_text,
|
|
|
|
$this->renderShiftHead($shift, $class),
|
|
|
|
Room_name_render([
|
|
|
|
div('panel-body', [
|
|
|
|
'RID' => $shift['RID'],
|
|
|
|
$info_text,
|
|
|
|
'Name' => $shift['room_name']
|
|
|
|
Room_name_render([
|
|
|
|
])
|
|
|
|
'RID' => $shift['RID'],
|
|
|
|
]),
|
|
|
|
'Name' => $shift['room_name']
|
|
|
|
$shifts_row,
|
|
|
|
])
|
|
|
|
div('shift-spacer')
|
|
|
|
]),
|
|
|
|
]
|
|
|
|
$shifts_row,
|
|
|
|
)
|
|
|
|
div('shift-spacer')
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
)
|
|
|
|
];
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|