Actually i changed to old logic for pallet print controller logic
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 11s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Laravel Pint / pint (pull_request) Successful in 3m8s
Laravel Larastan / larastan (pull_request) Failing after 3m52s

This commit is contained in:
dhanabalan
2026-02-25 14:08:47 +05:30
parent cb5d2c89d6
commit fff2169dd6
2 changed files with 201 additions and 201 deletions

View File

@@ -80,18 +80,18 @@
$compensatedLicenseHeight = $licenseHeight - 0.6;
$compensatedCompanyHeight = $companyInfoHeight - 0.6;
// $qrBase64 = 'data:image/png;base64,' . base64_encode(
// QrCode::format('png')
// ->size(120) // 12mm ~ 120px
// ->margin(0)
// ->generate($pallet)
$qrBase64 = 'data:image/png;base64,' . base64_encode(
QrCode::format('png')
->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)
// );
);
@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>