<%= t(:label_details) %>:

<%= 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(:field_notes) %>:

<%= t(:field_notes) %>:
<% if vehicle.notes.present? %>
<%= textilizable(vehicle, :notes) %>
<% end %>
<% mileage = vehicle.last_service_mileage %> <% if mileage %>

<%= t(:label_last_service) %> <%= vehicle.last_service_date %> at <%= mileage %> <%= t(:label_miles) %>

<% end %>