Fixed label weirdness when no serial

This commit is contained in:
snipe 2016-06-10 04:43:17 -07:00
parent a0901247a3
commit 7a9cfb1a8f

View file

@ -102,25 +102,30 @@
@endif
<div class="qr_text">
<div class="pull-left">
@if ($settings->qr_text!='')
<strong>{{ $settings->qr_text }}</strong>
<br>
@endif
</div>
<div class="pull-left">
@if (($settings->labels_display_name=='1') && ($asset->name!=''))
N: {{ $asset->name }}
<br>
@endif
</div>
<div class="pull-left">
@if (($settings->labels_display_tag=='1') && ($asset->asset_tag!=''))
T: {{ $asset->asset_tag }}
<br>
@endif
</div>
<div class="pull-left">
@if (($settings->labels_display_serial=='1') && ($asset->serial!=''))
S: {{ $asset->serial }}
@endif
</div>
</div>
@if ((($settings->alt_barcode_enabled=='1') && $settings->alt_barcode!=''))
<div class="barcode_container">
<img src="./{{ $asset->id }}/barcode" class="barcode">