mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
conditions 1dbarcode to populate based on settings
This commit is contained in:
parent
02862d80eb
commit
6559581bad
|
@ -106,6 +106,7 @@ class Label implements View
|
|||
}
|
||||
|
||||
if ($template->getSupport1DBarcode()) {
|
||||
if ($settings->alt_barcode_enabled) {
|
||||
$barcode1DType = $settings->label2_1d_type;
|
||||
$barcode1DType = ($barcode1DType == 'default') ?
|
||||
(($settings->alt_barcode_enabled) ? $settings->alt_barcode : null) :
|
||||
|
@ -117,6 +118,7 @@ class Label implements View
|
|||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($template->getSupport2DBarcode()) {
|
||||
$barcode2DType = $settings->label2_2d_type;
|
||||
|
|
Loading…
Reference in a new issue