mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-15 18:14:09 -08:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
6156d67e4a
|
@ -105,16 +105,15 @@ class Label implements View
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($template->getSupport1DBarcode()) {
|
if ($settings->alt_barcode_enabled) {
|
||||||
$barcode1DType = $settings->label2_1d_type;
|
if ($template->getSupport1DBarcode()) {
|
||||||
$barcode1DType = ($barcode1DType == 'default') ?
|
$barcode1DType = $settings->alt_barcode;
|
||||||
(($settings->alt_barcode_enabled) ? $settings->alt_barcode : null) :
|
if ($barcode1DType != 'none') {
|
||||||
$barcode1DType;
|
$assetData->put('barcode1d', (object)[
|
||||||
if ($barcode1DType != 'none') {
|
'type' => $barcode1DType,
|
||||||
$assetData->put('barcode1d', (object)[
|
'content' => $asset->asset_tag,
|
||||||
'type' => $barcode1DType,
|
]);
|
||||||
'content' => $asset->asset_tag,
|
}
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue