Add a flash notice when automatically creating a part lot from scan

This commit is contained in:
Jan Böhmer 2026-03-07 22:01:50 +01:00
parent 8727d83097
commit bcbbb1ecb9
2 changed files with 9 additions and 0 deletions

View file

@ -301,6 +301,9 @@ final class PartController extends AbstractController
$partLot->setUserBarcode($lotUserBarcode !== null ? (string)$lotUserBarcode : '');
$new_part->addPartLot($partLot);
$this->addFlash('notice', t('part.create_from_info_provider.lot_filled_from_barcode'));
}

View file

@ -12941,5 +12941,11 @@ Buerklin-API Authentication server:
<target>Backup download allowed</target>
</segment>
</unit>
<unit id="b8JxfcX" name="part.create_from_info_provider.lot_filled_from_barcode">
<segment>
<source>part.create_from_info_provider.lot_filled_from_barcode</source>
<target>[Part_lot] created from barcode: Please check if the data is correct and desired.</target>
</segment>
</unit>
</file>
</xliff>