Displaying 1 result from an estimated 1 matches for "tran_code".
Did you mean:
_run_code
2013 Nov 08
2
Export CSV
...n_actname = "-"%><%end%>
<% if !tran.customer_name.nil? && tran.customer_name.present?%><%cus_name =
tran.customer_name%><%else%><%cus_name = "-"%><%end%>
<% if !tran.ticket_code.nil? && tran.ticket_code.present?%><%tran_code =
tran.ticket_code%><%else%><%tran_code = "-"%><%end%>
<%- row = [ tran_id, tran_actid, tran_actname, cus_name, tran_code ]
-%>
<%#= CSV.generate_line(row).html_safe.strip%>
<%end%>
<%else%>
Sorry we found no results
<%end%>...