From 01bd9b2a644e882e8a845c0723748c664cf60eca Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 30 Sep 2026 17:16:22 +0530 Subject: [PATCH] commented relationship in line --- app/Filament/Pages/ProductionTarget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Pages/ProductionTarget.php b/app/Filament/Pages/ProductionTarget.php index f53dce26..9e84523b 100644 --- a/app/Filament/Pages/ProductionTarget.php +++ b/app/Filament/Pages/ProductionTarget.php @@ -125,7 +125,7 @@ class ProductionTarget extends Page Select::make('line_id') ->label('Line') ->required() - ->relationship('line', 'name') + // ->relationship('line', 'name') // ->searchable() ->columnSpan(1) ->options(function (callable $get) { @@ -140,7 +140,7 @@ class ProductionTarget extends Page ->reactive() ->afterStateUpdated(function ($state, callable $get, $set) { $plantId = $get('plant_id'); - $lineId = $get('line_id'); + $lineId = $state; // $month = $get('month'); $year = $get('year');