<style>
    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        background-color:#F9F9F9 !important;
        color:#000 !important;
    }
</style>
<div class="container-fluid">
    <div class="page-title">
        <div class="row">
            <div class="col-md-6 col-sm-12">
                <h3 class="fw-bolder">Open Access Content of {{$param['organization_name']}}</h3>
            </div>
        </div>
    </div>
</div>
<!-- Container-fluid starts-->
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-body">
                    <div class="table-responsive">
                        <table class="display" id="basic-6">
                            <thead>
                                <tr>
                                    <th>S.#</th>
                                    <th>Journal</th>
                                    <th>Volume</th>
                                    <th>Issue</th>
                                    <th>Title</th>
                                    <th>Publish On</th>
                                </tr>
                            </thead>
                            <tbody>
                                @php $a=1; @endphp
                                @foreach($openaccess_article as $key => $value)
                                <tr>
                                    <td>{{ $a }}</td>
                                    <td>{{ $value->journal_title }}</td>
                                    <td>{{ $value->volume }}</td>
                                    <td>{{ $value->issue }}</td>
                                    <td><a href="/article/{{$value->article_id}}" class="text-dark fw-bolder">{{ $value->title }}</a>
                                        <br>Author: {!! $value->authors !!}
                                    </td>
                                    <td>{{ date('m/d/Y', $value->publish_on) }}</td>
                                </tr>
                                @php $a++ @endphp
                                @endforeach
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>