<div class="table-responsive" id="result">
    <div class="float-left">
        {{ $logs->links() }}
    </div>
    <table id="" class="display table table-bordered table-striped table-sm">
        <thead class="bg-gray">
            <tr>
                <th scope="col">ID</th>
                <th scope="col">Reseller</th>
                <th scope="col">Contact</th>
                <th scope="col" style="max-width: 40%" >Message</th>
                <th scope="col" >Type</th>
                <th scope="col" style="max-width: 20%">Delivery Message</th>
                <th scope="col">Date</th>
            </tr>
        </thead>
        <tbody>
            @foreach ($logs as $item)
                <tr>
                    <td>{{ $item->id }}</td>
                    <td>{{ $item->reseller->name }}</td>
                    <td>{{ $item->contact }}</td>
                    <td style="max-width: 40%">{{ $item->message }}</td>
                    <td>{{ $item->type }}</td>
                    <td style="max-width: 20%">{!! checkSmsStatus($item->delivery_message) !!}</td>
                    <td>{{ $item->created_at }}</td>
                </tr>
            @endforeach
        </tbody>
    </table>
    {{ $logs->links() }}
</div>
