diff --git a/app/Filament/Resources/ProductionLineStopResource.php b/app/Filament/Resources/ProductionLineStopResource.php index a868abe..265ca57 100644 --- a/app/Filament/Resources/ProductionLineStopResource.php +++ b/app/Filament/Resources/ProductionLineStopResource.php @@ -45,7 +45,6 @@ class ProductionLineStopResource extends Resource public static function form(Form $form): Form { - return $form ->schema([ Section::make('') @@ -389,6 +388,10 @@ class ProductionLineStopResource extends Resource ->label('Line') ->alignCenter() ->sortable(), + Tables\Columns\TextColumn::make('shift.block.name') + ->label('Block') + ->alignCenter() + ->sortable(), Tables\Columns\TextColumn::make('shift.name') ->label('Shift') ->alignCenter() diff --git a/app/Filament/Resources/ProductionPlanResource.php b/app/Filament/Resources/ProductionPlanResource.php index da50b54..0afbe92 100644 --- a/app/Filament/Resources/ProductionPlanResource.php +++ b/app/Filament/Resources/ProductionPlanResource.php @@ -541,6 +541,10 @@ class ProductionPlanResource extends Resource ->label('Line') ->alignCenter() ->sortable(),// ->searchable(), + Tables\Columns\TextColumn::make('shift.block.name') + ->label('Block') + ->alignCenter() + ->sortable(), Tables\Columns\TextColumn::make('shift.name') ->label('Shift') ->alignCenter() diff --git a/app/Filament/Resources/ProductionQuantityResource.php b/app/Filament/Resources/ProductionQuantityResource.php index f887d8d..612eed1 100644 --- a/app/Filament/Resources/ProductionQuantityResource.php +++ b/app/Filament/Resources/ProductionQuantityResource.php @@ -974,6 +974,10 @@ class ProductionQuantityResource extends Resource ->label('Line') ->alignCenter() ->sortable(), + Tables\Columns\TextColumn::make('shift.block.name') + ->label('Block') + ->alignCenter() + ->sortable(), Tables\Columns\TextColumn::make('shift.name') ->label('Shift') ->alignCenter()