mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update issue_patch.rb
This commit is contained in:
1 parent
88c1b9c9a2
commit
131976cd71
1 file changed
-3
@@ -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