{@com.eszes.saas.app.be.bms.ecom.model.com.PosRefundMail mail} {! POS OP-2a: the refund mail, i.e. the credit note of a till refund (spec ยง5, UK VAT): title, refund number and date, the original receipt's number and date, the lines, VAT by rate, the total, the legs (gift cards masked) and the supplier with its VAT number (hidden when brand.tax-id is unset). MailService.sendPosRefundEmail sends it only to the order's receipt email, never to the tenant CCs. Every figure is preformatted (PosRefundMail.of). !} {mail.title} {mail.refundNumber}

{mail.title}

{#if mail.sellerName}{mail.sellerName}
{/if} {#if mail.sellerAddress}{mail.sellerAddress}
{/if} {#if mail.taxIdLine}{mail.taxIdLine}{/if}

Refund {mail.refundNumber}, {mail.refundDate}
Original receipt #{mail.orderNumber}, {mail.orderDate}

{#for line in mail.lines} {/for}
ItemQtyAmount
{line.name}{line.quantity}{line.amount}
{#if !mail.taxEnabled} {#else if mail.gst && !mail.gstRows.isEmpty()} {#for row in mail.gstRows} {/for}
GSTTaxableAmount
{row.rate}{row.net}{row.vat}
{#else if !mail.vat.isEmpty()} {#for row in mail.vat} {/for}
VAT rateNetVAT
{row.rate}{row.net}{row.vat}
{/if}

Total refunded: {mail.total}

{#for leg in mail.tenders} {/for}
{leg.label}{leg.amount}