mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-27 20:28:54 +02:00
Added placeholders to insert Barcodes into labels without using the predefined templates.
This commit is contained in:
parent
ab8be58c0d
commit
3d61e04e5b
6 changed files with 124 additions and 3 deletions
|
@ -93,6 +93,16 @@ const PLACEHOLDERS = [
|
|||
['[[CREATION_DATE]]', 'Creation datetime'],
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Barcodes',
|
||||
entries: [
|
||||
['[[1D_CONTENT]]', 'Content of the 1D barcodes (like Code 39)'],
|
||||
['[[2D_CONTENT]]', 'Content of the 2D barcodes (QR codes)'],
|
||||
['[[BARCODE_QR]]', 'QR code linking to this element'],
|
||||
['[[BARCODE_C128]]', 'Code 128 barcode linking to this element'],
|
||||
['[[BARCODE_C39]]', 'Code 39 barcode linking to this element'],
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'Globals',
|
||||
entries: [
|
||||
|
@ -102,7 +112,8 @@ const PLACEHOLDERS = [
|
|||
['[[DATE]]', 'Current date'],
|
||||
['[[TIME]]', 'Current time'],
|
||||
['[[INSTALL_NAME]]', 'Instance name'],
|
||||
['[[TYPE]]', 'Target type']
|
||||
['[[TYPE]]', 'Target type'],
|
||||
['[[INSTANCE_URL]]', 'URL of this Part-DB instance']
|
||||
],
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue