<table class="table  table-bordered table-hover" style="direction: rtl;">
    <thead>
        <tr>
            <td colspan="2">المواعيد الأسبوعية   </td>
        </tr>
        <tr>
            <th class="wds10">اليوم </th>
            <th>الساعات المتاحة  </th>
        </tr>

        {foreach $days as $day}
        <tr>
            <td>
                {$day.dayName}
            </td>
            <td>
                {foreach $day.hours as $hour}
                <span class="col-md-2"> {$hour.reserve_hour} </span>
                {/foreach}
            </td>
        </tr>
        {/foreach}
    </thead>
</table>
<!--------------------
<table class="table  table-bordered table-hover" style="direction: rtl;">
    <caption style="text-align: center;font-weight: bolder">المواعيد الأسبوعية </caption>
    <thead>
        <tr>
            <th class="wds10">اليوم </th>
            <td rowspan="2">
                <table class="table  table-bordered table-hover" style="direction: rtl; margin-bottom: 0px;">
                    <tr>
                        {foreach $days as $day}
                        <td>
                            {$day.dayName}
                        </td>
                        {/foreach}
                    </tr>
                    <tr>
                        {foreach $days as $day}
                        <td>
                            {foreach $day.hours as $hour}
                            <span style="width: fit-content;margin: 0px 3px 0px 3px;background-color: gainsboro;padding: 0px 3px 0px 3px;"> {$hour.reserve_hour} </span>
                            {/foreach}
                        </td>
                        {/foreach}
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <th>الساعات المتاحة  </th>
        </tr>
        </tbody>
</table>

----------------------->
