<% if @other != 0.0 %>
<% else %>
<% end %>
<% if @ppamount != 0.0 %>
<% else %>
<% end %>
<% if @visacount != 0.0 %>
<% else %>
<% end %>
<% if @jcbcount != 0.0 %>
<% else %>
<% end %>
<% if @mastercount != 0.0 %>
Master
<%= @mastercount %>
<% else %>
<% end %>
Balance
<%= @sale_data.grand_total %>