@extends('layouts.app')
@section('content')
    <section class="page_title_wrap bottom_border">
        <div class="container">
            <h3>{{ $data['title'] }}</h3>
        </div>
    </section>
    @foreach ($data['moduleItems'] as $item)
        @if (count($item['dynamicSections']) > 0)
            <section class="land_info_wrap">
                <div class="container">
                        @foreach ($item['dynamicSections'] as $dynamicSection)
                            @if (count($item['dynamicSections']) > 0)
                                <table class="table table-bordered ">
                                    <thead>
                                        <tr>
                                            <th>Sl. No</th>
                                            <th>Meeting Name</th>
                                            <th>Link</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        @foreach ($item['dynamicSections'] as $dynamicSection)
                                        <tr>
                                            <td>{{ $dynamicSection['sequence'] }}</td>
                                            <td>{{ $dynamicSection['title'] }}</td>
                                            <td><a href="{{ $dynamicSection['file'] }}" target="_blank" class="btn-border">Download</a></td>
                                        </tr>
                                        @endforeach
                                    </tbody>
                                </table>
                            @endif
                        @endforeach
                    </div>
            </section>
        @endif
    @endforeach
@endsection
