nang cap san sang import
This commit is contained in:
@@ -26,6 +26,18 @@ class FeedbackTable
|
||||
->label('Product')
|
||||
->placeholder('General')
|
||||
->sortable(),
|
||||
TextColumn::make('contract.type')
|
||||
->label('Contract')
|
||||
->badge()
|
||||
->formatStateUsing(fn (?string $state): string => $state ? \App\Enums\ContractType::from($state)->label() : '-')
|
||||
->color(fn (?string $state): string => match ($state) {
|
||||
'sale' => 'success',
|
||||
'lease' => 'info',
|
||||
'bcc' => 'warning',
|
||||
default => 'gray',
|
||||
})
|
||||
->placeholder('-')
|
||||
->toggleable(),
|
||||
TextColumn::make('feedbackChannel.name')
|
||||
->label('Channel'),
|
||||
TextColumn::make('tags.name')
|
||||
|
||||
Reference in New Issue
Block a user