fix: restore table-based layout and display owner data for showcars

This commit is contained in:
2026-05-01 12:19:39 -04:00
parent 0fd6a6c3e2
commit 7c88db310d
2 changed files with 29 additions and 8 deletions
+1 -1
View File
@@ -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;