Merge pull request 'Added doc no label name in production characteristic resource page' (#907) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 41s

Reviewed-on: #907
This commit was merged in pull request #907.
This commit is contained in:
2026-08-18 11:32:09 +00:00

View File

@@ -235,7 +235,7 @@ class ProductionCharacteristicResource extends Resource
->alignCenter() ->alignCenter()
->sortable(), ->sortable(),
Tables\Columns\TextColumn::make('production_order') Tables\Columns\TextColumn::make('production_order')
->label('Production Order') ->label('Production Order / Doc No')
->searchable() ->searchable()
->alignCenter() ->alignCenter()
->sortable(), ->sortable(),
@@ -280,15 +280,9 @@ class ProductionCharacteristicResource extends Resource
}) })
->alignCenter() ->alignCenter()
->sortable(), ->sortable(),
// Tables\Columns\TextColumn::make('inspection_status') // Tables\Columns\TextColumn::make('result')
// ->label('Inspection Status') // ->label('Result')
// ->searchable() // ->searchable()
// ->color(fn (string $state): string => match ($state) {
// 'Ok' => 'success',
// 'Not Ok' => 'danger',
// 'NotOk' => 'danger',
// default => 'gray',
// })
// ->alignCenter() // ->alignCenter()
// ->sortable(), // ->sortable(),
Tables\Columns\TextColumn::make('remark') Tables\Columns\TextColumn::make('remark')