forked from TFMM/silent-auction
69 lines
2.8 KiB
PHP
69 lines
2.8 KiB
PHP
@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">Show Car List</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="page-body">
|
|
<div class="container-xl">
|
|
<div class="card">
|
|
<div class="table-responsive">
|
|
<table class="table table-vcenter card-table text-nowrap" id="showcars-table">
|
|
<thead>
|
|
<tr>
|
|
<th class="sort" data-sort="bidder-num">#</th>
|
|
<th class="sort" data-sort="lname">Last Name</th>
|
|
<th class="sort" data-sort="fname">First Name</th>
|
|
<th>Address</th>
|
|
<th>City</th>
|
|
<th>State</th>
|
|
<th>Zip</th>
|
|
<th>Phone</th>
|
|
<th>Email</th>
|
|
<th class="sort" data-sort="year">Year</th>
|
|
<th class="sort" data-sort="make">Make</th>
|
|
<th class="sort" data-sort="model">Model</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="list">
|
|
@foreach($showcarlist_results as $vehicle)
|
|
<tr>
|
|
<td class="bidder-num">{{ $vehicle->bidder_assigned_number }}</td>
|
|
<td class="lname">{{ $vehicle->bidder_lname }}</td>
|
|
<td class="fname">{{ $vehicle->bidder_fname }}</td>
|
|
<td>{{ $vehicle->bidder_addr }}</td>
|
|
<td>{{ $vehicle->bidder_city }}</td>
|
|
<td>{{ $vehicle->bidder_state }}</td>
|
|
<td>{{ $vehicle->bidder_zip }}</td>
|
|
<td>{{ \App\Helpers\PhoneHelper::format($vehicle->bidder_phone) }}</td>
|
|
<td>{{ $vehicle->bidder_email }}</td>
|
|
<td class="year">{{ $vehicle->year }}</td>
|
|
<td class="make">{{ $vehicle->make }}</td>
|
|
<td class="model">{{ $vehicle->model }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@section('js')
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/list.js/2.3.1/list.min.js"></script>
|
|
<script>
|
|
new List('showcars-table', {
|
|
valueNames: ['bidder-num', 'lname', 'fname', 'year', 'make', 'model']
|
|
});
|
|
</script>
|
|
@endsection
|
|
@push('js')
|
|
@endpush
|