first commit

This commit is contained in:
2026-01-18 12:23:37 +01:00
commit ae792f4996
124 changed files with 19497 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>QR Codes Articoli</title>
<style>
@page {
margin: 10mm;
}
body {
font-family: Arial, sans-serif;
font-size: 6pt;
margin: 0;
padding: 0;
}
.qr-container {
display: inline-block;
width: 15mm;
text-align: center;
margin: 2mm;
vertical-align: top;
page-break-inside: avoid;
}
.qr-code {
width: 10mm;
height: 10mm;
}
.qr-label {
font-size: 5pt;
margin-top: 1mm;
word-break: break-all;
line-height: 1.2;
max-width: 15mm;
overflow: hidden;
}
</style>
</head>
<body>
@foreach($articoliWithQr as $item)
<div class="qr-container">
<img src="data:image/png;base64,{{ $item['qr_base64'] }}" class="qr-code" alt="QR Code">
<div class="qr-label">{{ $item['articolo']->codice_articolo }}</div>
</div>
@endforeach
</body>
</html>