generate Labels QR CODE removed asset model name #9650
raghuram0099
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
labels.blade.php Removed {{ $asset->model->name }}, if any one need replace below code in labels.blade.php
<!doctype html>
<title>Labels</title> labels_width = $settings->labels_width - $settings->labels_display_sgutter; $settings->labels_height = $settings->labels_height - $settings->labels_display_bgutter; // Leave space on bottom for 1D barcode if necessary $qr_size = ($settings->alt_barcode_enabled=='1') && ($settings->alt_barcode!='') ? $settings->labels_height - .3 : $settings->labels_height - .3; ?> <style> body { font-family: arial, helvetica, sans-serif; width: {{ $settings->labels_pagewidth }}in; height: {{ $settings->labels_pageheight }}in; margin: {{ $settings->labels_pmargin_top }}in {{ $settings->labels_pmargin_right }}in {{ $settings->labels_pmargin_bottom }}in {{ $settings->labels_pmargin_left }}in; font-size: {{ $settings->labels_fontsize }}pt; } .label { width: {{ $settings->labels_width }}in; height: {{ $settings->labels_height }}in; padding: 0in; margin-right: {{ $settings->labels_display_sgutter }}in; /* the gutter */ margin-bottom: {{ $settings->labels_display_bgutter }}in; display: inline-block; overflow: hidden; } .page-break { page-break-after:always; } div.qr_img { width: {{ $qr_size }}in; height: {{ $qr_size }}in; float: left; display: inline-flex; padding-right: .15in; } img.qr_img { width: 120.79%; height: 120.79%; margin-top: -6.9%; margin-left: -6.9%; padding-bottom: .04in; } img.barcode { display:block; padding-top: .11in; width: 100%; } .qr_text { width: {{ $settings->labels_width }}in; height: {{ $settings->labels_height }}in; padding-top: {{$settings->labels_display_bgutter}}in; font-family: arial, helvetica, sans-serif; font-size: {{$settings->labels_fontsize}}; padding-right: .01in; overflow: hidden !important; display: inline; word-wrap: break-word; word-break: break-all; } div.barcode_container { width: 100%; display: inline; overflow: hidden; } .next-padding { margin: {{ $settings->labels_pmargin_top }}in {{ $settings->labels_pmargin_right }}in {{ $settings->labels_pmargin_bottom }}in {{ $settings->labels_pmargin_left }}in; } @media print { .noprint { display: none !important; } .next-padding { margin: {{ $settings->labels_pmargin_top }}in {{ $settings->labels_pmargin_right }}in {{ $settings->labels_pmargin_bottom }}in {{ $settings->labels_pmargin_left }}in; font-size: 0; } } @media screen { .label { outline: .02in black solid; /* outline doesn't occupy space like border does */ } .noprint { font-size: 13px; padding-bottom: 15px; } } @if ($snipeSettings->custom_css) {{ $snipeSettings->show_custom_css() }} @endif </style> @foreach ($assets as $asset)@Endforeach
Beta Was this translation helpful? Give feedback.
All reactions