Jira Code: CNET-12 Packing list
An advance pdf for a Packing Slip. Packing slips can be printed in two ways. Individual print can be done from the print button of Item
<?xml version="1.0"?>
<!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
<head>
<#if .locale=="ru_RU">
<link name="verdana" type="font" subtype="opentype" src="${nsfont.verdana}" src-bold="${nsfont.verdana_bold}" bytes="2" />
</#if>
<macrolist>
<macro id="nlheader">
<table class="header" style="width: 100%;">
<tr>
<td align="left"><span>
<p align="left" style="margin-top:5px;"><img src="https://system.eu2.netsuite.com/core/media/media.nl?id=2473&c=4528633&h=6ae0488fed10e59cc491" style="width: 150px; height: 65px;" /></p>
</span></td>
<td> </td>
<td style="margin-top:30px;" align="right"><strong><span style="font-size:27px;">Packing List</span></strong></td>
</tr>
<tr>
<td>ELSE Moda Giyim San. Tic. A.Ş.<br></br>Goztepe Mah. Ataturk Cad. No.8/3<br></br>Beykoz, İstanbul 34810, Turkey</td>
<td> </td>
<td align="left" style="font-size:15px;margin-left:30px;"><strong>Date of Issue </strong>${record.trandate}<br /><strong>Sales Order # </strong>${salesorder.tranid}<br /></td>
</tr>
</table>
</macro>
<macro id="nlfooter">
<#assign sum=0.00 />
<#if record.item?has_content>
<#list record.item as item>
<#if !item.item?contains( "Kargo Bedeli" )>
<#assign sum=sum + item.quantity />
</#if>
</#list>
</#if>
<table class="footer" border="0" cellpadding="0" cellspacing="0" style="width:100%;">
<tr>
<td align="left" style="width:80px;"><span style="font-size:12px;text-align:center;">
<pagenumber /> of
<totalpages /> </span></td>
<td style="width:15px;"> </td>
<td style="width:50px;"> </td>
<td class="tdclass" style="width:85px;">
<table width="100%">
<tr style="background-color: #e3e3e3;">
<td height="15px" style="padding-left:6px;">
<strong style="color:#24282B;font-size:13px;">Total Quantity</strong>
</td>
</tr>
<tr>
<td height="15px" style="font-size:13px;padding-left:6px;">
${sum}
</td>
</tr>
</table>
</td>
</tr>
</table>
</macro>
</macrolist>
<style type="text/css">
.spacing_tr {
height: 5px;
}
table {
<#if .locale=="zh_CN">font-family: stsong, sans-serif;
<#elseif .locale=="zh_TW">font-family: msung, sans-serif;
<#elseif .locale=="ja_JP">font-family: heiseimin, sans-serif;
<#elseif .locale=="ko_KR">font-family: hygothic, sans-serif;
<#elseif .locale=="ru_RU">font-family: verdana;
<#else>font-family: sans-serif;
</#if>font-size: 9pt;
table-layout: fixed;
}
th {
font-weight: bold;
font-size: 8pt;
vertical-align: middle;
padding: 5px 6px 3px;
background-color: #e3e3e3;
color: #333333;
border-bottom: 1px solid;
}
td {
padding: 4px 6px;
}
b {
font-weight: bold;
color: #24282B;
}
table.header td {
padding: 0px;
font-size: 10pt;
}
table.footer td {
padding: 0;
font-size: 8pt;
}
table.total {
page-break-inside: auto;
}
tr.totalrow {
background-color: #e3e3e3;
line-height: 200%;
}
span.title {
font-size: 28pt;
}
span.number {
font-size: 16pt;
}
span.itemname {
font-weight: bold;
line-height: 150%;
}
hr {
width: 100%;
color: #d3d3d3;
background-color: #d3d3d3;
height: 1px;
}
.tdclass {
border: 1px solid;
}
table {
border-collapse: none;
}
tr {
border: none;
}
.item {
border-right: 0.5px solid;
}
.no-border {
border-right: none;
}
</style>
</head>
<body header="nlheader" header-height="22%" footer="nlfooter" footer-height="25pt" padding="0.5in 0.5in 0.5in 0.5in" size="A4">
<table border="0" cellpadding="0" cellspacing="0" style="width:70%;padding-top:35px;display: inline-block;">
<tr>
<td class="tdclass" style="width:200px;">
<table width="100%">
<tr style="background-color: #e3e3e3;">
<td>
<strong style="color:#24282B;">Ship To</strong>
</td>
</tr>
<tr>
<td>
${record.shipaddress}
</td>
</tr>
</table>
</td>
<td> </td>
</tr>
</table>
<table align="right" border="0" cellpadding="0" cellspacing="0" style="width:29%;padding-top:-200px;display:inline-block;">
<tr>
<td class="tdclass" style="height:30px;">
<table width="100%">
<tr style="background-color: #e3e3e3;">
<td>
<strong style="color:#24282B;">Purchase Order #</strong>
</td>
</tr>
<tr>
<td>
${record.custbody_else_po_ref}
</td>
</tr>
</table>
</td>
</tr>
<tr class="spacing_tr"> </tr>
<tr>
<td class="tdclass" style="height:30px;">
<table width="100%">
<tr style="background-color: #e3e3e3;">
<td>
<strong style="color:#24282B;">Shipment Booking Ref #</strong>
</td>
</tr>
<tr>
<td>
${record.custbody_else_delivery_not_nr}
</td>
</tr>
</table>
</td>
</tr>
<tr class="spacing_tr"> </tr>
<tr>
<td class="tdclass" style="height:30px;">
<table width="100%">
<tr style="background-color: #e3e3e3;">
<td>
<strong style="color:#24282B;">Incoterms</strong>
</td>
</tr>
<tr>
<td>
${record.custbody_else_ict}
</td>
</tr>
</table>
</td>
</tr>
<tr class="spacing_tr"> </tr>
<tr>
<td class="tdclass" style="height:30px;">
<table width="100%">
<tr style="background-color: #e3e3e3;">
<td height="15px">
<strong style="color:#24282B;">Shipping Method</strong>
</td>
</tr>
<tr>
<td height="15px">
${record.custbody_else_shipping_method}
</td>
</tr>
</table>
</td>
</tr>
</table>
<#if record.item?has_content>
<table border="1" cellpadding="3" cellspacing="0" style="width:100%;page-break-inside: auto;margin-top:13px">
<#list record.item as item>
<#if item_index==0>
<thead>
<tr>
<th scope="col" style="width: 30px;height:35px;" align="center">
<p style="text-align: center;"><span style="font-size:12px;">Carton #</span></p>
</th>
<th scope="col" style="width: 45px;height:35px;" align="center"><span style="font-size:12px;">Model No</span></th>
<th scope="col" style="width: 150px;height:35px;" align="center"><span style="font-size:12px;">Description</span></th>
<th scope="col" style="width: 80px;height:35px;" align="center">
<p style="text-align: center;"><span style="font-size:12px;">Textile Content</span></p>
</th>
<th scope="col" style="width: 65px;height:35px;" align="center"><span style="font-size:12px;">Tariff Code</span></th>
<th scope="col" style="width: 45px;height:35px;" align="center"><span style="font-size:12px;">Color</span></th>
<th scope="col" style="width: 30px;height:35px;" align="center"><span style="font-size:12px;">Size</span></th>
<th scope="col" style="width:30px;height:35px;" align="center">
<p style="text-align: center;"><span style="font-size:12px;">QTY (pcs)</span></p>
</th>
</tr>
</thead>
</#if>
<#if (item_index%2==0 )&&(!item.item?contains( "Kargo Bedeli" ))>
<tr>
<td align="center" class="item" style="width: 30px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_carton}</span></td>
<td align="center" class="item" style="width: 45px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_parentitemdisp}</span></td>
<td align="center" class="item" style="width: 150px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.description }</span></td>
<td align="center" class="item" style="width: 80px;height:35px;vertical-align:middle;">
<p style="text-align: center;"><span style="font-size:11px;">${item.custcol_else_oc_textile_content}</span></p>
</td>
<td align="center" class="item" style="width: 65px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_sol_tariff_code}</span></td>
<td align="center" class="item" style="width: 45px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_sol_colorsdisp}</span></td>
<td align="center" class="item" style="width: 30px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_sol_sizedisp}</span></td>
<td align="center" class="no-border" style="width: 30px; text-align: right;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.quantity}</span></td>
</tr>
</#if>
<#if (item_index%2==1 )&&(!item.item?contains( "Kargo Bedeli" ))>
<tr background-color="#e8e8e8">
<td align="center" class="item" style="width: 30px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_carton}</span></td>
<td align="center" class="item" style="width: 45px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_parentitemdisp}</span></td>
<td align="center" class="item" style="width: 150px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.description }</span></td>
<td align="center" class="item" style="width: 80px;height:35px;vertical-align:middle;">
<p style="text-align: center;"><span style="font-size:11px;">${item.custcol_else_oc_textile_content}</span></p>
</td>
<td align="center" class="item" style="width: 65px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_sol_tariff_code}</span></td>
<td align="center" class="item" style="width: 45px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_sol_colorsdisp}</span></td>
<td align="center" class="item" style="width: 30px;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.custcol_else_sol_sizedisp}</span></td>
<td align="center" class="no-border" style="width: 30px; text-align: right;height:35px;vertical-align:middle;"><span style="font-size:11px;">${item.quantity}</span></td>
</tr>
</#if>
</#list>
</table>
</#if>
</body>
</pdf>