<table id="PlanUrlopuTable" class="table hover-rows custom-table HalfTable" data-start-sort="1" data-start-sort-direction="desc" data-start-height="25vh">
    <thead>
    <tr class="text-uppercase">
        <th>Urlop</th>
        <th>W okresie od</th>
        <th>W okresie do</th>
        <th>Dni</th>
        <th>Godziny</th>
    </tr>
    </thead>
    <tbody>
    <?php if (!empty($free_days['bPlanyUrlopu']['bPlanUrlopu'])): ?>
        <?php foreach ($free_days['bPlanyUrlopu']['bPlanUrlopu'] as $k => $fd): ?>
            <tr
                <?php if (!empty($fd['bInformacjeDodatkowe'])): ?>
                    class="more-info-append" data-append-to="#more-info-container"
                    data-more-info="<?php echo $fd['bInformacjeDodatkowe']; ?>"
                <?php endif; ?>
            >
                <td class="info-addon"><?php echo $fd['bKod']['cOpis']; ?></td>
                <td><span class="span-date"><?php echo $fd['bDataOd']; ?></span></td>
                <td><span class="span-date"><?php echo $fd['bDataDo']; ?></span></td>
                <td><span class="span-date"><?php echo $fd['bDni']; ?></span></td>
                <td><span class="span-date"><?php echo $fd['bGodziny']; ?></span></td>
            </tr>
        <?php endforeach; ?>
    <?php endif; ?>
    </tbody>
</table>

<?php echo $this->element('alert_close'); ?>