@extends('app.my-account.admin.users.single')

@section('details')

<div>
<h4><b>Orders</b></h4>
    <table class="table table-sm table-hover table-striped mb-0">
        <thead>
            <tr>
                <th>ID</th>
                <th>Order</th>
            </tr>
        </thead>
        <tbody>
            @foreach($orders as $order)
            <tr>
                <td>{{ $order->id }}</td>
                <td><?php parseRender($order->toArray()) ?></td>
            </tr>
            @endforeach
        </tbody>
    </table>
    <div class="mt-3">
        {{ $orders->appends(request()->input())->links() }}
    </div>
</div>

@endsection