@extends('pro.clients.view')
@section('content-inner')

    <div class="pb-3">

        <h5 class='my-3 d-flex stag-heading stag-heading-sub'>
            <div>Client Sms</div>
            <div class="ml-auto">
                <!-- _ADD_NEW_LINK_ -->
            </div>
        </h5>

        <div class="table-responsive p-0 bg-white border stag-table stag-table-sub">
            <table class="table table-hover text-nowrap">
                <thead>
                <tr>
                    <th>&nbsp;</th>
<th>From Number</th>
<th> To Number</th>
<th> Body</th>
<th> Created At</th>
                </tr>
                </thead>
                <tbody>
                @foreach($subRecords as $subRecord)
                    <tr>
                        <td><a href=""><i class="fas fa-share-square"></i></a></td>
<td><?= $subRecord->from_number ?></td>
<td><?= $subRecord-> to_number ?></td>
<td><?= $subRecord-> body ?></td>
<td><?= friendly_date_time($subRecord-> created_at) ?></td>
                    </tr>
                @endforeach
                </tbody>
            </table>
        </div>

    </div>

@endsection
