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; // Leave space on left for QR code if necessary $qr_txt_size = ($settings->qr_code=='1' ? $settings->labels_width - $qr_size - .1 : $settings->labels_width); ?> @foreach ($assets as $asset)
@if ($settings->qr_code=='1')
@endif
@if ($settings->qr_text!='')
{{ $settings->qr_text }}
@endif @if (($settings->labels_display_company_name=='1') && ($asset->company))
C: {{ $asset->company->name }}
@endif @if (($settings->labels_display_name=='1') && ($asset->name!=''))
N: {{ $asset->name }}
@endif @if (($settings->labels_display_tag=='1') && ($asset->asset_tag!=''))
T: {{ $asset->asset_tag }}
@endif @if (($settings->labels_display_serial=='1') && ($asset->serial!=''))
S: {{ $asset->serial }}
@endif @if (($settings->labels_display_model=='1') && ($asset->model->name!=''))
M: {{ $asset->model->name }} {{ $asset->model->model_number }}
@endif
@if ((($settings->alt_barcode_enabled=='1') && $settings->alt_barcode!=''))
@endif
@if ($count % $settings->labels_per_page == 0)
 
@endif @endforeach