changed table name in product characteristic master #1520

Merged
jothi merged 1 commits from ranjith-dev into master 2026-11-25 10:10:26 +00:00
Showing only changes of commit a82732c053 - Show all commits

View File

@@ -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()