removed generate built in function from blade file #400

Merged
jothi merged 1 commits from ranjith-dev into master 2026-02-25 07:16:51 +00:00

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>