@extends('layout.app')


@section('content')


    <div class="card">
        <div class="card-body">
            <div class="table-responsive">
                <table id="dataTable" class="table table-bordered">
                    <thead class="bg-gray-50">
                        <tr>
                            <th scope="col"
                                class="text-center">
                                ID
                            </th>
                            <th scope="col"
                                class="text-center">
                                Client UserID
                            </th>
                            <th scope="col"
                                class="text-center">
                                Client Pop Name
                            </th>
                            <th scope="col"
                                class="text-center">
                                Client Reseller Name
                            </th>
                            <th scope="col"
                                class="text-center">
                                Amount
                            </th>
                            <th scope="col"
                                class="text-center">
                                Recharge Date Time
                            </th>
                        </tr>
                    </thead>
                    <tbody class="bg-white divide-y divide-gray-200">
                        @foreach ($bkashPaymentResellerReport as $r)
                            <tr>
                                <td class="text-center">
                                   CID : {{ $r->client->id }}
                                </td>
                                <td class="text-center">
                                    {{ $r->client->userid }}
                                </td>
                                <td class="text-center">
                                    {{ $r->pop->popname }}
                                </td>
                                <td class="text-center">
                                    {{ $r->reseller->name }}
                                </td>
                                <td class="text-center">
                                    {{ $r->amount }}
                                </td>
                                <td class="text-center">
                                    {{ $r->created_at }}
                                </td>
                            </tr>
                        @endforeach
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    {{-- <div class="flex flex-col mt-5">
        <div class=" bg-white p-6 rounded-lg">

            <div class="-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
                <div class="py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8">
                    <div class="shadow overflow-hidden border-b border-gray-200 sm:rounded-lg">



                    </div>
                </div>
            </div>
        </div>
    </div> --}}




@endsection
