Al importar clientes se inicializan con estado off #112
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## [1.7.8] - 2026-05-11
|
||||
### Fixed
|
||||
- En la importación de clientes, se inicializan con estado "off"
|
||||
|
||||
## [1.7.7] - 2026-05-08
|
||||
### Added
|
||||
- Mejorado comando ImportLegacy y creada ruta api para invocarlo desde la consola web, controla errores e informa de cambios a través de mercure
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
namespace App\Command\Migration;
|
||||
|
||||
use App\Entity\Client;
|
||||
use App\Model\ClientStatus;
|
||||
use App\Entity\HardwareProfile;
|
||||
use App\Entity\OrganizationalUnit;
|
||||
use App\Model\OrganizationalUnitTypes;
|
||||
|
|
@ -68,6 +69,7 @@ class MigrateClientsCommand extends Command
|
|||
}
|
||||
|
||||
$clientEntity = new Client();
|
||||
$clientEntity->setStatus(ClientStatus::OFF);
|
||||
$clientEntity->setMigrationId($client['idordenador']);
|
||||
$clientEntity->setName($client['nombreordenador']);
|
||||
$clientEntity->setSerialNumber($client['numserie']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue