<table class="table-report" style="width:100%">
  <tr>
    <th>Grupo</th>
    <td colspan="2"><%= @vehicle.group.name %></td>
  </tr>
  <tr>
    <th>Vehículo</th>
    <td colspan="2"><%= @vehicle.name %></td>
  </tr>
  <tr>
    <th>Fecha</th>
    <th>Estado</th>
    <th>Ubicación</th>
  </tr>
  <% @rows.each do |row| %>
      <tr>
          <td class="data-row"><%= row[0] %></td>
          <td class="data-row"><%= row[1] %></td>
          <td class="data-row"><a href="<%= row[2] %>">Ver ubicación</a></td>
      </tr>
  <% end %>
  <tr>
    <td class="data-row" colspan="2"> Tiempo total de motor </td>
    <td class="data-row"><%= @engine_time %> Horas</td>
  </tr>

</table>
