From eab6be34be5e325a29e9df3a8a2ebc25b551cb6d Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 20:49:19 -0400 Subject: [PATCH] award relation --- .../RelationManagers/AwardCategoryRelationManager.php | 1 + .../RelationManagers/AwardVehicleRelationManager.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardCategoryRelationManager.php b/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardCategoryRelationManager.php index b2aead0..200494e 100644 --- a/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardCategoryRelationManager.php +++ b/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardCategoryRelationManager.php @@ -31,6 +31,7 @@ class AwardCategoryRelationManager extends RelationManager return $table ->columns([ Tables\Columns\TextColumn::make('id'), + Tables\Columns\TextColumn::make('category_name'), ]) ->filters([ // diff --git a/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardVehicleRelationManager.php b/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardVehicleRelationManager.php index 7233b5c..49b7244 100644 --- a/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardVehicleRelationManager.php +++ b/app/Filament/Resources/CarShowWinnerResource/RelationManagers/AwardVehicleRelationManager.php @@ -30,7 +30,10 @@ class AwardVehicleRelationManager extends RelationManager { return $table ->columns([ - Tables\Columns\TextColumn::make('id'), + Tables\Columns\TextColumn::make('owner'), + Tables\Columns\TextColumn::make('year'), + Tables\Columns\TextColumn::make('make'), + Tables\Columns\TextColumn::make('model'), ]) ->filters([ //