Added flash notification for deleted customers.

This commit is contained in:
2026-02-13 08:01:02 -05:00
parent 5165bc20b4
commit b02a40827d
3 changed files with 6 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
<tr>
<th><%= t(:field_customer)%></th>
<td><%= link_to(vehicle.customer.name, customer_path(vehicle.customer)) if vehicle.customer %></td>
<td><%= vehicle.customer ? link_to(vehicle.customer.name, customer_path(vehicle.customer)) : t(:no_customer) %></td>
</tr>
<tr>