mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
53 lines
924 B
Plaintext
53 lines
924 B
Plaintext
<table>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<th>Customer</th>
|
|
<td><%= vehicle.customer.name %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Vehicle</th>
|
|
<td><%= vehicle.to_s %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>VIN</th>
|
|
<td><%= vehicle.vin %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Style</th>
|
|
<td><%= vehicle.style %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Drive</th>
|
|
<td><%= vehicle.drive %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Doors</th>
|
|
<td><%= vehicle.doors %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Notes</th>
|
|
<td><%= vehicle.notes %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>Issues</th>
|
|
<td><%= vehicle.issues.count %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td/>
|
|
<td>
|
|
<%= button_to "Edit", edit_vehicle_path(vehicle), method: :get%>
|
|
<%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|