fix : wip cleanup
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

This commit is contained in:
2026-05-13 17:50:23 +02:00
parent b130d44054
commit b61321c7b7
10 changed files with 3 additions and 394 deletions

View File

@@ -276,7 +276,7 @@ final class BovineInventoryExportProvider implements ProviderInterface
$type = $bovine->getBovineType();
$isLim = self::BREED_CODE_LIMOUSINE === $type?->getCode();
$isCharo = self::BREED_CODE_CHAROLAISE === $type?->getCode();
$building = $bovine->getBuildingCase()?->getIdBuilding() ?? $bovine->getBuilding();
$building = $bovine->getBuildingCase()?->getIdBuilding();
$code = $building?->getCode();
$sheet->setCellValue('A'.$row, $isLim ? 'X' : '');

View File

@@ -28,7 +28,6 @@ final class BovineMovementProcessor implements ProcessorInterface
$enteredAt = $data->hasEnteredAt() ? $data->getEnteredAt() : new DateTimeImmutable();
$data->setEnteredAt($enteredAt);
$data->setLeftAt(null);
$data->setBuilding(null);
$bovine = $data->getBovine();