diff --git a/app/Filament/Resources/ProductionQuantityResource.php b/app/Filament/Resources/ProductionQuantityResource.php index dac4e29f..b9c0996e 100644 --- a/app/Filament/Resources/ProductionQuantityResource.php +++ b/app/Filament/Resources/ProductionQuantityResource.php @@ -958,14 +958,14 @@ class ProductionQuantityResource extends Resource return ($currentPage - 1) * $perPage + $rowLoop->iteration; }), - Tables\Columns\TextColumn::make('production_order') - ->label('Production Order') + Tables\Columns\TextColumn::make('plant.name') + ->label('Plant') ->alignCenter() - ->sortable(), // ->searchable(), - Tables\Columns\TextColumn::make('serial_number') - ->label('Serial Number') + ->sortable(), + Tables\Columns\TextColumn::make('line.name') + ->label('Line') ->alignCenter() - ->sortable(), // ->searchable(), + ->sortable(), Tables\Columns\TextColumn::make('item.code') ->label('Item Code') ->alignCenter() @@ -974,22 +974,22 @@ class ProductionQuantityResource extends Resource ->label('Unit of Measure') ->alignCenter() ->sortable(), - Tables\Columns\TextColumn::make('line.name') - ->label('Line') + Tables\Columns\TextColumn::make('production_order') + ->label('Production Order') ->alignCenter() - ->sortable(), - Tables\Columns\TextColumn::make('shift.block.name') - ->label('Block') + ->sortable(), // ->searchable(), + Tables\Columns\TextColumn::make('serial_number') + ->label('Serial Number') ->alignCenter() - ->sortable(), + ->sortable(), // ->searchable(), + // Tables\Columns\TextColumn::make('shift.block.name') + // ->label('Block') + // ->alignCenter() + // ->sortable(), Tables\Columns\TextColumn::make('shift.name') ->label('Shift') ->alignCenter() ->sortable(), - Tables\Columns\TextColumn::make('plant.name') - ->label('Plant') - ->alignCenter() - ->sortable(), Tables\Columns\TextColumn::make('sap_msg_status') ->label('SAP Message Status') ->alignCenter()