Deposit Receipt PDF

Deposit receipt PDF is created by customizing Standard Customer Deposit PDF Template

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

    <head>
        <link name="NotoSans" type="font" subtype="truetype" src="${nsfont.NotoSans_Regular}" src-bold="${nsfont.NotoSans_Bold}" src-italic="${nsfont.NotoSans_Italic}" src-bolditalic="${nsfont.NotoSans_BoldItalic}" bytes="2" />
        <#if .locale=="zh_CN">
            <link name="NotoSansCJKsc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKsc_Regular}" src-bold="${nsfont.NotoSansCJKsc_Bold}" bytes="2" />
            <#elseif .locale=="zh_TW">
                <link name="NotoSansCJKtc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKtc_Regular}" src-bold="${nsfont.NotoSansCJKtc_Bold}" bytes="2" />
                <#elseif .locale=="ja_JP">
                    <link name="NotoSansCJKjp" type="font" subtype="opentype" src="${nsfont.NotoSansCJKjp_Regular}" src-bold="${nsfont.NotoSansCJKjp_Bold}" bytes="2" />
                    <#elseif .locale=="ko_KR">
                        <link name="NotoSansCJKkr" type="font" subtype="opentype" src="${nsfont.NotoSansCJKkr_Regular}" src-bold="${nsfont.NotoSansCJKkr_Bold}" bytes="2" />
                        <#elseif .locale=="th_TH">
                            <link name="NotoSansThai" type="font" subtype="opentype" src="${nsfont.NotoSansThai_Regular}" src-bold="${nsfont.NotoSansThai_Bold}" bytes="2" />
        </#if>
        <macrolist>
            <macro id="nlheader">
                <table class="header" style="width: 100%;">
                    <tr width="100%">
                        <td width="60.5%" height="45">
                            <img src="https://4071463.app.netsuite.com/core/media/media.nl?id=115&amp;c=4071463&amp;h=4525e56929262d3dcdfa" style=" margin-top: -10px; width:347.62px" height="38" />
                        </td>
                        <td width="39.5%" font-family="Helvetica" margin-top="2px" padding="0.02in 0in 0in -0.04in" align="left"><span class="title"><b>Deposit Receipt</b></span></td>
                    </tr>
                    <tr>
                        <td margin-top="18px" font-size="9pt" padding="-0.2in 0in 0.2in 0.0in"><span class="nameandaddress">4528 55 Ave NW, Edmonton AB T6B 3S2<br />
                                6235B 86 Ave SE, Calgary AB T2C 2S4<br />
                                101-30923 Wheel Ave, Abbotsford BC V2T 6G7<br />
                                P: 888-435-6466 &nbsp;&nbsp; E: sales@expertec.ca<br />
                               GST# 839979275 &nbsp;&nbsp;PST# 1082-3784 </span>
                            <br />
                            <br />
                            <br />
                            <table table-layout="fixed">
                                <tr style="width: 170; ">
                                    <td class="addressheader"><b>Bill To</b></td>
                                </tr>
                                <tr style="width: 170 ">
                                    <td style="width: 75" class="address" rowspan="2">
                                        <#list record.customer.billaddressee?split("<br />",'r') as x>
                                        ${x}
                                        <br /></#list>
                                    </td>
                              </tr></table>
                        </td>
                        <td width="100%" margin-top="-14px" padding="0.0in 0.0in 0.0in -0.04in">
                            <table border="0">
                                <tr>
                                    <td class="extravariable"><b>Date</b></td>
                                    <td class="extravariable" style="margin-left:8px;">${record.trandate}</td>
                                </tr>
                              <tr>
                                    <td class="extravariable"><b>&nbsp;</b></td>
                                    <td class="extravariable">&nbsp;</td>
                                </tr>
                                <tr style="margin-top:5px;">
                                    <td class="extravariable"><b>Payment Method </b></td>
                                    <td class="extravariable" style="margin-left:8px;">${record.paymentmethod}</td>
                                </tr>

                                <tr  style="margin-top:5px;">
                                    <td class="extravariable"><b>Cheque #</b></td>
                                    <td class="extravariable" style="margin-left:8px;"><span class="headname">${record.checknum}</span></td>
                                </tr>

                                <tr style="margin-top:5px;">
                                    <td class="extravariable"><b>Deposit On</b></td>
                                    <td class="extravariable" style="margin-left:8px;"><span class="headname">${record.salesorder}</span></td>
                                </tr>
                                  <tr style="margin-top:5px;">
                                    <td class="extravariable"><b>Sales Rep</b></td>
                                    <td class="extravariable" style="margin-left:8px;"><span class="headname">${record.salesorder.salesrep}</span></td>
                                </tr>
                              <tr style="margin-top:5px;">
                                    <td class="extravariable"><b>Estimate #</b></td>
                                    <td class="extravariable" style="margin-left:8px;"><span class="headname">${record.salesorder.createdfrom}</span></td>
                                </tr>
                               <tr style="margin-top:5px;">
                                    <td class="extravariable"><b>AUTH. #</b></td>
                                    <td class="extravariable" style="margin-left:8px;"><span class="headname">${record.authcode}</span></td>
                                </tr>
                               <tr style="margin-top:5px;">
                                    <td class="extravariable"><b>Payment Profile</b></td>
                                    <td class="extravariable" style="margin-left:8px;"><span class="headname">${record.creditcardprocessor}</span></td>
                                </tr>

                                <tr height="15px"></tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </macro>
            <macro id="nlfooter">
                <table class="footer" style="width: 100%;">
                    <tr>
                        <td>
                        </td>
                        <td align="right">
                        </td>
                    </tr>
                </table>
            </macro>
        </macrolist>
        <style type="text/css">
        * {
            <#if .locale=="zh_CN">font-family: NotoSans, NotoSansCJKsc, sans-serif;
            <#elseif .locale=="zh_TW">font-family: NotoSans, NotoSansCJKtc, sans-serif;
            <#elseif .locale=="ja_JP">font-family: NotoSans, NotoSansCJKjp, sans-serif;
            <#elseif .locale=="ko_KR">font-family: NotoSans, NotoSansCJKkr, sans-serif;
            <#elseif .locale=="th_TH">font-family: NotoSans, NotoSansThai, sans-serif;
            <#else>font-family: NotoSans, sans-serif;
            </#if>
        }

        table {
            font-size: 9pt;
            table-layout: fixed;
        }

        th {
            font-weight: bold;
            font-size: 10pt;
            vertical-align: middle;
            padding: 5px 6px 3px;
            background-color: #8c8a86fa;
            color: #ffffff;
        }

        td {
            padding: 4px 6px;
        }

        td p {
            align: left
        }

        b {
            font-weight: bold;
            color: #333333;
        }

        table.header td {
            padding: 0px;
            font-size: 10pt;
        }

        table.footer td {
            padding: 0px;
            font-size: 8pt;
        }

        table.itemtable th {
            padding-bottom: 5px;
            padding-top: 5px;
        }

        table.body td {
            padding-top: 2px;
        }

        table.total {
            page-break-inside: avoid;
        }

        tr.totalrow {
            background-color: #ffffff;
            line-height: 150%;
        }

        td.extravariable {
            font-size: 9.2pt;
            color: #000000;
        }

        td.totalboxtop {
            font-size: 12pt;

        }

        td.addressheader {
            font-size: 10pt;
            padding-top: 6px;
            padding-bottom: 2px;

        }

        td.address {
            padding-top: 0px;
           padding-right: 35px;
            font-size: 9pt;
            color: #000000;
        }

        td.totalboxmid {
            font-size: 28pt;
            padding-top: 20px;
        }

        td.totalboxbot {
            font-weight: bold;
        }

        span.title {
            font-size: 16pt;
        }

        span.number {
            font-size: 16pt;
        }

        span.itemname {

            line-height: 100%;
        }

        hr {
            width: 100%;
            color: #d3d3d3;
            background-color: #d3d3d3;
            height: 0px;
        }
        </style>
    </head>

    <body header="nlheader" header-height="22%" footer="nlfooter" footer-height="20pt" padding="0.5in 0.5in 0.5in 0.5in" size="Letter"><br/>
                <table cellpadding="5" style="width: 100%;" colspan="8" border-color="#8c8a86fa" border="1px" margin-top="40px">
            <thead>
                <tr>
                    <th class="headerstyle" colspan="3">Vehicle Description</th>
                    <th class="headerstyle" colspan="3" align="left">VIN #</th>
                    <th class="headerstyle" colspan="2" align="left">Unit #</th>
                    <th class="headerstyle" colspan="1">Serial #</th>
                </tr>
            </thead>
           <tr>
            <td colspan="3" class="extravariable"  border-right="1px #8c8a86fa"><span class="headname">${record.salesorder.custbody_vehicle_description}</span></td>
            <td colspan="3" class="extravariable" border-right="1px #8c8a86fa"><span class="headname">${record.salesorder.custbody_vin}</span></td>
            <td colspan="2" class="extravariable" border-right="1px #8c8a86fa"><span class="headname">${record.salesorder.custbody3}</span></td>
            <td colspan="1" class="extravariable"><span class="headname">${record.salesorder.custbody4}
</span></td>
            </tr>
        </table>
    <table class="total" style="width: 100%; margin-top: 10px;">
	<tr class="totalrow">
	<td background-color="#ffffff" colspan="4">&nbsp;</td>
	<td align="right" style="width :25%"><b>Total Deposit Paid</b></td>
	<td align="center">${record.payment}</td>
      </tr>
      </table>
    </body>
</pdf>

Leave a comment

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