<% if @re_history.nil? || @re_history["processes"].nil? || @re_history["processes"].empty? %>
Not Processed
<% else %> <% @re_history["processes"].each do |re_process| %>
" href="#<%= re_process["process_id"] %>"> <%= re_process["plan_code"] %> V.<%= re_process["plan_version"] %>
<%= re_process["started_at"].nil? ? '' : Time.parse(re_process["started_at"]).strftime('%d %b %Y - %H:%M') %>

<% end %> <% if !@re_history["processes"].empty? && (@re_history["next_page"] || @re_history["previous_page"]) %> " href='#<%= @re_history["next_page"] || '1' %>'> " href='#<%= @re_history["previous_page"] || '1' %>'> <% end %> <% end %>