<%= $.global.format(shortcut == 'CASH' ? cashTotal : totalPayments, 'c') %>
<% if(PermModel.isVisible('evo.drawer.close_viewactualdifference')) { %>
disabled="disabled"<% } %>/>
<% } %>
<% if(PermModel.isVisible('evo.drawer.close_viewactualdifference')) { %>
<%
var diffClass = '';
if (amountDifference > 0) diffClass = 'positive';
else if (amountDifference<0) diffClass = 'negative';
%>
<%= $.global.format(amountDifference, 'c') %>
<% } %>
<% if(catDisplayName !== 'Cash' && catDisplayName !== 'Gift Card') { %>