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
@@ -81,7 +81,7 @@ class CustomerAppointment < ActiveRecord::Base
|
||||
end
|
||||
|
||||
# The estimate's labor hours rounded up to whole hours (appointment hours are whole numbers): the
|
||||
# quantities of its lines whose item matches redmine_qbo_billing's item codes (e.g. Labor). 0 if the
|
||||
# quantities of its lines whose item matches redmine_qbo's item codes (e.g. Labor). 0 if the
|
||||
# estimate can't be read from QuickBooks.
|
||||
def self.estimate_labor_hours(estimate)
|
||||
return 0 if estimate.nil?
|
||||
|
||||
Reference in new issue
Block a user