mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-04-02 16:21:58 -04:00
Added comments
This commit is contained in:
@@ -103,6 +103,7 @@ class SyncServiceBase
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Map remote attributes to local model fields, this should be implemented in subclasses
|
||||||
process_attributes(local, remote)
|
process_attributes(local, remote)
|
||||||
|
|
||||||
if local.changed?
|
if local.changed?
|
||||||
@@ -110,6 +111,7 @@ class SyncServiceBase
|
|||||||
log "Updated #{@entity.name} #{remote.id}"
|
log "Updated #{@entity.name} #{remote.id}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Handle attaching documents if applicable to invoices
|
||||||
attach_documents(local, remote)
|
attach_documents(local, remote)
|
||||||
|
|
||||||
rescue => e
|
rescue => e
|
||||||
|
|||||||
Reference in New Issue
Block a user