Modified logic for adjustment of 2 rows of items in wire pallet pdf
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -12,10 +12,10 @@
|
|||||||
|
|
||||||
$headerRows = [
|
$headerRows = [
|
||||||
'PRODUCT' => $product,
|
'PRODUCT' => $product,
|
||||||
'MONTH/YEAR' => $monthYear,
|
'MFG. MONTH & YEAR' => $monthYear,
|
||||||
'CUSTOMER PO' => $customerCode,
|
'CUSTOMER PO' => $customerCode,
|
||||||
'CUSTOMER NAME' => $customerName,
|
'CUSTOMER NAME' => $customerName,
|
||||||
'NO OF MASTER BOX' => $masterBox,
|
'MASTER BOX NO.' => $masterBox,
|
||||||
];
|
];
|
||||||
|
|
||||||
$titleHeight = 10;
|
$titleHeight = 10;
|
||||||
@@ -55,6 +55,9 @@
|
|||||||
if ($numItems == 1) {
|
if ($numItems == 1) {
|
||||||
$itemRowHeight -= 0.5;
|
$itemRowHeight -= 0.5;
|
||||||
}
|
}
|
||||||
|
if ($numItems == 2) {
|
||||||
|
$itemRowHeight += 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
if ($itemRowHeight < 3) {
|
if ($itemRowHeight < 3) {
|
||||||
$itemFontSize = '5.5px';
|
$itemFontSize = '5.5px';
|
||||||
@@ -290,7 +293,7 @@
|
|||||||
style="height: <?php echo $logoHeight; ?>mm;
|
style="height: <?php echo $logoHeight; ?>mm;
|
||||||
max-width: <?php echo $logoMaxWidth; ?>mm;
|
max-width: <?php echo $logoMaxWidth; ?>mm;
|
||||||
width: auto;">
|
width: auto;">
|
||||||
C.R.I POLY WRAPPED WINDING WIRE
|
C.R.I. POLY WRAPPED WINDING WIRE
|
||||||
<div class="vertical-line right"></div>
|
<div class="vertical-line right"></div>
|
||||||
{{-- <img src="<?php echo public_path('images/isi_8783.png'); ?>"
|
{{-- <img src="<?php echo public_path('images/isi_8783.png'); ?>"
|
||||||
class="logo"
|
class="logo"
|
||||||
@@ -320,8 +323,8 @@
|
|||||||
<tr class="items-header-row">
|
<tr class="items-header-row">
|
||||||
<td class="col-1 center">MATERIAL CODE</td>
|
<td class="col-1 center">MATERIAL CODE</td>
|
||||||
<td class="col-2 center">DESCRIPTION</td>
|
<td class="col-2 center">DESCRIPTION</td>
|
||||||
<td class="col-3 center">QTY</td>
|
<td class="col-3 center">QTY in kg</td>
|
||||||
<td class="col-4 center">NO OF BOX</td>
|
<td class="col-4 center">NO. OF BOXES</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<!-- Item Rows - ONLY THESE ADJUST DYNAMICALLY -->
|
<!-- Item Rows - ONLY THESE ADJUST DYNAMICALLY -->
|
||||||
@@ -342,13 +345,13 @@
|
|||||||
|
|
||||||
<!-- Gross Weight - FIXED 5mm -->
|
<!-- Gross Weight - FIXED 5mm -->
|
||||||
<tr class="gross-weight-row">
|
<tr class="gross-weight-row">
|
||||||
<td colspan="2" class="label center">GROSS WEIGHT</td>
|
<td colspan="2" class="label center">GROSS WEIGHT(kg)</td>
|
||||||
<td colspan="2" class="center"><?php echo number_format($grossWeight, 3); ?></td>
|
<td colspan="2" class="center"><?php echo number_format($grossWeight, 3); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<!-- Net Weight - FIXED 5mm -->
|
<!-- Net Weight - FIXED 5mm -->
|
||||||
<tr class="net-weight-row">
|
<tr class="net-weight-row">
|
||||||
<td colspan="2" class="label center">NET WEIGHT</td>
|
<td colspan="2" class="label center">NET WEIGHT(kg)</td>
|
||||||
<td colspan="2" class="center"><?php echo number_format($netWeight, 3); ?></td>
|
<td colspan="2" class="center"><?php echo number_format($netWeight, 3); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@@ -368,8 +371,8 @@
|
|||||||
C.R.I. PUMPS PRIVATE LIMITED<br>
|
C.R.I. PUMPS PRIVATE LIMITED<br>
|
||||||
(Unit of {{ $plantName }})<br>
|
(Unit of {{ $plantName }})<br>
|
||||||
{{ $plantAddress }}<br>
|
{{ $plantAddress }}<br>
|
||||||
India Regd.Office : 7/46-1, Keeranatham Road, Saravanampatti, Coimbatore-641 036<br>
|
India Regd.Office : 7/46-1, Keeranatham Road, Saravanampatti, Coimbatore- 641 035<br>
|
||||||
For Feedback/Complaint: C.R.I Customer care cell Toll-Free: 1800 121 1243
|
For Feedback/Complaint: C.R.I. Customer care cell Toll-Free: 1800 121 1243
|
||||||
{{-- <img src="{{ $qrBase64 }}"
|
{{-- <img src="{{ $qrBase64 }}"
|
||||||
style="position: absolute; bottom: 2.8mm; right: 2mm; width: 8mm; height: 6.8mm;"> --}}
|
style="position: absolute; bottom: 2.8mm; right: 2mm; width: 8mm; height: 6.8mm;"> --}}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user