mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
parent
90a24539b0
commit
a1f9642a18
|
@ -484,7 +484,7 @@ class AssetsController extends Controller
|
||||||
return response()->file($barcode_file, $header);
|
return response()->file($barcode_file, $header);
|
||||||
} else {
|
} else {
|
||||||
// Calculate barcode width in pixel based on label width (inch)
|
// Calculate barcode width in pixel based on label width (inch)
|
||||||
$barcode_width = ($settings->labels_width - $settings->labels_display_sgutter) * 96.000000000001;
|
$barcode_width = ($settings->labels_width - $settings->labels_display_sgutter) * 200.000000000001;
|
||||||
|
|
||||||
$barcode = new \Com\Tecnick\Barcode\Barcode();
|
$barcode = new \Com\Tecnick\Barcode\Barcode();
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue