From a82732c053d9f9f8418a2250d1a02a008abf9399 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 25 Nov 2026 15:40:08 +0530 Subject: [PATCH] changed table name in product characteristic master --- .../Resources/ProductCharacteristicsMasterResource.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/Filament/Resources/ProductCharacteristicsMasterResource.php b/app/Filament/Resources/ProductCharacteristicsMasterResource.php index 7bb818df..f306ce22 100644 --- a/app/Filament/Resources/ProductCharacteristicsMasterResource.php +++ b/app/Filament/Resources/ProductCharacteristicsMasterResource.php @@ -334,14 +334,7 @@ class ProductCharacteristicsMasterResource extends Resource return $table ->columns([ Tables\Columns\TextColumn::make('No.') - ->label('No.') - ->getStateUsing(function ($record, $livewire, $column, $rowLoop) { - $paginator = $livewire->getTableRecords(); - $perPage = method_exists($paginator, 'perPage') ? $paginator->perPage() : 10; - $currentPage = method_exists($paginator, 'currentPage') ? $paginator->currentPage() : 1; - - return ($currentPage - 1) * $perPage + $rowLoop->iteration; - }), + ->rowIndex(), Tables\Columns\TextColumn::make('plant.name') ->label('Plant Name') ->searchable() -- 2.49.1