diff --git a/app/Console/Commands/BendingProductImportLegacy.php b/app/Console/Commands/BendingProductImportLegacy.php index 39110e1d..e1b2ff93 100644 --- a/app/Console/Commands/BendingProductImportLegacy.php +++ b/app/Console/Commands/BendingProductImportLegacy.php @@ -79,7 +79,7 @@ private function importItems($rows, string $category, int $tenantId, bool $dryRu 'tenant_id' => $tenantId, 'code' => $code, 'name' => $name, - 'item_type' => 'FG', + 'item_type' => 'PT', 'item_category' => $category, 'unit' => 'SET', 'options' => json_encode($options, JSON_UNESCAPED_UNICODE), diff --git a/app/Console/Commands/GuiderailImportLegacy.php b/app/Console/Commands/GuiderailImportLegacy.php index f3d92c35..4b110246 100644 --- a/app/Console/Commands/GuiderailImportLegacy.php +++ b/app/Console/Commands/GuiderailImportLegacy.php @@ -76,7 +76,7 @@ public function handle(): int 'tenant_id' => $tenantId, 'code' => $code, 'name' => $name, - 'item_type' => 'FG', + 'item_type' => 'PT', 'item_category' => 'GUIDERAIL_MODEL', 'unit' => 'SET', 'options' => json_encode($options, JSON_UNESCAPED_UNICODE),