<div class="col-md-12">
    <div class=" float-right d-flex amount-container" style="text-align:center; gap:3px !important; ">
        <p class="p-1 " style="border:2px solid #fed7aa; ">Total Row {{ $data->count() ?? 0 }} </p>
    </div>
</div>
<div id="paymenthistory" class="mt-10">
    <div class="table-responsive">
        <table class="table table-bordered " id="tableDownload">
            <tr>
                <th>ID</th>
                <th>userid</th>
                <th>Status</th>
                <th>Date</th>
                <th>Edit By</th>
                <th>Details</th>
            </tr>

            @foreach ($data as $d)
                    <tr>
                        <td>{{ $d->client->id }}</td>
                        <td>{{ $d->client->userid }}</td>
                        <td>{{ $d->client->clients_status }}</td>
                        <td>{{ $d->created_at }}</td>
                        <td>{{ $d->user->name }}</td>
                        <td>{{ $d->details }}</td>
                        {{-- <td>{{ $d }}</td> --}}
                    </tr>

            @endforeach
        </table>
    </div>
</div>

