1
0
forked from poc/pds

removed unwanted logic from pallet print controller

This commit is contained in:
dhanabalan
2026-02-25 09:53:00 +05:30
parent cb3427ad13
commit d04c800701
2 changed files with 237 additions and 144 deletions

View File

@@ -84,13 +84,13 @@
// ->size(120) // 12mm ~ 120px
// ->margin(0)
// ->generate($pallet)
$qrBase64 = 'data:image/png;base64,' . base64_encode(
QrCode::format('png')
->size(120)
->margin(0)
->errorCorrection('H')
->generate($pallet)
);
// $qrBase64 = 'data:image/png;base64,' . base64_encode(
// QrCode::format('png')
// ->size(120)
// ->margin(0)
// ->errorCorrection('H')
// ->generate($pallet)
// );
@endphp
<style>
@@ -298,7 +298,7 @@
max-width: <?php echo $isilogoMaxWidth; ?>mm;
left: 71mm;"> --}}
<img src="{{ $qrBase64 }}"
style="position: absolute; bottom: 1.2mm; right: 2mm; width: 8mm; height: 7.2mm;">
style="position: absolute; bottom: 1.2mm; right: 2mm; width: 8mm; height: 7.2mm;">
</td>
</tr>