@if($meta = $row->meta) @if($meta->enable_open_hours) @php $open_hours = $meta->open_hours @endphp @php $n = date('N') @endphp
@for($i = 1 ; $i <=7 ; $i++)
@switch($i) @case(1) {{__('Monday')}} @break @case(2) {{__('Tuesday')}} @break @case (3) {{__('Wednesday')}} @break @case (4) {{__('Thursday')}} @break @case (5) {{__('Friday')}} @break @case (6) {{__('Saturday')}} @break @case (7) {{__('Sunday')}} @break @endswitch @if(empty($open_hours[$i]['enable'])) {{__("Closed")}} @else {{$open_hours[$i]['from']}} - {{$open_hours[$i]['to']}} @endif
@endfor
@endif @endif