XochisSketches
11/22/2021, 11:25 PMrustyshackles
11/23/2021, 6:37 AMDATTA
11/23/2021, 7:27 AMDATTA
11/23/2021, 7:28 AM<barcode codetype="qrcode" showtext="true" height="150" width="150" value="${result1} ${'\n'}dattatraya" > </barcode>
Don Conrad
11/23/2021, 3:18 PMBen 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, 6:16 PMDon Conrad
11/23/2021, 6:49 PMSuite Deal
11/23/2021, 10:27 PM${result.billaddress}
does NOT respect the <br> tags that are inherent in the XML. Any suggestions?irurzo
11/24/2021, 4:14 PMshowtext=true
but the text shown is really small compared to the size of the barcode, is there a way to only change the size of the text under the element?reptar
11/24/2021, 7:51 PMEsteban Damazio
11/25/2021, 2:50 AMAlan Fitch
11/28/2021, 8:35 PMsuiteExperimenter
11/29/2021, 7:17 AMDATTA
11/29/2021, 7:34 AMrazer456
12/02/2021, 6:42 PM<#if JSON.data.endUser?has_content>
<table style="width: 100%;">
<tr>
<th colspan="6" class="border">Bill To</th>
<th colspan="6" class="border">End User</th>
</tr>
<tr>
<td colspan="6" class="border" style="border-top:0;min-height:40px;">${JSON.data.custBillToAdd}</td>
<td colspan="6" class="border" style="border-top:0;min-height:40px;">${JSON.data.endUser}</td>
</tr>
</table>
<#else>
<table style="width: 100%;">
<tr>
<th colspan="6" class="border">Bill To</th>
<p colspan="6"> </p>
</tr>
<tr>
<td colspan="6" class="border" style="border-top:0;min-height:40px;">${JSON.data.custBillToAdd}</td>
<p colspan="6"> </p>
</tr>
</table></#if>
al3xicon
12/02/2021, 7:10 PMericbirdsall
12/03/2021, 7:04 PMrecord.shipmethod?upper_case?contains("PRIORITY")
but this doesn't catch a shipping method of "Priority Overnight"Alan Fitch
12/06/2021, 2:51 PMAlan Fitch
12/06/2021, 2:58 PM<p><b>hello</b></p>
I want bolded text with the word hello.Alan Fitch
12/06/2021, 8:07 PMalien4u
12/06/2021, 8:27 PMalien4u
12/06/2021, 8:27 PMAlan Fitch
12/06/2021, 8:58 PMscottvonduhn
12/06/2021, 9:09 PM?no_esc
built-in to disable auto-escaping: https://freemarker.apache.org/docs/ref_builtins_string.html#ref_builtin_no_escNS Admin
12/07/2021, 4:39 PM<#list record.item as item>
I tried:
<#list record.customrecord_monthlyusage as item>
<#list record.customrecord_monthlyusage as usage>
<#list record.custrecord_linktotransaction as usage> (this is the field that joins the custom record to the custom transaction)
all without success.mattb
12/07/2021, 11:18 PM<pdfset><#list 1..2 as x>
to print an advanced pdf template twice, however i now only want this to action when a custom body field contains a certain value. i’m struggling to get the editor to play nice with an <#if>
statement. would anyone have any ideas?Azi
12/08/2021, 8:43 PM<pagenumber>
or <totalpages>
as variable so I can only display something on the last page?
For example I am trying to accomplish something like this
<#if pagenumber == totalpages>
<pagenumber/>
of
<totalpages/>
</#if>
Slackbot
12/09/2021, 2:45 PMtuli
12/14/2021, 9:32 AM