printing a customer refund check ends up without a...
# ask-stanley-ai
e
printing a customer refund check ends up without an “entity” on the check; the payee is missing. how to handle this?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems like the issue of the missing 'entity' or 'payee' on the customer refund check is related to the template being used to print the check. The template should reference the correct field that contains the payee's name. In the standard check form, the
${check.entity}
variable is used to print the payee's name. However, if the 'Print on Check As' field on the vendor record is not null, it should print the value of this field instead of the vendor name. Here is the solution that was shared:
Copy code
<#if check.entity.printoncheckas?has_content>${check.entity.printoncheckas}<#else>${check.entity}</#if>
This code checks if the 'Print on Check As' field has content. If it does, it prints the value of this field. If it doesn't, it prints the value of the 'entity' field. If you're still experiencing issues, it might be worth checking the template you're using. The 'US Voucher Check PDF/HTML Template' was mentioned in the conversations, and it was noted that this template references the 'check' variable. If you're using a different template, it might reference a different variable, which could be causing the issue. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.866774678
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848966956
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825292528
Please provide your feedback on this answer.