@extends('tablar::page')

@section('content')
<div class="page-header d-print-none">
    <div class="container-xl">
        <div class="row g-2 align-items-center">
            <div class="col">
                <h2 class="page-title">Bidder List</h2>
            </div>
        </div>
    </div>
</div>

<div class="page-body">
    <div class="container-xl">
        <div class="row row-cards">
            <div class="col-12">
                <div class="card">
                    <div class="table-responsive">
                        <table class="table table-vcenter card-table">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>Name</th>
                                    <th>Phone</th>
                                    <th>Email</th>
                                    <th>Address</th>
                                </tr>
                            </thead>
                            <tbody>
                                @foreach($bidderlist_results as $bidder)
                                    <tr>
                                        <td>{{ $bidder->bidder_assigned_number }}</td>
                                        <td>{{ $bidder->bidder_fname }} {{ $bidder->bidder_lname }}</td>
                                        <td>{{ $bidder->bidder_phone }}</td>
                                        <td>{{ $bidder->bidder_email }}</td>
                                        <td>{{ $bidder->bidder_addr }}, {{ $bidder->bidder_city }}</td>
                                    </tr>
                                @endforeach
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
@push('js')
@endpush
