Updated passing checkPointNames 'id' instead of 'name'
This commit is contained in:
@@ -122,8 +122,8 @@ class CheckPointTimeImporter extends Importer
|
|||||||
|
|
||||||
return CheckPointTime::updateOrCreate([
|
return CheckPointTime::updateOrCreate([
|
||||||
'plant_id' => $plant->id,
|
'plant_id' => $plant->id,
|
||||||
'check_point1_id' => $this->data['checkPointNames1'],
|
'check_point1_id' => $checkPointNames1->id,
|
||||||
'check_point2_id' => $this->data['checkPointNames2'],
|
'check_point2_id' => $checkPointNames2->id,
|
||||||
'sequence_number' => $this->data['sequence_number']
|
'sequence_number' => $this->data['sequence_number']
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user