Merge pull request 'commented relationship in line' (#1147) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 13s

Reviewed-on: #1147
This commit was merged in pull request #1147.
This commit is contained in:
2026-09-30 11:46:58 +00:00

View File

@@ -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');