mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-08-19 05:30:42 -04:00
Add vehicle appointment hook and localization for 'Add Vehicle' label
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<% if appointment.customer.present? %>
|
||||
<% unless appointment.vehicle.present? &&%>
|
||||
<p>
|
||||
<%= link_to new_vehicle_path(customer_id: appointment.customer_id), class: 'icon icon-add' do %>
|
||||
<%= l(:label_add_vehicle) %>
|
||||
<% end %>
|
||||
</p>
|
||||
<% end %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user