fix vehicle relation

This commit is contained in:
Russ Long 2022-08-07 13:18:06 -04:00
parent e5b7b58cc8
commit 9ac36b7ab8

View File

@ -44,10 +44,10 @@ class PeoplesChoiceResource extends Resource
return $table
->columns([
TextColumn::make('pc_count')->label('PC Vote Count'),
TextColumn::make('awardVehicle.owner')->label('Vehicle Number'),
TextColumn::make('awardVehicle.year')->label('Year'),
TextColumn::make('awardVehicle.make')->label('Make'),
TextColumn::make('awardVehicle.model')->label('Model'),
TextColumn::make('vehicle.owner')->label('Vehicle Number'),
TextColumn::make('vehicle.year')->label('Year'),
TextColumn::make('vehicle.make')->label('Make'),
TextColumn::make('vehicle.model')->label('Model'),
])
->filters([
//