@extends('layouts.app')

@section('content')
<div class="container">
  <div class="row">
    <div class="col-md-10 col-md-offset-1">
      <div class="panel panel-default">
        <div class="panel-heading">
          <h3>
            Bidder List
          </h3>
        </div>
        <div class="panel-body">
          @if($bidderlist_results)
          <table align='center' class='table table-striped table-condensed table-hover table-bordered'>
            <tr>
              <th>
                #:
              </th>
              <th>
                Last Name:
              </th>
              <th>
                First Name:
              </th>
              <th>
                Address:
              </th>
              <th>
                City:
              </th>
              <th>
                State:
              </th>
              <th>
                Zip:
              </th>
              <th>
                Phone:
              </th>
              <th>
                Email:
              </th>
            </tr>
            @foreach($bidderlist_results as $bidderlist_result)
            <tr>
              <td>
                {{ $bidderlist_result->bidder_assigned_number }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_lname }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_fname }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_addr }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_city }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_state }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_zip }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_phone }}
              </td>
              <td>
                {{ $bidderlist_result->bidder_email }}
              </td>
            </tr>
            @endforeach
          </table>
          @else
          <h3>
            No Bidders
          </h3>
          @endif
        </div>
      </div>
    </div>
  </div>
</div>
@endsection