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
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:
@@ -125,7 +125,7 @@ class ProductionTarget extends Page
|
|||||||
Select::make('line_id')
|
Select::make('line_id')
|
||||||
->label('Line')
|
->label('Line')
|
||||||
->required()
|
->required()
|
||||||
->relationship('line', 'name')
|
// ->relationship('line', 'name')
|
||||||
// ->searchable()
|
// ->searchable()
|
||||||
->columnSpan(1)
|
->columnSpan(1)
|
||||||
->options(function (callable $get) {
|
->options(function (callable $get) {
|
||||||
@@ -140,7 +140,7 @@ class ProductionTarget extends Page
|
|||||||
->reactive()
|
->reactive()
|
||||||
->afterStateUpdated(function ($state, callable $get, $set) {
|
->afterStateUpdated(function ($state, callable $get, $set) {
|
||||||
$plantId = $get('plant_id');
|
$plantId = $get('plant_id');
|
||||||
$lineId = $get('line_id');
|
$lineId = $state;
|
||||||
// $month = $get('month');
|
// $month = $get('month');
|
||||||
$year = $get('year');
|
$year = $get('year');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user