
<table class="table table-striped table-centered mb-0">

    <thead>
        <tr>
            <th>Sr No.</th>
            <th>User Info</th>
            <th>Family Info</th>
            <th>Extra Info</th>
            <th >Address</th>
            <th >Action</th>

        </tr>
        </thead>
        <tbody>
        @foreach ($registrationform as $key => $svyscs)
        <tr>
           <td>{{ ($key+1) + ($registrationform->currentPage() - 1)*$registrationform->perPage() }}</td>
            <td><b>Name:</b> {{$svyscs->name}} <br> <b>Gender:</b> {{$svyscs->gender}} <br> <b>DOB:</b> {{$svyscs->dob}}<br> <b>Phone</b>: <a href="tel:{{$svyscs->phone}}">{{$svyscs->phone}}</a><br> <b>Email:</b> {{$svyscs->email}}</td>

            <td><b>F-Name:</b> {{$svyscs->fathers_name}} <br> <b>M-Name:</b> {{$svyscs->mother_name}}<br> <b>F-Phone:</b> <a href="tel:{{$svyscs->fathers_phone}}">{{$svyscs->fathers_phone}}</a></td>

            <td><b>Class:</b> {{$svyscs->which_class}} <br> <b>School:</b> {{$svyscs->school_name}}<br> <b>Education:</b> {{$svyscs->education_board}} <br> <b>Career Choice:</b> {{$svyscs->career_choice}}</td>

            <td><b>Pincode:</b> {{$svyscs->pincode }}<br> <b>Country:</b> {{$svyscs->country}}<br> <b>State:</b> {{$svyscs->state}} <br> <b>District:</b> {{$svyscs->district}} <br> <b>Address:</b> {{$svyscs->address}}</td>

            {{--<td >
                @if($svyscs->otp_verify_status == 1)
                    <span class="badge badge-success">Verify</span>
                @else
                    <span class="badge badge-danger">Not Verify</span>
                @endif
                </br>
                {{$svyscs->created_at}}<br>
                <select class="mt-1 mb-2" name="status" onchange="status({{$svyscs->id}},this)" style="background:@if($svyscs->status == 'intrested') #62f262 @endif @if($svyscs->status == 'not_intrested' || $svyscs->status == 'next_year' || $svyscs->status == 'invalid_data') #f94444 @endif;">
                        <option value="" >Select Status</option>
                    <option value="intrested" @if($svyscs->status == 'intrested') selected  @endif>Intrested</option>
                    <option value="not_intrested" @if($svyscs->status == 'not_intrested') selected @endif>Not Intrested</option>
                        <option value="next_year" @if($svyscs->status == 'next_year') selected @endif>Next Year</option>
                        <option value="next_year" @if($svyscs->status == 'invalid_data') selected @endif>Invalid Data</option>
                </select>
                <br>
                <a class="btn btn-icon btn-circle btn-sm" title="Remark" onclick="add_remark({{$svyscs->id}})"> + </a>
                <a class="btn btn-icon btn-circle btn-sm" title="Remark" onclick="add_call({{$svyscs->id}})"> <i class="uil uil-phone" aria-hidden="true"></i> </a>
                <a class="btn btn-icon btn-circle btn-sm" title="Remark" href="#"> <i class="uil uil-eye" aria-hidden="true"></i> </a>
            </td> --}}

        </tr>
        @endforeach
        </tbody>

</table>
<div>
    @include('backend.pagination',['list' =>$registrationform,'class'=>'svysc'])
</div>
