<% if(item.type != 1427) { %>
<%= item.displayName %>
<% } else {%>
<%= item.displayName %> <%= $.global.format(item.value, 'c') %> <%= item.number.toUpperCase() %>
<% } %>
<% if(item.type != 1545) { %>
<% if (item.type == 1427) { // gift-card %>
Purchased for: <%= item.client.lastName %>, <%= item.client.firstName %>
<% } else {%>
<%= item.shortcut %>
<% }%>
<% if(item.type == 1426) { %> Performed <% } else { %> Sold <% } %> by: <%= employee.code %>
<% } %>
<% if(alerts && alerts.length > 0) { %>
<%= alerts.length %>
<% } else { %>
<% } %>
<%= $.global.format(price, 'c') %>