Merge pull request #10848 from snipe/fixes/10819_use_full_url_for_barcodes_in_label_view

Fixed #10819 - use full url for label barcodes
This commit is contained in:
snipe 2022-03-21 14:00:56 +00:00 committed by GitHub
commit c01cc48482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ $qr_size = ($settings->alt_barcode_enabled=='1') && ($settings->alt_barcode!='')
@if ($settings->qr_code=='1') @if ($settings->qr_code=='1')
<div class="qr_img"> <div class="qr_img">
<img src="./{{ $asset->id }}/qr_code" class="qr_img"> <img src="{{ config('app.url') }}/hardware/{{ $asset->id }}/qr_code" class="qr_img">
</div> </div>
@endif @endif
@ -159,7 +159,7 @@ $qr_size = ($settings->alt_barcode_enabled=='1') && ($settings->alt_barcode!='')
@if ((($settings->alt_barcode_enabled=='1') && $settings->alt_barcode!='')) @if ((($settings->alt_barcode_enabled=='1') && $settings->alt_barcode!=''))
<div class="barcode_container"> <div class="barcode_container">
<img src="./{{ $asset->id }}/barcode" class="barcode"> <img src="{{ config('app.url') }}/hardware/{{ $asset->id }}/barcode" class="barcode">
</div> </div>
@endif @endif