@extends('layouts.pro-logged-in')
@section('content')

    <h3 class="d-flex my-3 px-3 stag-heading stag-heading-index">
        <div>Client Sms: List</div>
        <div class="ml-auto">
            <!-- _ADD_NEW_LINK_ -->
        </div>
    </h3>

    <div class="table-responsive p-0 bg-white border stag-table stag-table-index">
        <table class="table table-hover text-nowrap table-striped">
            <thead>
            <tr>
<th>&nbsp;</th>
<th>Client Id</th>
<th> From Number</th>
<th> To Number</th>
<th> Incoming Or Outgoing</th>
<th> Body</th>
            </tr>
            </thead>
            <tbody>
            @foreach($records as $record)
                <tr>
<td><a href="/client_sms/view/<?= $record->uid ?>"><i class="fas fa-share-square"></i></a></td>
<td><?= $record->client_id ?></td>
<td><?= $record-> from_number ?></td>
<td><?= $record-> to_number ?></td>
<td><?= $record-> incoming_or_outgoing ?></td>
<td><?= $record-> body ?></td>
                </tr>
            @endforeach
            </tbody>
        </table>
    </div>

@endsection
