| <%= t(:field_customer) %> | <%= vehicle.customer ? link_to(vehicle.customer.name, customer_path(vehicle.customer)) : t(:no_customer) %> |
|---|---|
| <%= t(:field_vehicle) %> | <%= vehicle.to_s %> |
| <%= t(:field_vin) %> | <%= render partial: 'vehicles/vin', locals: { vin: vehicle.vin } %> |
| <%= t(:label_trim) %> | <%= vehicle.doors %> <%= t(:label_door) if vehicle.doors? %> <%= vehicle.trim %> |
<%= t(:label_last_service) %> <%= vehicle.last_service_date %> at <%= mileage %> <%= t(:label_miles) %>
<% end %>