ranjith-dev #1148

Merged
jothi merged 2 commits from ranjith-dev into master 2026-09-30 13:50:25 +00:00
66 changed files with 666 additions and 172 deletions

View File

@@ -332,6 +332,8 @@ class ClassCharacteristicExporter extends Exporter
->label('MARKED BY'), ->label('MARKED BY'),
ExportColumn::make('man_marked_status') ExportColumn::make('man_marked_status')
->label('MANUAL MARKED PHYSICAL COUNT'), ->label('MANUAL MARKED PHYSICAL COUNT'),
ExportColumn::make('man_marked_expected_time')
->label('MANUAL MARKED EXPECTED TIME'),
ExportColumn::make('man_marked_datetime') ExportColumn::make('man_marked_datetime')
->label('MANUAL MARKED DATETIME'), ->label('MANUAL MARKED DATETIME'),
ExportColumn::make('man_marked_by') ExportColumn::make('man_marked_by')

View File

@@ -611,6 +611,10 @@ class ClassCharacteristicImporter extends Importer
->label('MANUAL MARKED PHYSICAL COUNT') ->label('MANUAL MARKED PHYSICAL COUNT')
->exampleHeader('MANUAL MARKED STATUS') ->exampleHeader('MANUAL MARKED STATUS')
->example('0'), ->example('0'),
ImportColumn::make('man_marked_expected_time')
->label('MANUAL MARKED EXPECTED TIME')
->exampleHeader('MANUAL MARKED EXPECTED TIME')
->example('0'),
ImportColumn::make('man_marked_datetime') ImportColumn::make('man_marked_datetime')
->label('MANUAL MARKED DATETIME') ->label('MANUAL MARKED DATETIME')
->exampleHeader('MANUAL MARKED DATETIME') ->exampleHeader('MANUAL MARKED DATETIME')

File diff suppressed because it is too large Load Diff

View File

@@ -124,7 +124,7 @@ class TempClassCharacteristicResource extends Resource
->reactive() ->reactive()
->minLength(7) ->minLength(7)
->maxLength(10) ->maxLength(10)
->readOnly(fn (callable $get) => (! $get('plant_id') || ! $get('machine_id') || ! $get('item_id'))) ->readOnly(fn (Get $get) => (! $get('plant_id') || ! $get('machine_id') || ! $get('item_id') || $get('id')))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
@@ -132,6 +132,7 @@ class TempClassCharacteristicResource extends Resource
Forms\Components\TextInput::make('model_type') Forms\Components\TextInput::make('model_type')
->label('MODEL TYPE') ->label('MODEL TYPE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
@@ -142,12 +143,12 @@ class TempClassCharacteristicResource extends Resource
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
->readOnly(fn (callable $get) => (! $get('aufnr'))) ->readOnly(fn (Get $get) => (! $get('aufnr') || $get('id')))
->required(), ->required(),
Forms\Components\TextInput::make('arbid') Forms\Components\TextInput::make('arbid')
->label('ARBID') ->label('ARBID')
->reactive() ->reactive()
->readOnly(fn (callable $get) => (! $get('class'))) ->readOnly(fn (Get $get) => (! $get('class') || $get('id')))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
@@ -157,7 +158,7 @@ class TempClassCharacteristicResource extends Resource
->reactive() ->reactive()
->numeric() ->numeric()
->minValue(1.000) ->minValue(1.000)
->readOnly(fn (callable $get) => (! $get('arbid'))) ->readOnly(fn (Get $get) => (! $get('arbid') || $get('id')))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
@@ -168,7 +169,7 @@ class TempClassCharacteristicResource extends Resource
->integer() ->integer()
->minValue(1) ->minValue(1)
->maxValue(fn (callable $get) => ($get('gamng') ?? 1)) ->maxValue(fn (callable $get) => ($get('gamng') ?? 1))
->readOnly(fn (callable $get) => (! $get('gamng'))) ->readOnly(fn (Get $get) => (! $get('gamng') || $get('id')))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
@@ -177,7 +178,7 @@ class TempClassCharacteristicResource extends Resource
->label('GERNR') ->label('GERNR')
->reactive() ->reactive()
->minLength(13) ->minLength(13)
->readOnly(fn (callable $get) => (! $get('lmnga'))) ->readOnly(fn (Get $get) => (! $get('lmnga') || $get('id')))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
@@ -203,91 +204,105 @@ class TempClassCharacteristicResource extends Resource
Forms\Components\TextInput::make('zz1_cn_bill_ord') Forms\Components\TextInput::make('zz1_cn_bill_ord')
->label('ZZ1 CN BILL ORD') ->label('ZZ1 CN BILL ORD')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_amps') Forms\Components\TextInput::make('zmm_amps')
->label('ZMM AMPS') ->label('ZMM AMPS')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_brand') Forms\Components\TextInput::make('zmm_brand')
->label('ZMM BRAND') ->label('ZMM BRAND')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_degreeofprotection') Forms\Components\TextInput::make('zmm_degreeofprotection')
->label('ZMM DEGREEOFPROTECTION') ->label('ZMM DEGREEOFPROTECTION')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_delivery') Forms\Components\TextInput::make('zmm_delivery')
->label('ZMM DELIVERY') ->label('ZMM DELIVERY')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_dir_rot') Forms\Components\TextInput::make('zmm_dir_rot')
->label('ZMM DIR ROT') ->label('ZMM DIR ROT')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_discharge') Forms\Components\TextInput::make('zmm_discharge')
->label('ZMM DISCHARGE') ->label('ZMM DISCHARGE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_discharge_max') Forms\Components\TextInput::make('zmm_discharge_max')
->label('ZMM DISCHARGE MAX') ->label('ZMM DISCHARGE MAX')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_discharge_min') Forms\Components\TextInput::make('zmm_discharge_min')
->label('ZMM DISCHARGE MIN') ->label('ZMM DISCHARGE MIN')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_duty') Forms\Components\TextInput::make('zmm_duty')
->label('ZMM DUTY') ->label('ZMM DUTY')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_eff_motor') Forms\Components\TextInput::make('zmm_eff_motor')
->label('ZMM EFF MOTOR') ->label('ZMM EFF MOTOR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_eff_pump') Forms\Components\TextInput::make('zmm_eff_pump')
->label('ZMM EFF PUMP') ->label('ZMM EFF PUMP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_frequency') Forms\Components\TextInput::make('zmm_frequency')
->label('ZMM FREQUENCY') ->label('ZMM FREQUENCY')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_head') Forms\Components\TextInput::make('zmm_head')
->label('ZMM HEAD') ->label('ZMM HEAD')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_heading') Forms\Components\TextInput::make('zmm_heading')
->label('ZMM HEADING') ->label('ZMM HEADING')
->reactive() ->reactive()
->readOnly(fn (callable $get) => (! $get('aufnr') || ! $get('gernr'))) ->readOnly(fn (Get $get) => ($get('id') || ! $get('aufnr') || ! $get('gernr')))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}) })
@@ -295,714 +310,833 @@ class TempClassCharacteristicResource extends Resource
Forms\Components\TextInput::make('zmm_head_max') Forms\Components\TextInput::make('zmm_head_max')
->label('ZMM HEAD MAX') ->label('ZMM HEAD MAX')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_head_minimum') Forms\Components\TextInput::make('zmm_head_minimum')
->label('ZMM HEAD MINIMUM') ->label('ZMM HEAD MINIMUM')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_idx_eff_mtr') Forms\Components\TextInput::make('zmm_idx_eff_mtr')
->label('ZMM IDX EFF MTR') ->label('ZMM IDX EFF MTR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_idx_eff_pump') Forms\Components\TextInput::make('zmm_idx_eff_pump')
->label('ZMM IDX EFF PUMP') ->label('ZMM IDX EFF PUMP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_kvacode') Forms\Components\TextInput::make('zmm_kvacode')
->label('ZMM KVACODE') ->label('ZMM KVACODE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_maxambtemp') Forms\Components\TextInput::make('zmm_maxambtemp')
->label('ZMM MAXAMBTEMP') ->label('ZMM MAXAMBTEMP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_mincoolingflow') Forms\Components\TextInput::make('zmm_mincoolingflow')
->label('ZMM MINCOOLINGFLOW') ->label('ZMM MINCOOLINGFLOW')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_motorseries') Forms\Components\TextInput::make('zmm_motorseries')
->label('ZMM MOTORSERIES') ->label('ZMM MOTORSERIES')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_motor_model') Forms\Components\TextInput::make('zmm_motor_model')
->label('ZMM MOTOR MODEL') ->label('ZMM MOTOR MODEL')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_outlet') Forms\Components\TextInput::make('zmm_outlet')
->label('ZMM OUTLET') ->label('ZMM OUTLET')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_phase') Forms\Components\TextInput::make('zmm_phase')
->label('ZMM PHASE') ->label('ZMM PHASE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_pressure') Forms\Components\TextInput::make('zmm_pressure')
->label('ZMM PRESSURE') ->label('ZMM PRESSURE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_pumpflowtype') Forms\Components\TextInput::make('zmm_pumpflowtype')
->label('ZMM PUMPFLOWTYPE') ->label('ZMM PUMPFLOWTYPE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_pumpseries') Forms\Components\TextInput::make('zmm_pumpseries')
->label('ZMM PUMPSERIES') ->label('ZMM PUMPSERIES')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_pump_model') Forms\Components\TextInput::make('zmm_pump_model')
->label('ZMM PUMP MODEL') ->label('ZMM PUMP MODEL')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_ratedpower') Forms\Components\TextInput::make('zmm_ratedpower')
->label('ZMM RATEDPOWER') ->label('ZMM RATEDPOWER')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_region') Forms\Components\TextInput::make('zmm_region')
->label('ZMM REGION') ->label('ZMM REGION')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_servicefactor') Forms\Components\TextInput::make('zmm_servicefactor')
->label('ZMM SERVICEFACTOR') ->label('ZMM SERVICEFACTOR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_servicefactormaximumamps') Forms\Components\TextInput::make('zmm_servicefactormaximumamps')
->label('ZMM SERVICEFACTORMAXIMUMAMPS') ->label('ZMM SERVICEFACTORMAXIMUMAMPS')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_speed') Forms\Components\TextInput::make('zmm_speed')
->label('ZMM SPEED') ->label('ZMM SPEED')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_suction') Forms\Components\TextInput::make('zmm_suction')
->label('ZMM SUCTION') ->label('ZMM SUCTION')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_suctionxdelivery') Forms\Components\TextInput::make('zmm_suctionxdelivery')
->label('ZMM SUCTIONXDELIVERY') ->label('ZMM SUCTIONXDELIVERY')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_supplysource') Forms\Components\TextInput::make('zmm_supplysource')
->label('ZMM SUPPLYSOURCE') ->label('ZMM SUPPLYSOURCE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_temperature') Forms\Components\TextInput::make('zmm_temperature')
->label('ZMM TEMPERATURE') ->label('ZMM TEMPERATURE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_thrustload') Forms\Components\TextInput::make('zmm_thrustload')
->label('ZMM THRUSTLOAD') ->label('ZMM THRUSTLOAD')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_volts') Forms\Components\TextInput::make('zmm_volts')
->label('ZMM VOLTS') ->label('ZMM VOLTS')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_wire') Forms\Components\TextInput::make('zmm_wire')
->label('ZMM WIRE') ->label('ZMM WIRE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_package') Forms\Components\TextInput::make('zmm_package')
->label('ZMM PACKAGE') ->label('ZMM PACKAGE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_pvarrayrating') Forms\Components\TextInput::make('zmm_pvarrayrating')
->label('ZMM PVARRAYRATING') ->label('ZMM PVARRAYRATING')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_isi') Forms\Components\TextInput::make('zmm_isi')
->label('ZMM ISI') ->label('ZMM ISI')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_isimotor') Forms\Components\TextInput::make('zmm_isimotor')
->label('ZMM ISIMOTOR') ->label('ZMM ISIMOTOR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_isipump') Forms\Components\TextInput::make('zmm_isipump')
->label('ZMM ISIPUMP') ->label('ZMM ISIPUMP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_isipumpset') Forms\Components\TextInput::make('zmm_isipumpset')
->label('ZMM ISIPUMPSET') ->label('ZMM ISIPUMPSET')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_pumpset_model') Forms\Components\TextInput::make('zmm_pumpset_model')
->label('ZMM PUMPSET MODEL') ->label('ZMM PUMPSET MODEL')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_stages') Forms\Components\TextInput::make('zmm_stages')
->label('ZMM STAGES') ->label('ZMM STAGES')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_headrange') Forms\Components\TextInput::make('zmm_headrange')
->label('ZMM HEADRANGE') ->label('ZMM HEADRANGE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_overall_efficiency') Forms\Components\TextInput::make('zmm_overall_efficiency')
->label('ZMM OVERALL EFFICIENCY') ->label('ZMM OVERALL EFFICIENCY')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_connection') Forms\Components\TextInput::make('zmm_connection')
->label('ZMM CONNECTION') ->label('ZMM CONNECTION')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_min_bore_size') Forms\Components\TextInput::make('zmm_min_bore_size')
->label('ZMM MIN BORE SIZE') ->label('ZMM MIN BORE SIZE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_isireference') Forms\Components\TextInput::make('zmm_isireference')
->label('ZMM ISIREFERENCE') ->label('ZMM ISIREFERENCE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_category') Forms\Components\TextInput::make('zmm_category')
->label('ZMM CATEGORY') ->label('ZMM CATEGORY')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_submergence') Forms\Components\TextInput::make('zmm_submergence')
->label('ZMM SUBMERGENCE') ->label('ZMM SUBMERGENCE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_capacitorstart') Forms\Components\TextInput::make('zmm_capacitorstart')
->label('ZMM CAPACITORSTART') ->label('ZMM CAPACITORSTART')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_capacitorrun') Forms\Components\TextInput::make('zmm_capacitorrun')
->label('ZMM CAPACITORRUN') ->label('ZMM CAPACITORRUN')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_inch') Forms\Components\TextInput::make('zmm_inch')
->label('ZMM INCH') ->label('ZMM INCH')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_motor_type') Forms\Components\TextInput::make('zmm_motor_type')
->label('ZMM MOTOR TYPE') ->label('ZMM MOTOR TYPE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_dismantle_direction') Forms\Components\TextInput::make('zmm_dismantle_direction')
->label('ZMM DISMANTLE DIRECTION') ->label('ZMM DISMANTLE DIRECTION')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_eff_ovrall') Forms\Components\TextInput::make('zmm_eff_ovrall')
->label('ZMM EFF OVRALL') ->label('ZMM EFF OVRALL')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_bodymoc') Forms\Components\TextInput::make('zmm_bodymoc')
->label('ZMM BODYMOC') ->label('ZMM BODYMOC')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_rotormoc') Forms\Components\TextInput::make('zmm_rotormoc')
->label('ZMM ROTORMOC') ->label('ZMM ROTORMOC')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_dlwl') Forms\Components\TextInput::make('zmm_dlwl')
->label('ZMM DLWL') ->label('ZMM DLWL')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_inputpower') Forms\Components\TextInput::make('zmm_inputpower')
->label('ZMM INPUTPOWER') ->label('ZMM INPUTPOWER')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_imp_od') Forms\Components\TextInput::make('zmm_imp_od')
->label('ZMM IMP OD') ->label('ZMM IMP OD')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_ambtemp') Forms\Components\TextInput::make('zmm_ambtemp')
->label('ZMM AMBTEMP') ->label('ZMM AMBTEMP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_de') Forms\Components\TextInput::make('zmm_de')
->label('ZMM DE') ->label('ZMM DE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_dischargerange') Forms\Components\TextInput::make('zmm_dischargerange')
->label('ZMM DISCHARGERANGE') ->label('ZMM DISCHARGERANGE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_efficiency_class') Forms\Components\TextInput::make('zmm_efficiency_class')
->label('ZMM EFFICIENCY CLASS') ->label('ZMM EFFICIENCY CLASS')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_framesize') Forms\Components\TextInput::make('zmm_framesize')
->label('ZMM FRAMESIZE') ->label('ZMM FRAMESIZE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_impellerdiameter') Forms\Components\TextInput::make('zmm_impellerdiameter')
->label('ZMM IMPELLERDIAMETER') ->label('ZMM IMPELLERDIAMETER')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_insulationclass') Forms\Components\TextInput::make('zmm_insulationclass')
->label('ZMM INSULATIONCLASS') ->label('ZMM INSULATIONCLASS')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_maxflow') Forms\Components\TextInput::make('zmm_maxflow')
->label('ZMM MAXFLOW') ->label('ZMM MAXFLOW')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_minhead') Forms\Components\TextInput::make('zmm_minhead')
->label('ZMM MINHEAD') ->label('ZMM MINHEAD')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_mtrlofconst') Forms\Components\TextInput::make('zmm_mtrlofconst')
->label('ZMM MTRLOFCONST') ->label('ZMM MTRLOFCONST')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_nde') Forms\Components\TextInput::make('zmm_nde')
->label('ZMM NDE') ->label('ZMM NDE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_powerfactor') Forms\Components\TextInput::make('zmm_powerfactor')
->label('ZMM POWERFACTOR') ->label('ZMM POWERFACTOR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_tagno') Forms\Components\TextInput::make('zmm_tagno')
->label('ZMM TAGNO') ->label('ZMM TAGNO')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_year') Forms\Components\TextInput::make('zmm_year')
->label('ZMM YEAR') ->label('ZMM YEAR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_laser_name') Forms\Components\TextInput::make('zmm_laser_name')
->label('ZMM LASER NAME') ->label('ZMM LASER NAME')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_logo_cp') Forms\Components\TextInput::make('zmm_logo_cp')
->label('ZMM LOGO CP') ->label('ZMM LOGO CP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_logo_ce') Forms\Components\TextInput::make('zmm_logo_ce')
->label('ZMM LOGO CE') ->label('ZMM LOGO CE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_logo_nsf') Forms\Components\TextInput::make('zmm_logo_nsf')
->label('ZMM LOGO NSF') ->label('ZMM LOGO NSF')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_logo_eac') Forms\Components\TextInput::make('zmm_logo_eac')
->label('ZMM LOGO EAC') ->label('ZMM LOGO EAC')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_beenote') Forms\Components\TextInput::make('zmm_beenote')
->label('ZMM BEENOTE') ->label('ZMM BEENOTE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_beenumber') Forms\Components\TextInput::make('zmm_beenumber')
->label('ZMM BEENUMBER') ->label('ZMM BEENUMBER')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_beestar') Forms\Components\TextInput::make('zmm_beestar')
->label('ZMM BEESTAR') ->label('ZMM BEESTAR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_codeclass') Forms\Components\TextInput::make('zmm_codeclass')
->label('ZMM CODECLASS') ->label('ZMM CODECLASS')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_colour') Forms\Components\TextInput::make('zmm_colour')
->label('ZMM COLOUR') ->label('ZMM COLOUR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_grade') Forms\Components\TextInput::make('zmm_grade')
->label('ZMM GRADE') ->label('ZMM GRADE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_grwt_pset') Forms\Components\TextInput::make('zmm_grwt_pset')
->label('ZMM GRWT PSET') ->label('ZMM GRWT PSET')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_grwt_cable') Forms\Components\TextInput::make('zmm_grwt_cable')
->label('ZMM GRWT CABLE') ->label('ZMM GRWT CABLE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_grwt_motor') Forms\Components\TextInput::make('zmm_grwt_motor')
->label('ZMM GRWT MOTOR') ->label('ZMM GRWT MOTOR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_grwt_pf') Forms\Components\TextInput::make('zmm_grwt_pf')
->label('ZMM GRWT PF') ->label('ZMM GRWT PF')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_grwt_pump') Forms\Components\TextInput::make('zmm_grwt_pump')
->label('ZMM GRWT PUMP') ->label('ZMM GRWT PUMP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_isivalve') Forms\Components\TextInput::make('zmm_isivalve')
->label('ZMM ISIVALVE') ->label('ZMM ISIVALVE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_isi_wc') Forms\Components\TextInput::make('zmm_isi_wc')
->label('ZMM ISI WC') ->label('ZMM ISI WC')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_labelperiod') Forms\Components\TextInput::make('zmm_labelperiod')
->label('ZMM LABELPERIOD') ->label('ZMM LABELPERIOD')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_length') Forms\Components\TextInput::make('zmm_length')
->label('ZMM LENGTH') ->label('ZMM LENGTH')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_license_cml_no') Forms\Components\TextInput::make('zmm_license_cml_no')
->label('ZMM LICENSE CML NO') ->label('ZMM LICENSE CML NO')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_mfgmonyr') Forms\Components\TextInput::make('zmm_mfgmonyr')
->label('ZMM MFGMONYR') ->label('ZMM MFGMONYR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_modelyear') Forms\Components\TextInput::make('zmm_modelyear')
->label('ZMM MODELYEAR') ->label('ZMM MODELYEAR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_motoridentification') Forms\Components\TextInput::make('zmm_motoridentification')
->label('ZMM MOTORIDENTIFICATION') ->label('ZMM MOTORIDENTIFICATION')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_newt_pset') Forms\Components\TextInput::make('zmm_newt_pset')
->label('ZMM NEWT PSET') ->label('ZMM NEWT PSET')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_newt_cable') Forms\Components\TextInput::make('zmm_newt_cable')
->label('ZMM NEWT CABLE') ->label('ZMM NEWT CABLE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_newt_motor') Forms\Components\TextInput::make('zmm_newt_motor')
->label('ZMM NEWT MOTOR') ->label('ZMM NEWT MOTOR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_newt_pf') Forms\Components\TextInput::make('zmm_newt_pf')
->label('ZMM NEWT PF') ->label('ZMM NEWT PF')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_newt_pump') Forms\Components\TextInput::make('zmm_newt_pump')
->label('ZMM NEWT PUMP') ->label('ZMM NEWT PUMP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_packtype') Forms\Components\TextInput::make('zmm_packtype')
->label('ZMM PACKTYPE') ->label('ZMM PACKTYPE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_panel') Forms\Components\TextInput::make('zmm_panel')
->label('ZMM PANEL') ->label('ZMM PANEL')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_performance_factor') Forms\Components\TextInput::make('zmm_performance_factor')
->label('ZMM PERFORMANCE_FACTOR') ->label('ZMM PERFORMANCE_FACTOR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_pumpidentification') Forms\Components\TextInput::make('zmm_pumpidentification')
->label('ZMM PUMPIDENTIFICATION') ->label('ZMM PUMPIDENTIFICATION')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_psettype') Forms\Components\TextInput::make('zmm_psettype')
->label('ZMM PSETTYPE') ->label('ZMM PSETTYPE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_size') Forms\Components\TextInput::make('zmm_size')
->label('ZMM SIZE') ->label('ZMM SIZE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_eff_ttl') Forms\Components\TextInput::make('zmm_eff_ttl')
->label('ZMM EFF TTL') ->label('ZMM EFF TTL')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_type') Forms\Components\TextInput::make('zmm_type')
->label('ZMM TYPE') ->label('ZMM TYPE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_usp') Forms\Components\TextInput::make('zmm_usp')
->label('ZMM USP') ->label('ZMM USP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_operating_range') Forms\Components\TextInput::make('zmm_operating_range')
->label('ZMM OPERATING RANGE') ->label('ZMM OPERATING RANGE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_intake_air') Forms\Components\TextInput::make('zmm_intake_air')
->label('ZMM INTAKE AIR') ->label('ZMM INTAKE AIR')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_oxygen_transfer_rate') Forms\Components\TextInput::make('zmm_oxygen_transfer_rate')
->label('ZMM OXYGEN TRANSFER RATE') ->label('ZMM OXYGEN TRANSFER RATE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_air_inlet_pipesize') Forms\Components\TextInput::make('zmm_air_inlet_pipesize')
->label('ZMM AIR INLET PIPESIZE') ->label('ZMM AIR INLET PIPESIZE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_sump_depth') Forms\Components\TextInput::make('zmm_sump_depth')
->label('ZMM SUMP DEPTH') ->label('ZMM SUMP DEPTH')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_poles') Forms\Components\TextInput::make('zmm_poles')
->label('ZMM POLES') ->label('ZMM POLES')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_motor_heading') Forms\Components\TextInput::make('zmm_motor_heading')
->label('ZMM MOTOR HEADING') ->label('ZMM MOTOR HEADING')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_motor_speed') Forms\Components\TextInput::make('zmm_motor_speed')
->label('ZMM MOTOR SPEED') ->label('ZMM MOTOR SPEED')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zqmm_qty') Forms\Components\TextInput::make('zqmm_qty')
->label('ZQMM QTY') ->label('ZQMM QTY')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_operating_temperature') Forms\Components\TextInput::make('zmm_operating_temperature')
->label('ZMM OPERATING TEMPERATURE') ->label('ZMM OPERATING TEMPERATURE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_axial_force') Forms\Components\TextInput::make('zmm_axial_force')
->label('ZMM AXIAL FORCE') ->label('ZMM AXIAL FORCE')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('zmm_mrp') Forms\Components\TextInput::make('zmm_mrp')
->label('ZMM MRP') ->label('ZMM MRP')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('winded_serial_number') Forms\Components\TextInput::make('winded_serial_number')
->label('WINDED SERIAL NUMBER') ->label('WINDED SERIAL NUMBER')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),
Forms\Components\TextInput::make('has_work_flow_id') Forms\Components\TextInput::make('has_work_flow_id')
->label('HAS WORK FLOW ID') ->label('HAS WORK FLOW ID')
->reactive() ->reactive()
->readOnly(fn (Get $get) => $get('id'))
->afterStateUpdated(function (callable $set) { ->afterStateUpdated(function (callable $set) {
$set('updated_by', Filament::auth()->user()?->name); $set('updated_by', Filament::auth()->user()?->name);
}), }),

View File

@@ -1736,9 +1736,12 @@ class CharacteristicsController extends Controller
$curRewWind = ($char['winded_rework_status'] == '1') ? '1' : $curRewWind; $curRewWind = ($char['winded_rework_status'] == '1') ? '1' : $curRewWind;
$manStat = (intval($curStat->man_marked_status ?? 0) ?: 0) + 1; $manStat = (intval($curStat->man_marked_status ?? 0) ?: 0) + 1;
$manExpecTim = (floatval($curStat->man_marked_expected_time ?? 0.0) ?: 0.0) + $expectedTime;
// $manStat = ($curStat->man_marked_status == null || $curStat->man_marked_status == '' || $curStat->man_marked_status == '0') ? 0 : (int) $curStat->man_marked_status; // $manStat = ($curStat->man_marked_status == null || $curStat->man_marked_status == '' || $curStat->man_marked_status == '0') ? 0 : (int) $curStat->man_marked_status;
$values = [ $values = [
'man_marked_status' => (string) $manStat, 'man_marked_status' => (string) $manStat,
'man_marked_expected_time' => (string) $manExpecTim,
'man_marked_datetime' => empty($char['man_marked_datetime']) ? now() : $char['man_marked_datetime'], 'man_marked_datetime' => empty($char['man_marked_datetime']) ? now() : $char['man_marked_datetime'],
'man_marked_by' => (($char['man_marked_by'] == 'jothi') ? 'Admin' : $char['man_marked_by']) ?? $curManualMarkBy, 'man_marked_by' => (($char['man_marked_by'] == 'jothi') ? 'Admin' : $char['man_marked_by']) ?? $curManualMarkBy,
'winded_serial_number' => empty($char['winded_serial_number']) ? $curWindNo : $char['winded_serial_number'], 'winded_serial_number' => empty($char['winded_serial_number']) ? $curWindNo : $char['winded_serial_number'],
@@ -2445,7 +2448,7 @@ class CharacteristicsController extends Controller
} }
} }
$availFields = ['class', 'arbid', 'gamng', 'lmnga', 'zz1_cn_bill_ord', 'zmm_amps', 'zmm_brand', 'zmm_degreeofprotection', 'zmm_delivery', 'zmm_dir_rot', 'zmm_discharge', 'zmm_discharge_max', 'zmm_discharge_min', 'zmm_duty', 'zmm_eff_motor', 'zmm_eff_pump', 'zmm_frequency', 'zmm_head', 'zmm_heading', 'zmm_head_max', 'zmm_head_minimum', 'zmm_idx_eff_mtr', 'zmm_idx_eff_pump', 'zmm_kvacode', 'zmm_maxambtemp', 'zmm_mincoolingflow', 'zmm_motorseries', 'zmm_motor_model', 'zmm_outlet', 'zmm_phase', 'zmm_pressure', 'zmm_pumpflowtype', 'zmm_pumpseries', 'zmm_pump_model', 'zmm_ratedpower', 'zmm_region', 'zmm_servicefactor', 'zmm_servicefactormaximumamps', 'zmm_speed', 'zmm_suction', 'zmm_suctionxdelivery', 'zmm_supplysource', 'zmm_temperature', 'zmm_thrustload', 'zmm_volts', 'zmm_wire', 'zmm_package', 'zmm_pvarrayrating', 'zmm_isi', 'zmm_isimotor', 'zmm_isipump', 'zmm_isipumpset', 'zmm_pumpset_model', 'zmm_stages', 'zmm_headrange', 'zmm_overall_efficiency', 'zmm_connection', 'zmm_min_bore_size', 'zmm_isireference', 'zmm_category', 'zmm_submergence', 'zmm_capacitorstart', 'zmm_capacitorrun', 'zmm_inch', 'zmm_motor_type', 'zmm_dismantle_direction', 'zmm_eff_ovrall', 'zmm_bodymoc', 'zmm_rotormoc', 'zmm_dlwl', 'zmm_inputpower', 'zmm_imp_od', 'zmm_ambtemp', 'zmm_de', 'zmm_dischargerange', 'zmm_efficiency_class', 'zmm_framesize', 'zmm_impellerdiameter', 'zmm_insulationclass', 'zmm_maxflow', 'zmm_minhead', 'zmm_mtrlofconst', 'zmm_nde', 'zmm_powerfactor', 'zmm_tagno', 'zmm_year', 'zmm_laser_name', 'zmm_logo_cp', 'zmm_logo_ce', 'zmm_logo_nsf', 'zmm_logo_eac', 'zmm_grwt_motor', 'zmm_grwt_pump', 'zmm_grwt_pset', 'zmm_grwt_cable', 'zmm_grwt_pf', 'zmm_newt_motor', 'zmm_newt_pump', 'zmm_newt_pset', 'zmm_newt_cable', 'zmm_newt_pf', 'zmm_operating_range', 'zmm_intake_air', 'zmm_oxygen_transfer_rate', 'zmm_air_inlet_pipesize', 'zmm_sump_depth', 'zmm_poles', 'zmm_motor_heading', 'zmm_motor_speed', 'zmm_beenote', 'zmm_beenumber', 'zmm_beestar', 'zmm_eff_ttl', 'zmm_labelperiod', 'zmm_modelyear', 'zmm_performance_factor', 'zqmm_qty', 'zmm_operating_temperature', 'zmm_axial_force', 'zmm_codeclass', 'zmm_colour', 'zmm_grade', 'zmm_isivalve', 'zmm_isi_wc', 'zmm_length', 'zmm_license_cml_no', 'zmm_mfgmonyr', 'zmm_motoridentification', 'zmm_packtype', 'zmm_panel', 'zmm_pumpidentification', 'zmm_psettype', 'zmm_size', 'zmm_type', 'zmm_usp', 'zmm_mrp', 'marked_datetime', 'marked_by', 'motor_pump_pumpset_status', 'motor_machine_name', 'pump_machine_name', 'name_plate_machine_name', 'pending_released_status', 'has_work_flow_id', 'motor_stop_flow_id', 'pump_stop_flow_id', 'name_plate_stop_flow_id']; // 'mark_status','marked_physical_count', 'marked_expected_time', 'man_marked_status', 'man_marked_datetime', 'man_marked_by', 'motor_marked_status', 'motor_marked_physical_count', 'motor_expected_time', 'motor_marked_datetime', 'motor_marked_by', 'pump_marked_status', 'pump_marked_physical_count', 'pump_expected_time', 'pump_marked_datetime', 'pump_marked_by', 'name_plate_marked_status', 'name_plate_expected_time', 'name_plate_marked_datetime', 'name_plate_marked_by', 'winded_serial_number', 'winded_rework_status', 'part_validation_1', 'part_validation_2', 'samlight_logged_name' $availFields = ['class', 'arbid', 'gamng', 'lmnga', 'zz1_cn_bill_ord', 'zmm_amps', 'zmm_brand', 'zmm_degreeofprotection', 'zmm_delivery', 'zmm_dir_rot', 'zmm_discharge', 'zmm_discharge_max', 'zmm_discharge_min', 'zmm_duty', 'zmm_eff_motor', 'zmm_eff_pump', 'zmm_frequency', 'zmm_head', 'zmm_heading', 'zmm_head_max', 'zmm_head_minimum', 'zmm_idx_eff_mtr', 'zmm_idx_eff_pump', 'zmm_kvacode', 'zmm_maxambtemp', 'zmm_mincoolingflow', 'zmm_motorseries', 'zmm_motor_model', 'zmm_outlet', 'zmm_phase', 'zmm_pressure', 'zmm_pumpflowtype', 'zmm_pumpseries', 'zmm_pump_model', 'zmm_ratedpower', 'zmm_region', 'zmm_servicefactor', 'zmm_servicefactormaximumamps', 'zmm_speed', 'zmm_suction', 'zmm_suctionxdelivery', 'zmm_supplysource', 'zmm_temperature', 'zmm_thrustload', 'zmm_volts', 'zmm_wire', 'zmm_package', 'zmm_pvarrayrating', 'zmm_isi', 'zmm_isimotor', 'zmm_isipump', 'zmm_isipumpset', 'zmm_pumpset_model', 'zmm_stages', 'zmm_headrange', 'zmm_overall_efficiency', 'zmm_connection', 'zmm_min_bore_size', 'zmm_isireference', 'zmm_category', 'zmm_submergence', 'zmm_capacitorstart', 'zmm_capacitorrun', 'zmm_inch', 'zmm_motor_type', 'zmm_dismantle_direction', 'zmm_eff_ovrall', 'zmm_bodymoc', 'zmm_rotormoc', 'zmm_dlwl', 'zmm_inputpower', 'zmm_imp_od', 'zmm_ambtemp', 'zmm_de', 'zmm_dischargerange', 'zmm_efficiency_class', 'zmm_framesize', 'zmm_impellerdiameter', 'zmm_insulationclass', 'zmm_maxflow', 'zmm_minhead', 'zmm_mtrlofconst', 'zmm_nde', 'zmm_powerfactor', 'zmm_tagno', 'zmm_year', 'zmm_laser_name', 'zmm_logo_cp', 'zmm_logo_ce', 'zmm_logo_nsf', 'zmm_logo_eac', 'zmm_grwt_motor', 'zmm_grwt_pump', 'zmm_grwt_pset', 'zmm_grwt_cable', 'zmm_grwt_pf', 'zmm_newt_motor', 'zmm_newt_pump', 'zmm_newt_pset', 'zmm_newt_cable', 'zmm_newt_pf', 'zmm_operating_range', 'zmm_intake_air', 'zmm_oxygen_transfer_rate', 'zmm_air_inlet_pipesize', 'zmm_sump_depth', 'zmm_poles', 'zmm_motor_heading', 'zmm_motor_speed', 'zmm_beenote', 'zmm_beenumber', 'zmm_beestar', 'zmm_eff_ttl', 'zmm_labelperiod', 'zmm_modelyear', 'zmm_performance_factor', 'zqmm_qty', 'zmm_operating_temperature', 'zmm_axial_force', 'zmm_codeclass', 'zmm_colour', 'zmm_grade', 'zmm_isivalve', 'zmm_isi_wc', 'zmm_length', 'zmm_license_cml_no', 'zmm_mfgmonyr', 'zmm_motoridentification', 'zmm_packtype', 'zmm_panel', 'zmm_pumpidentification', 'zmm_psettype', 'zmm_size', 'zmm_type', 'zmm_usp', 'zmm_mrp', 'marked_datetime', 'marked_by', 'motor_pump_pumpset_status', 'motor_machine_name', 'pump_machine_name', 'name_plate_machine_name', 'pending_released_status', 'has_work_flow_id', 'motor_stop_flow_id', 'pump_stop_flow_id', 'name_plate_stop_flow_id']; // 'mark_status','marked_physical_count', 'marked_expected_time', 'man_marked_status', 'man_marked_datetime', 'man_marked_by', 'man_marked_expected_time', 'motor_marked_status', 'motor_marked_physical_count', 'motor_expected_time', 'motor_marked_datetime', 'motor_marked_by', 'pump_marked_status', 'pump_marked_physical_count', 'pump_expected_time', 'pump_marked_datetime', 'pump_marked_by', 'name_plate_marked_status', 'name_plate_expected_time', 'name_plate_marked_datetime', 'name_plate_marked_by', 'winded_serial_number', 'winded_rework_status', 'part_validation_1', 'part_validation_2', 'samlight_logged_name'
if ($itemCode != '' && $itemCode != null && $itemCode && Str::length($itemCode) > 0) { if ($itemCode != '' && $itemCode != null && $itemCode && Str::length($itemCode) > 0) {
$existingJobNo = ClassCharacteristic::where('aufnr', $jobNo)->first(); // ->where('machine_id', $machineId)->where('plant_id', $plantId) $existingJobNo = ClassCharacteristic::where('aufnr', $jobNo)->first(); // ->where('machine_id', $machineId)->where('plant_id', $plantId)
@@ -3750,7 +3753,7 @@ class CharacteristicsController extends Controller
$characteristicsData = ClassCharacteristic::where('gernr', $serialNumber)->where('item_id', $itemId)->where('machine_id', $machineId)->where('plant_id', $plantId)->get(); $characteristicsData = ClassCharacteristic::where('gernr', $serialNumber)->where('item_id', $itemId)->where('machine_id', $machineId)->where('plant_id', $plantId)->get();
$remFields = ['id', 'plant_id', 'machine_id', 'item_id', 'gernr', 'zmm_codeclass', 'zmm_colour', 'zmm_grade', 'zmm_grwt_cable', 'zmm_grwt_pf', 'zmm_isivalve', 'zmm_isi_wc', 'zmm_length', 'zmm_license_cml_no', 'zmm_mfgmonyr', 'zmm_motoridentification', 'zmm_newt_cable', 'zmm_newt_pf', 'zmm_packtype', 'zmm_panel', 'zmm_pumpidentification', 'zmm_psettype', 'zmm_size', 'zmm_type', 'zmm_usp', 'zmm_mrp', 'created_at', 'updated_at', 'created_by', 'updated_by', 'deleted_at']; // , 'is_stopped', 'stopped_datetime', 'stopped_by' $remFields = ['id', 'plant_id', 'machine_id', 'item_id', 'gernr', 'zmm_codeclass', 'zmm_colour', 'zmm_grade', 'zmm_grwt_cable', 'zmm_grwt_pf', 'zmm_isivalve', 'zmm_isi_wc', 'zmm_length', 'zmm_license_cml_no', 'zmm_mfgmonyr', 'zmm_motoridentification', 'zmm_newt_cable', 'zmm_newt_pf', 'zmm_packtype', 'zmm_panel', 'zmm_pumpidentification', 'zmm_psettype', 'zmm_size', 'zmm_type', 'zmm_usp', 'zmm_mrp', 'man_marked_expected_time', 'created_at', 'updated_at', 'created_by', 'updated_by', 'deleted_at']; // , 'is_stopped', 'stopped_datetime', 'stopped_by'
$filteredData = $characteristicsData->map(function ($char) use ($remFields) { $filteredData = $characteristicsData->map(function ($char) use ($remFields) {
$charArray = $char->toArray(); $charArray = $char->toArray();

View File

@@ -161,6 +161,7 @@ class ClassCharacteristic extends Model
'marked_datetime', 'marked_datetime',
'marked_by', 'marked_by',
'man_marked_status', 'man_marked_status',
'man_marked_expected_time',
'man_marked_datetime', 'man_marked_datetime',
'man_marked_by', 'man_marked_by',
'motor_marked_status', 'motor_marked_status',

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
@@ -11,7 +10,7 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
$sql = <<<'SQL' $sql = <<<'SQL'
CREATE TABLE testing_temps ( CREATE TABLE testing_temps (
id BIGINT GENERATED always AS IDENTITY PRIMARY KEY, id BIGINT GENERATED always AS IDENTITY PRIMARY KEY,
name TEXT DEFAULT NULL, name TEXT DEFAULT NULL,

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {
@@ -11,7 +9,7 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
$sql = <<<'SQL' $sql = <<<'SQL'
ALTER TABLE process_orders ALTER TABLE process_orders
ADD COLUMN line_id BIGINT DEFAULT NULL, ADD COLUMN line_id BIGINT DEFAULT NULL,
ADD CONSTRAINT process_orders_line_id_fkey ADD CONSTRAINT process_orders_line_id_fkey

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {
@@ -11,10 +9,10 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
DB::statement(" DB::statement('
ALTER TABLE process_orders ALTER TABLE process_orders
ADD COLUMN scrap_quantity NUMERIC(10,3) ADD COLUMN scrap_quantity NUMERIC(10,3)
"); ');
} }
/** /**

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {
@@ -11,7 +9,7 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
DB::statement(<<<SQL DB::statement(<<<'SQL'
ALTER TABLE invoice_validations ALTER TABLE invoice_validations
ALTER COLUMN quantity TYPE NUMERIC(10,3) ALTER COLUMN quantity TYPE NUMERIC(10,3)
USING quantity::NUMERIC(10,3); USING quantity::NUMERIC(10,3);

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {
@@ -34,7 +32,6 @@ return new class extends Migration
DB::statement($sql2); DB::statement($sql2);
} }
/** /**

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {
@@ -11,10 +9,10 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
DB::statement(" DB::statement('
ALTER TABLE production_plans ALTER TABLE production_plans
ALTER COLUMN shift_id DROP NOT NULL ALTER COLUMN shift_id DROP NOT NULL
"); ');
} }
/** /**

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
@@ -58,4 +57,3 @@ return new class extends Migration
Schema::dropIfExists('stock_data_masters'); Schema::dropIfExists('stock_data_masters');
} }
}; };

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,8 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
{ {

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -35,7 +35,7 @@ return new class extends Migration
/** /**
* Reverse the migrations. * Reverse the migrations.
*/ */
public function down(): void public function down(): void
{ {
Schema::dropIfExists('sticker_validations'); Schema::dropIfExists('sticker_validations');

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
$sql1 = <<<'SQL'
ALTER TABLE class_characteristics
ADD COLUMN man_marked_expected_time TEXT DEFAULT '0'
SQL;
DB::statement($sql1);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('class_characteristics', function (Blueprint $table) {
// //
// });
}
};