forked from TFMM/silent-auction
fix: restore table-based layout and display owner data for showcars
This commit is contained in:
@@ -407,7 +407,7 @@ class PagesController extends Controller
|
||||
public function showcars(Request $showcar_req)
|
||||
{
|
||||
if (!$showcar_req->bidderlname) {
|
||||
$vehicles = \App\Models\Vehicles::all();
|
||||
$vehicles = \App\Models\Vehicles::with('vehicleOwner')->get();
|
||||
return view('showcars', ['vehicles' => $vehicles]);
|
||||
}
|
||||
$bidder_lname = $showcar_req->bidderlname;
|
||||
|
||||
Reference in New Issue
Block a user