1
0
forked from poc/pds

Modified qr code size for pallet

This commit is contained in:
dhanabalan
2025-07-29 15:52:44 +05:30
parent 000533ef7c
commit 897aa77217

View File

@@ -27,13 +27,13 @@ class PalletController extends Controller
return ' return '
<html> <html>
<head> <head>
<style> <style>
body { margin: 0; padding: 0; width: 60mm; height: 14mm; font-size: 10pt; font-family: DejaVu Sans, sans-serif; } body { margin: 0; padding: 0; width: 60mm; height: auto; font-size: 10pt; font-family: DejaVu Sans, sans-serif; }
.sticker-table { width: 60mm; height: 14mm; border-collapse: collapse; } .sticker-table { width: 60mm; height: 14mm; border-collapse: collapse; page-break-after: always; }
.qr-cell { width: 14mm; text-align: right; vertical-align: bottom; padding-left: 6mm; padding-top: 0mm; } .qr-cell { width: 14mm; text-align: right; vertical-align: bottom; padding-left: 2mm; padding-top: 0mm; }
.text-cell { text-align: left; vertical-align: middle; font-size: 16pt; padding-left: 1mm; padding-top: 2mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; } .text-cell { text-align: left; vertical-align: middle; font-size: 18pt; padding-left: 1mm; padding-top: 2mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; }
img.qr { width: 13mm; height: 13mm; display: block; } img.qr { width: 20mm; height: 20mm; display: block; }
</style> </style>
</head> </head>
<body> <body>
<table class="sticker-table"> <table class="sticker-table">
@@ -98,9 +98,9 @@ class PalletController extends Controller
<style> <style>
body { margin: 0; padding: 0; width: 60mm; height: auto; font-size: 10pt; font-family: DejaVu Sans, sans-serif; } body { margin: 0; padding: 0; width: 60mm; height: auto; font-size: 10pt; font-family: DejaVu Sans, sans-serif; }
.sticker-table { width: 60mm; height: 14mm; border-collapse: collapse; page-break-after: always; } .sticker-table { width: 60mm; height: 14mm; border-collapse: collapse; page-break-after: always; }
.qr-cell { width: 14mm; text-align: right; vertical-align: bottom; padding-left: 6mm; padding-top: 0mm; } .qr-cell { width: 14mm; text-align: right; vertical-align: bottom; padding-left: 2mm; padding-top: 0mm; }
.text-cell { text-align: left; vertical-align: middle; font-size: 16pt; padding-left: 1mm; padding-top: 2mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; } .text-cell { text-align: left; vertical-align: middle; font-size: 18pt; padding-left: 1mm; padding-top: 2mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; }
img.qr { width: 13mm; height: 13mm; display: block; } img.qr { width: 20mm; height: 20mm; display: block; }
</style> </style>
</head> </head>
<body> <body>