fix: intake page updates, customer_intake fixes, module dir
This commit is contained in:
@@ -0,0 +1,135 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Pallet Label - {{ doc.pallet_number or 'LOAD-PENDING' }}</title>
|
||||
<style>
|
||||
@page {
|
||||
size: 6in 4in;
|
||||
margin: 0.15in;
|
||||
}
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 6in;
|
||||
height: 4in;
|
||||
overflow: hidden;
|
||||
}
|
||||
.label {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 2px solid #000;
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.service-level {
|
||||
font-size: 48pt;
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
color: #d63384;
|
||||
border: 4px solid #d63384;
|
||||
padding: 5px;
|
||||
margin-bottom: 5px;
|
||||
line-height: 1;
|
||||
}
|
||||
.pallet-number {
|
||||
font-size: 24pt;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border-bottom: 2px solid #000;
|
||||
padding-bottom: 3px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.info-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 11pt;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.info-label {
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
.info-value {
|
||||
flex: 1;
|
||||
margin-left: 5px;
|
||||
border-bottom: 1px dotted #999;
|
||||
}
|
||||
.checkbox-row {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
font-size: 10pt;
|
||||
font-weight: bold;
|
||||
margin-top: 3px;
|
||||
padding-top: 3px;
|
||||
border-top: 2px solid #000;
|
||||
}
|
||||
.checkbox {
|
||||
display: inline-block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border: 2px solid #000;
|
||||
margin-right: 4px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.footer {
|
||||
margin-top: auto;
|
||||
font-size: 8pt;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
border-top: 1px solid #ccc;
|
||||
padding-top: 3px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="label">
|
||||
<div class="service-level">{{ doc.service_level or 'CLEAR' }}</div>
|
||||
|
||||
<div class="pallet-number">
|
||||
{{ doc.pallet_number or 'PENDING' }}
|
||||
</div>
|
||||
|
||||
<div class="info-row">
|
||||
<span class="info-label">Load #:</span>
|
||||
<span class="info-value">{{ doc.load or '________________' }}</span>
|
||||
</div>
|
||||
|
||||
<div class="info-row">
|
||||
<span class="info-label">Customer:</span>
|
||||
<span class="info-value" style="font-size: 10pt;">{{ doc.customer_name or '________________________' }}</span>
|
||||
</div>
|
||||
|
||||
<div class="info-row">
|
||||
<span class="info-label">Weight:</span>
|
||||
<span class="info-value">{{ doc.inbound_weight or '____' }} lbs</span>
|
||||
</div>
|
||||
|
||||
<div class="info-row">
|
||||
<span class="info-label">Date:</span>
|
||||
<span class="info-value">{{ doc.received_date or '________' }}</span>
|
||||
</div>
|
||||
|
||||
<div class="checkbox-row">
|
||||
<span>
|
||||
<span class="checkbox {% if doc.certificate %}checked{% endif %}"></span>COR/AoR
|
||||
</span>
|
||||
<span>
|
||||
<span class="checkbox"></span>RED/R2
|
||||
</span>
|
||||
<span>
|
||||
<span class="checkbox"></span>5% Audit
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
Westech Electronics | R2 Certified | Keep with pallet
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user