mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-08 00:09:37 +00:00
Add a flash notice when automatically creating a part lot from scan
This commit is contained in:
parent
8727d83097
commit
bcbbb1ecb9
2 changed files with 9 additions and 0 deletions
|
|
@ -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'));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue