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