@extends('layout.app')


@section('content')

    <div class="mt-2 card">
        <div class="card-body">
            <div class="table-responsive">
            <table id="dataTable" class="table table-bordered">
                <thead>
                    <tr>

                        <th class="text-center">
                            Serial No.
                        </th>

                        <th class="text-center">
                            Remark
                        </th>


                    </tr>
                </thead>
                <tbody>
                    @foreach ($serialNumbers as $key=>$serial)
                        <tr >

                            <td style="width: 200px">{{$serial->serial_no}}</td>
                            <td>{{$serial->remark}}</td>
                        </tr>
                    @endforeach


                </tbody>
            </table>
            </div>

            <div class="p-5">
                {{ $serialNumbers->links() }}
            </div>
        </div>
    </div>





@endsection
