Jira Code: AN-78
For removing the vendor, customer and employee name from the payee field value should be fetched from the PRINT ON CHECK AS field in the corresponding record.
Advanced 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>
<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>
}
.check table, .voucher1 table, .voucher2 table {
position: relative;
overflow: hidden;
font-size: 9pt;
padding: 0;
}
td p { align:left }
</style>
</head>
<body padding="0.5in 0.5in 0.5in 0.5in" size="Letter">
<#list records as check>
<div style="position: relative;font-family: Helvetica,sans-serif;top= -11pt;height: 250pt;width: 612pt;page-break-inside: avoid;font-size: 10pt;">
<table style="position: absolute;overflow: hidden;left: 489pt;top: 8pt;height: 7pt;width: 85pt;font-size: 7pt;"><tr>
<td align="center">${check.checknumber}</td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 466pt;top: 25pt;height: 18pt;width: 108pt; font-size: 10pt;"><tr>
<td>${check.trandate}</td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 45pt;top: 50pt;height: 18pt;width: 393pt; font-size: 10pt;"><tr> <!--previously top 69 pt -->
<td><#if check.entity.printoncheckas?has_content>${check.entity.printoncheckas} <#elseif check.entity.companyname?length != 0>${check.entity.companyname} <#else >${check.entity}</#if></td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 463pt;top: 45pt;height: 18pt;width: 111pt; font-size: 10pt;"><tr> <!--previously top 69 pt -->
<td>**<#if (check.usertotal?length > 0)>${check.usertotal}<#else>${check.total}</#if></td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 2pt;top: 70pt;height: 18pt;width: 572pt; font-size: 10pt;"><tr> <!-- previously top 93 pt-->
<td>${check.totalwords}*******************************************************</td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 37pt;top: 95pt;height: 80pt;width: 537pt; font-size: 10pt;"><tr>
<td>${check.address}</td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 20pt;top: 145pt;height: 18pt;width: 572pt; font-size: 10pt;"><tr>
<td>${check.memo}</td>
</tr></table>
</div>
<div style="position: relative;font-family: Helvetica,sans-serif;height: 250pt;width: 612pt;page-break-before: avoid;font-size: 9pt;">
<table style="position: absolute;overflow: hidden;left: 403pt;top: -16pt;height: 7pt;width: 40pt;font-size: 7pt;"><tr>
<td align="center">${check.checknumber}</td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 412pt;top: -2pt;height: 13pt;width: 70pt;"><tr>
<td>${check.trandate}</td>
</tr></table>
<table style="position: absolute;overflow: hidden;left: 36pt;top: -2pt;height: 13pt;width: 157pt;"><tr>
<td>${check.entity.companyname}</td>
</tr></table>
<br /><br />
<#if check.apply?has_content>
<table class="itemtable" style="width: 100%; margin-top: 10px;"><!-- start apply sublist --><#list check.apply as apply><#if apply_index==0>
<thead>
<tr>
<th align="center" colspan="2">${apply.applydate@label}</th>
<th colspan="2">${apply.type@label}</th>
<th colspan="2">${apply.refnum@label}</th>
<th align="left" colspan="3">${apply.total@label}</th>
<th align="left" colspan="3">${apply.due@label}</th>
<th align="left" colspan="2">${apply.disc@label}</th>
<th align="left" colspan="3">${apply.amount@label}</th>
</tr>
</thead>
</#if><tr>
<td align="center" colspan="2" line-height="150%">${apply.applydate}</td>
<td colspan="2">${apply.type}</td>
<td colspan="2">${apply.refnum}</td>
<td align="left" colspan="3">${apply.total}</td>
<td align="left" colspan="3">${apply.due}</td>
<td align="left" colspan="2">${apply.disc}</td>
<td align="left" colspan="3">${apply.amount}</td>
</tr>
</#list><!-- end apply --></table>
</#if>
<table style="position: absolute;overflow: hidden;left: 9pt;top: 204pt;height: 13pt;width: 134pt;"><tr>
<td>${check.total}</td>
</tr></table>
</div>
</#list>
</body>
</pdf>