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 // Total fixed space
$fixedSpace = $titleHeight + $fixedSpace = $titleHeight +
(5 * $headerRowHeight) + // 6 header rows (5 * $headerRowHeight) +
$itemHeaderHeight + $itemHeaderHeight +
$grossWeightHeight + $grossWeightHeight +
$netWeightHeight + $netWeightHeight +
@@ -51,7 +51,7 @@
$itemRowHeight = floor(($spaceForItemsOnly / $numItems) * 10) / 10; $itemRowHeight = floor(($spaceForItemsOnly / $numItems) * 10) / 10;
// $itemRowHeight -= 0.5; $itemRowHeight -= 0.5;
if ($numItems == 1) { if ($numItems == 1) {
$itemRowHeight -= 0.5; $itemRowHeight -= 0.5;
} }
@@ -79,24 +79,26 @@
$compensatedNetHeight = $netWeightHeight - 0.6; $compensatedNetHeight = $netWeightHeight - 0.6;
$compensatedLicenseHeight = $licenseHeight - 0.6; $compensatedLicenseHeight = $licenseHeight - 0.6;
$compensatedCompanyHeight = $companyInfoHeight - 0.6; $compensatedCompanyHeight = $companyInfoHeight - 0.6;
// $qrBase64 = 'data:image/png;base64,' . base64_encode( // $qrBase64 = 'data:image/png;base64,' . base64_encode(
// QrCode::format('png') // QrCode::format('png')
// ->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(
// 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>
@page { @page {
size: 85mm 100mm; size: 85mm 100mm;
margin: 0; /* margin: 0; */
margin: 0.5mm;
} }
* { * {