forked from TFMM/silent-auction
feat: migrate final batch of views to tablar
This commit is contained in:
@@ -1,111 +1,39 @@
|
||||
@extends('layouts.app')
|
||||
@extends('tablar::page')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3>
|
||||
Show Car List
|
||||
</h3>
|
||||
<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">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Make</th>
|
||||
<th>Model</th>
|
||||
<th>Year</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($vehicles as $vehicle)
|
||||
<tr>
|
||||
<td>{{ $vehicle->make }}</td>
|
||||
<td>{{ $vehicle->model }}</td>
|
||||
<td>{{ $vehicle->year }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@if($showcarlist_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>
|
||||
<th>
|
||||
Year:
|
||||
</th>
|
||||
<th>
|
||||
Make:
|
||||
</th>
|
||||
<th>
|
||||
Model:
|
||||
</th>
|
||||
<th>
|
||||
Type:
|
||||
</th>
|
||||
</tr>
|
||||
@foreach($showcarlist_results as $showcarlist_result)
|
||||
<tr>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_assigned_number }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_lname }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_fname }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_addr }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_city }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_state }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_zip }}
|
||||
</td>
|
||||
<td>
|
||||
{{ \App\Helpers\PhoneHelper::format($showcarlist_result->bidder_phone) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->bidder_email }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->year }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->make }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->model }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $showcarlist_result->vehicles[0]->vehicleType->category_name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
@else
|
||||
<h3>
|
||||
No Bidders
|
||||
</h3>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user