1
0
forked from poc/pds

removed generate built in function from blade file

This commit is contained in:
dhanabalan
2026-02-25 12:46:34 +05:30
parent f1a7518f10
commit cb5d2c89d6

View File

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