Ben Goligowski
11/23/2021, 6:14 PM.voucher th p {
vertical-align: center;
padding: 2px;
}
.voucher-div {
position: absolute;
overflow: hidden;
left: 37pt;
top: 9pt;
height: 220pt;
}
<#if check.apply?has_content>
<div class="voucher-div">
<table class="voucher" style="border: 1px solid black; width: 420pt; height: 220pt;">
<tr style="background-color: #000; color: #fff">
<th style="border-right: 1px solid black; width: 14.28%;">Date</th>
<th style="border-right: 1px solid black; width: 28.57%;">Description</th>
<th style="border-right: 1px solid black; width: 14.28%;">Orig Amt</th>
<th style="border-right: 1px solid black; width: 14.28%;">Amt Due</th>
<th style="border-right: 1px solid black; width: 14.28%;">Discount</th>
<th style="width: 14.28%;">Amount</th>
</tr>
<#list check.apply as apply>
<tr>
<td style="border-right: 1px solid black; width: 14.28%;">${apply.applydate}</td>
<td style="border-right: 1px solid black; width: 28.57%;">${apply.refnum}</td>
<td style="border-right: 1px solid black; width: 14.28%;">${apply.total}</td>
<td style="border-right: 1px solid black; width: 14.28%;">${apply.due}</td>
<td style="border-right: 1px solid black; width: 14.28%;">${apply.discount}</td>
<td style="width: 14.28%;">${apply.amount}</td>
</tr>
</#list>
</table>
</div>
</#if>
And in a perfect world, I'd figure out how to push overflowing voucher info to a second page with a gap at the top to account for the first 1/3 of the check stock. This user did it but I can't figure out how to apply the page count to get it to work right.Ben Goligowski
11/23/2021, 8:44 PM