<p>
<strong>Hello <personalisation:firstname /></strong>
<br /><br />
Just a friendly reminder that you have the following unpaid invoices:
</p>
<br />
<data:repeater id="unpaid_sales_table" datasource="$arrSales" as="arrSale">
[?? \Components\Commerce\Sales::renderAdminText($arrSale, false) ??] issued on [? formatDate($arrSale['sale_datetime']) ?]
<data:table as="saleItems" datasource="\Components\Commerce\Sales\Items::getAllForSale($arrSale['sale_id'])" cellpadding="0" width="" cellspacing="0" border="0">
<data:column>
<small>[? $saleItems['sale_item_quantity'] ?] x [? $saleItems['sale_item_title'] ?]</small>
</data:column>
<data:column align="right">
<small>[?? formatCurrency($saleItems['sale_item_price'], \Components\Commerce\Sales::getColumn($saleItems['sale_id'], 'sale_currency_id'), null, false) ??]</small>
</data:column>
</data:table>
<p style="text-align: right">
<strong>Total: [?? formatCurrency($arrSale['sale_total'], $arrSale['sale_currency_id'], null, true) ??]</strong><br />
<strong>Amount Due: [?? formatCurrency($arrSale['sale_receipt_balance'], $arrSale['sale_currency_id'], null, true) ??]</strong>
</p>
<templates:button variant="Classic" bgcolor="#32a4cd" color="#fff" href="/commerce/view-invoice/?sale_id=[? $arrSale['sale_id'] ?]&token=[? urlencode($arrSale['sale_view_token']) ?]">Pay Online</templates:button>
<br /><br /><br />
</data:repeater>
<p>
<strong>Hello <personalisation:firstname /></strong>
<br /><br />
Just a friendly reminder that you have the following unpaid invoices:
</p>
<br />
<data:repeater id="unpaid_sales_table" datasource="$arrSales" as="arrSale">
[?? \Components\Commerce\Sales::renderAdminText($arrSale, false) ??] issued on [? formatDate($arrSale['sale_datetime']) ?]
<data:table as="saleItems" datasource="\Components\Commerce\Sales\Items::getAllForSale($arrSale['sale_id'])" cellpadding="0" width="" cellspacing="0" border="0">
<data:column>
<small>[? $saleItems['sale_item_quantity'] ?] x [? $saleItems['sale_item_title'] ?]</small>
</data:column>
<data:column align="right">
<small>[?? formatCurrency($saleItems['sale_item_price'], \Components\Commerce\Sales::getColumn($saleItems['sale_id'], 'sale_currency_id'), null, false) ??]</small>
</data:column>
</data:table>
<p style="text-align: right">
<strong>Total: [?? formatCurrency($arrSale['sale_total'], $arrSale['sale_currency_id'], null, true) ??]</strong><br />
<strong>Amount Due: [?? formatCurrency($arrSale['sale_receipt_balance'], $arrSale['sale_currency_id'], null, true) ??]</strong>
</p>
<templates:button variant="Classic" bgcolor="#32a4cd" color="#fff" href="/commerce/view-invoice/?sale_id=[? $arrSale['sale_id'] ?]&token=[? urlencode($arrSale['sale_view_token']) ?]">Pay Online</templates:button>
<br /><br /><br />
</data:repeater>