mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Added basic import for parts
This commit is contained in:
parent
1ca839ab26
commit
21c74fbcc8
2 changed files with 124 additions and 3 deletions
|
@ -103,6 +103,10 @@ class ImportPartKeeprCommand extends Command
|
|||
$io->info('Importing storage locations...');
|
||||
$count = $this->importer->importStorelocations($data);
|
||||
$io->success('Imported '.$count.' storage locations.');
|
||||
|
||||
$io->info('Importing parts...');
|
||||
$count = $this->importer->importParts($data);
|
||||
$io->success('Imported '.$count.' parts.');
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue