belongsToThrough
WorkOrder
protected static bool $isGloballySearchable = false;
request()->route()
TextInput::make('country')->disabled()->dehydrated()
Tables\Columns\TextColumn::make('pivot.category.name') ->label('Category') ->badge() ->color(function (string $state, Account $record): string { return match ($record->pivot->category->colour) { 'red' => 'red', 'orange' => 'orange', 'yellow' => 'yellow', 'green' => 'green', 'blue' => 'blue', 'purple' => 'purple', 'pink' => 'pink', default => 'gray', }; }),
./resources/views/vendor/**/*.php