Custom Item Label templates

<?xml version=“1.0”?><!DOCTYPE pdf PUBLIC “-//big.faceless.org//report” “report-1.1.dtd”>

<pdfset>

    <#list schemaArr.schemaArr as schemaArr>

    <pdf>

        <head>

         

             <link name=“calibri” type=“font” subtype=“opentype” src=“https://1220617.app.netsuite.com/core/media/media.nl?id=402449&amp;c=1220617&amp;h=ahamMYcVmITnHd1sw8qQljFlNdc4yxPh5xbVkwfwxNqDMm5G&amp;_xt=.ttf” src-bold=“https://1220617.app.netsuite.com/core/media/media.nl?id=402450&amp;c=1220617&amp;h=g-6belYxjMdBazk-Fpk_6pIg66ZNFNgkaHNTCSkHTc_p_efv&amp;_xt=.ttf” bytes=“1” />

           

            <style type=“text/css”>*{

                font-family : calibri;

                }

                table { table-layout: fixed; }

            </style>

        </head>

       

       <body padding=“0.09in” width=“4.0in” height=“2.0in”>

            <table width=‘100%’>

           

            <tr>

                <#if schemaArr.itemProcessGroup == ‘2’>

                <td  colspan= ‘2’ > <p align=‘left’ font-size=‘9px’><img src=“https://1220617.app.netsuite.com/core/media/media.nl?id=423761&amp;c=1220617&amp;h=nupllEHFQXVNlblBC1aAwR3lLwGworNv44z1eKZomRsbKhpf” style=“height: 30px; width: 105px;” /></p></td>

                <#elseif schemaArr.itemProcessGroup == ‘1’>

                <td  colspan= ‘2’ > <p align=‘left’ font-size=‘9px’><img src=“https://1220617-sb2.app.netsuite.com/core/media/media.nl?id=81835&amp;c=&amp;h=Bckjv_zlYdBM2EI33id_M2iDGOlW_cPURJ0xzKQm3RPcOEaD” style=“height: 40px; width: 135px;” /></p></td>

                <#elseif schemaArr.itemProcessGroup == ‘3’>

                <td  colspan= ‘2’ > <p align=‘left’ font-size=‘9px’><img src=“https://1220617.app.netsuite.com/core/media/media.nl?id=732929&amp;c=1220617&amp;h=BbzPReFeG3QUoVnK35SfdQnDAQFadiw8mXeg9lmvQhu7vASe&amp;fcts=20230121085724&amp;whence=” style=“height: 40px; width: 135px;” /></p></td>

                </#if>

                <td colspan= ‘2’ valign=“middle”  > <p align=‘right’ padding-left = ‘0px’  font-size=’18pt’><b>QTY: ${schemaArr.boxQty} <span style=‘font-size: 12pt;’>${schemaArr.abrevUnit} </span></b></p> </td>

           

            </tr>

            <tr padding-top=“-13px”>

            <td colspan= ‘4’ valign=“middle”  > <p align=‘right’ padding-left = ‘0px’  font-size=‘8px’><b>${schemaArr.finishProduct}</b></p> </td>

            </tr>

           <tr>

            <td colspan=‘4’ align=“center”><p font-size=’14pt’><b>${schemaArr.itemID}</b></p></td>

               </tr>

           <tr>

             <td width = ‘100%’ colspan= ‘4’><barcode style=” width: 90%; height: 15%; align:center” codetype=“code128” showtext=“true”  value=“${schemaArr.salesdescription}”></barcode></td>

           </tr>

           <tr padding-top=“30px”>

           

            <td colspan= ‘4’  align=“center”> <p align=‘left’ padding-left = ‘0px’  font-size=‘8pt’><b>${schemaArr.selectCountry}</b></p> </td>

       

        </tr>

        </table>

       <!–<table width=’100%’>

            <#if schemaArr.imageURL != ”>

            <tr style=’border-bottom: 1px solid’>

                <td width = ‘80%’ colspan= ‘2’ style=’border-right: 1px solid’><barcode style=” width: 100%; height: 20%; align:center” codetype=”code128″ showtext=”true”  value=”${schemaArr.itemID}”></barcode></td>

                <td  width = ‘20%’ colspan= ‘1’ ><img src=’${schemaArr.imageURL}’ align=’center’ style=’ height:70px;width:60px;’/></td>

            </tr>

            <#else>

            <tr style=’border-bottom: 1px solid’>

                <td width = ‘100%’ colspan= ‘3’><barcode style=” width: 100%; height: 20%; align:center” codetype=”code128″ showtext=”true”  value=”${schemaArr.itemID}”></barcode></td>

            </tr>

        </#if>

    </table>–>

</body>

        </pdf>

        </#list>

        </pdfset>

Leave a comment

Your email address will not be published. Required fields are marked *