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

This commit is contained in:
dhanabalan
2026-11-25 16:54:08 +05:30
parent aaecd9a9e8
commit 2d19661364
2 changed files with 126 additions and 44 deletions

View File

@@ -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>