removed unwanted space in wire pallet blade file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-02-25 11:18:55 +05:30
parent 9bf596b389
commit e2ffde623d

View File

@@ -38,7 +38,7 @@
// Total fixed space
$fixedSpace = $titleHeight +
(5 * $headerRowHeight) + // 6 header rows
(5 * $headerRowHeight) +
$itemHeaderHeight +
$grossWeightHeight +
$netWeightHeight +
@@ -51,7 +51,7 @@
$itemRowHeight = floor(($spaceForItemsOnly / $numItems) * 10) / 10;
// $itemRowHeight -= 0.5;
$itemRowHeight -= 0.5;
if ($numItems == 1) {
$itemRowHeight -= 0.5;
}
@@ -79,24 +79,26 @@
$compensatedNetHeight = $netWeightHeight - 0.6;
$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)
// ->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>
@page {
size: 85mm 100mm;
margin: 0;
/* margin: 0; */
margin: 0.5mm;
}
* {