217 lines
4.3 KiB
HTML
217 lines
4.3 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<title>{{if .PackingListNumber}}{{.PackingListNumber}}{{else}}CMC Packing List{{end}}</title>
|
||
|
|
<style>
|
||
|
|
@page {
|
||
|
|
size: A4;
|
||
|
|
margin: 15mm;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family: Helvetica, Arial, sans-serif;
|
||
|
|
font-size: 9pt;
|
||
|
|
line-height: 1.4;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0 0 25mm 0;
|
||
|
|
color: #000;
|
||
|
|
}
|
||
|
|
|
||
|
|
.details-table {
|
||
|
|
width: 100%;
|
||
|
|
border-collapse: collapse;
|
||
|
|
margin-bottom: 5mm;
|
||
|
|
}
|
||
|
|
|
||
|
|
.details-table td {
|
||
|
|
border: 1px solid #000;
|
||
|
|
padding: 2mm;
|
||
|
|
font-size: 9pt;
|
||
|
|
}
|
||
|
|
|
||
|
|
.details-table td.label {
|
||
|
|
font-weight: bold;
|
||
|
|
width: 25%;
|
||
|
|
background-color: #f0f0f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.address-boxes {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
margin-bottom: 5mm;
|
||
|
|
}
|
||
|
|
|
||
|
|
.address-box {
|
||
|
|
width: 48%;
|
||
|
|
border: 1px solid #000;
|
||
|
|
padding: 3mm;
|
||
|
|
}
|
||
|
|
|
||
|
|
.address-box h3 {
|
||
|
|
font-size: 10pt;
|
||
|
|
margin: 0 0 2mm 0;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-items {
|
||
|
|
width: 99.5%;
|
||
|
|
border-collapse: collapse;
|
||
|
|
margin-bottom: 5mm;
|
||
|
|
table-layout: fixed;
|
||
|
|
margin-right: 1mm;
|
||
|
|
margin-left: auto;
|
||
|
|
page-break-after: avoid;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-items th {
|
||
|
|
background-color: #f0f0f0;
|
||
|
|
border: 1px solid #000;
|
||
|
|
padding: 2mm;
|
||
|
|
font-weight: bold;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-items tbody tr {
|
||
|
|
page-break-inside: avoid;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-items td {
|
||
|
|
border: 1px solid #000;
|
||
|
|
padding: 2mm;
|
||
|
|
vertical-align: top;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-items .description {
|
||
|
|
width: 70%;
|
||
|
|
word-wrap: break-word;
|
||
|
|
overflow-wrap: break-word;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-items .qty {
|
||
|
|
width: 15%;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.line-items .weight {
|
||
|
|
width: 15%;
|
||
|
|
text-align: right;
|
||
|
|
}
|
||
|
|
|
||
|
|
.description strong {
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.description em {
|
||
|
|
font-style: italic;
|
||
|
|
}
|
||
|
|
|
||
|
|
.description ul, .description ol {
|
||
|
|
margin: 2mm 0;
|
||
|
|
padding-left: 5mm;
|
||
|
|
}
|
||
|
|
|
||
|
|
.description li {
|
||
|
|
margin: 1mm 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.footer {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
height: 20mm;
|
||
|
|
border-top: 1px solid #000;
|
||
|
|
padding-top: 2mm;
|
||
|
|
font-size: 9pt;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.footer .services-title {
|
||
|
|
font-weight: normal;
|
||
|
|
margin-bottom: 2mm;
|
||
|
|
}
|
||
|
|
|
||
|
|
.footer .services-line1, .footer .services-line2 {
|
||
|
|
margin: 1mm 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.footer .service-explosion { color: #990006; }
|
||
|
|
.footer .service-fire { color: #FF9900; }
|
||
|
|
.footer .service-pressure { color: #FF0019; }
|
||
|
|
.footer .service-vision { color: #00801E; }
|
||
|
|
.footer .service-flow { color: #2F4BE0; }
|
||
|
|
.footer .service-process { color: #AB31F8; }
|
||
|
|
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
{{template "CompanyHeader" .}}
|
||
|
|
|
||
|
|
<!-- Packing List Details Table -->
|
||
|
|
<table class="details-table">
|
||
|
|
<tr>
|
||
|
|
<td class="label">PACKING LIST #:</td>
|
||
|
|
<td>{{.PackingListNumber}}</td>
|
||
|
|
<td class="label">DATE:</td>
|
||
|
|
<td>{{.IssueDateString}}</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="label">JOB TITLE:</td>
|
||
|
|
<td colspan="3">{{.JobTitle}}</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="label">CUSTOMER ORDER #:</td>
|
||
|
|
<td colspan="3">{{.CustomerOrderNumber}}</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
|
||
|
|
<!-- Address Boxes -->
|
||
|
|
<div class="address-boxes">
|
||
|
|
<div class="address-box">
|
||
|
|
<h3>FROM:</h3>
|
||
|
|
<p>{{.FromAddress}}</p>
|
||
|
|
</div>
|
||
|
|
<div class="address-box">
|
||
|
|
<h3>TO:</h3>
|
||
|
|
<p>{{.ShipTo}}</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- Line Items Table -->
|
||
|
|
<table class="line-items">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th class="description">DESCRIPTION</th>
|
||
|
|
<th class="qty">QTY</th>
|
||
|
|
<th class="weight">WEIGHT (kg)</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
{{range .LineItems}}
|
||
|
|
<tr>
|
||
|
|
<td class="description"><strong>{{.Title}}</strong>{{if .Description}}<br>{{.Description}}{{end}}</td>
|
||
|
|
<td class="qty">{{.Quantity}}</td>
|
||
|
|
<td class="weight">{{if .Weight}}{{.Weight}}{{else}}-{{end}}</td>
|
||
|
|
</tr>
|
||
|
|
{{end}}
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
|
||
|
|
<!-- Footer -->
|
||
|
|
<div class="footer">
|
||
|
|
<div class="services-title">CMC TECHNOLOGIES Provides Solutions in the Following Fields</div>
|
||
|
|
<div class="services-line1">
|
||
|
|
<span class="service-explosion">EXPLOSION PREVENTION AND PROTECTION</span> —
|
||
|
|
<span class="service-fire">FIRE PROTECTION</span> —
|
||
|
|
<span class="service-pressure">PRESSURE RELIEF</span> —
|
||
|
|
<span class="service-vision">VISION IN THE PROCESS</span>
|
||
|
|
</div>
|
||
|
|
<div class="services-line2">
|
||
|
|
<span class="service-flow">FLOW MEASUREMENT</span> —
|
||
|
|
<span class="service-process">PROCESS INSTRUMENTATION</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|