mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update issue_patch.rb
This commit is contained in:
@@ -53,9 +53,6 @@ module IssuePatch
|
|||||||
spent_hours ||= spent_time.sum(:hours) || 0
|
spent_hours ||= spent_time.sum(:hours) || 0
|
||||||
|
|
||||||
if spent_hours > 0 then
|
if spent_hours > 0 then
|
||||||
qbo = Qbo.first
|
|
||||||
company_id = qbo.company_id
|
|
||||||
access_token = Qbo.get_base
|
|
||||||
|
|
||||||
# Prepare to create a new Time Activity
|
# Prepare to create a new Time Activity
|
||||||
time_service = Qbo.get_base(:time_activity)
|
time_service = Qbo.get_base(:time_activity)
|
||||||
|
|||||||
Reference in New Issue
Block a user