changed print panel box 2 button logic in produciton order
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 18s
Laravel Pint / pint (pull_request) Successful in 2m1s
Laravel Larastan / larastan (pull_request) Failing after 6m42s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 20s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 18s
Laravel Pint / pint (pull_request) Successful in 2m1s
Laravel Larastan / larastan (pull_request) Failing after 6m42s
This commit is contained in:
@@ -97,22 +97,29 @@
|
||||
|
||||
<body>
|
||||
|
||||
@foreach($stickers as $sticker)
|
||||
@php
|
||||
$descSize = 4;
|
||||
@endphp
|
||||
|
||||
@foreach($stickers as $row)
|
||||
<div class="sticker-row {{ $loop->first ? '' : 'new-page' }}">
|
||||
|
||||
@foreach(['left', 'right'] as $side)
|
||||
<div class="sticker {{ $side }}">
|
||||
<img class="qr" src="{{ $sticker['qr'] }}">
|
||||
<div class="serial">{{ $sticker['serial'] }}</div>
|
||||
{{-- <div class="desc" style="font-size: {{ $descSize }}mm;">{{ $sticker['description'] }}</div> --}}
|
||||
<div class="desc">
|
||||
<span>{{ trim($sticker['description'], " \"'") }}</span>
|
||||
@foreach(['left', 'right'] as $index => $side)
|
||||
|
||||
@if(isset($row[$index]))
|
||||
<div class="sticker {{ $side }}">
|
||||
|
||||
<img class="qr" src="{{ $row[$index]['qr'] }}">
|
||||
|
||||
<div class="serial">
|
||||
{{ $row[$index]['serial'] }}
|
||||
</div>
|
||||
|
||||
<div class="desc">
|
||||
<span>
|
||||
{{ trim($row[$index]['description'], " \"'") }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user