fix pc relation

This commit is contained in:
Russ Long 2022-08-07 13:18:48 -04:00
parent 9ac36b7ab8
commit 0133c405a5

View File

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