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
@@ -11,7 +11,7 @@
|
||||
module RedmineQboCalendar
|
||||
module Hooks
|
||||
|
||||
# Hooks for redmine_qbo_billing
|
||||
# Hooks for redmine_qbo's billing
|
||||
class BillingHookListener < Redmine::Hook::Listener
|
||||
|
||||
# "Create issues" opened from an appointment (?appointment_id=): the issues get the appointment's dates,
|
||||
|
||||
@@ -20,7 +20,7 @@ module RedmineQboCalendar
|
||||
locals: { customer: context[:customer] })
|
||||
end
|
||||
|
||||
# Adds "Add appointment" to an estimate's page in redmine_qbo_billing (:view_qbo_estimate_contextual),
|
||||
# Adds "Add appointment" to an estimate's page in redmine_qbo (:view_qbo_estimate_contextual),
|
||||
# with the customer, the estimate and the vehicle matching its VIN filled in
|
||||
def view_qbo_estimate_contextual(context = {})
|
||||
customer = Customer.find_by(id: context[:customer_id])
|
||||
|
||||
Reference in new issue
Block a user