mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-10-04 09:10:44 -04:00
Add vehicle appointment hook and localization for 'Add Vehicle' label
This commit is contained in:
1 parent
7158a8b02c
commit
a9d0eafa40
4 files changed
+39
No files matched your search
@@ -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