Renamed vendor_barcode to user_barcode in entities

This commit is contained in:
Jan Böhmer 2025-01-03 20:55:55 +01:00
parent 03ec4a9f84
commit baa7279adc
9 changed files with 30 additions and 18 deletions

View file

@ -220,7 +220,7 @@ final class BarcodeScanHelper
{
$lot_repo = $this->entityManager->getRepository(PartLot::class);
//Find only the first result
$results = $lot_repo->findBy(['vendor_barcode' => $input], limit: 1);
$results = $lot_repo->findBy(['user_barcode' => $input], limit: 1);
if (count($results) === 0) {
return null;