<section>

    <table class='grid' id='gdOpeningTime' >
        <tr>
            <th>{{GetCode(Booking.Day)}}</th>
            <th>{{GetCode(Booking.HourStartAm)}}</th>
            <th>{{GetCode(Booking.HourEndAm)}}</th>
            <th>{{GetCode(Booking.HourStartPm)}}</th>
            <th>{{GetCode(Booking.HourEndPm)}}</th>
        </tr>
    

    {{foreach Days}}
        <tr>
            <td>
                {{element->Day->Value}}
                <input type='hidden' value ='{{element->Day->Value}}' />
            </td>
            <td>
                {{GetControl(DateTimeBox,HourtStartAm,{Value={{element->HourStartAm->Value}}})}}
            </td>
            <td>
                {{GetControl(DateTimeBox,HourEndAm,{Value={{element->HourEndAm->Value}}})}}
            </td>
            <td>
                {{GetControl(DateTimeBox,HourStartPm,{Value={{element->HourStartPm->Value}}})}}
            </td>
            <td>
                {{GetControl(DateTimeBox,HourEndPm,{Value={{element->HourEndPm->Value}}})}}
            </td>
        </td>
    {{/foreach Days}}
    </table>

    <button id='btnSaveOpeningTime' class='btn btn-primary'>{{GetCode(Booking.SaveOpeningTime)}}</button>
</section>