A free open source IT asset/license management system
fix buildlayout 2 barcode layout
Godfrey M20effddf090a
diff --git a/app/Models/Labels/CustomLabels/CustomTapeLabel.php b/app/Models/Labels/CustomLabels/CustomTapeLabel.phpindex b737d4d14c..10174997bb 100644--- a/app/Models/Labels/CustomLabels/CustomTapeLabel.php+++ b/app/Models/Labels/CustomLabels/CustomTapeLabel.php@@ -294,10 +294,10 @@ abstract class CustomTapeLabel extends Label$layout['barcode2d'] = $barcode2dBox;- if ($barcode2dBox) {- $layout['body']['y1'] = $barcode2dBox['y'] + $barcode2dBox['h'] + $this->getBarcode2DMargin();- $layout['body']['h'] = max(0, $layout['body']['y2'] - $layout['body']['y1']);- }++ $layout['body']['y1'] = $barcode2dBox['y'] + $barcode2dBox['h'] + $this->getBarcode2DMargin();+ $layout['body']['h'] = max(0, $layout['body']['y2'] - $layout['body']['y1']);+$layout['text'] = $layout['body'];$layout['logo'] = null;