mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-11-17 21:50:37 -05:00
Depend on redmine_qbo for estimate issues and labor hours
Billing has been folded into redmine_qbo 2026.11.0; the settings link now opens redmine_qbo's settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
10 files changed
+21
-27
No files matched your search
@@ -1,4 +1,4 @@
|
||||
<%# Add appointment link on an estimate's page (redmine_qbo_billing) %>
|
||||
<%# Add appointment link on an estimate's page (redmine_qbo) %>
|
||||
<% if User.current.allowed_to?(:add_customer_appointments, nil, global: true) %>
|
||||
<% vehicle = customer.vehicles.detect { |v| v.vin.to_s.casecmp?(vin.to_s.strip) } if vin.present? && customer.respond_to?(:vehicles) %>
|
||||
<%= link_to sprite_icon('time-add', l(:label_add_appointment)),
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%# Issues from the estimate are made by redmine_qbo_billing, with this appointment's dates, technician and vehicle %>
|
||||
<%# Issues from the estimate are made by redmine_qbo, with this appointment's dates, technician and vehicle %>
|
||||
<% if @appointment.estimate && User.current.allowed_to?(:create_estimate_issues, nil, global: true) %>
|
||||
<%= link_to issues_preview_qbo_estimate_path(@appointment.estimate_id, appointment_id: @appointment.id) do %>
|
||||
<i class="fa-solid fa-list-check"></i> <%= l(:button_create_issues_from_estimate) %>
|
||||
|
||||
Reference in new issue
Block a user