add fixed export
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marko 2023-12-13 14:52:57 +01:00
parent 047db97928
commit 5c86b54c51
No known key found for this signature in database

View File

@ -48,6 +48,7 @@ class HiltesImportCommand extends Command
protected function execute(InputInterface $input, OutputInterface $output): int
{
$time_start = microtime(true);
$io = new SymfonyStyle($input, $output);
$io->success('Start Hiltes Import');
@ -77,7 +78,11 @@ class HiltesImportCommand extends Command
//Export für WMS Lager
$jtl->createExportFile($jtl->getProducts($prodIds, ['8']), 'wms' . ($delta ? '_delta' : ''));
$io->success('Done.');
$time_end = microtime(true);
$execution_time = ($time_end - $time_start) / 60;
$io->success('Done.' . PHP_EOL . 'Execution time: ' . $execution_time . ' minutes');
return Command::SUCCESS;
}
}