mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-03 17:00:43 -04:00
Webhook
This commit is contained in:
1 parent
d261b156bd
commit
670b0aac67
1 file changed
+3
-3
@@ -80,15 +80,15 @@ class QboController < ApplicationController
|
||||
end
|
||||
|
||||
if entity['name'].eql? "Invoice"
|
||||
Invoice.sync_by_id(entity['id'].to_i)
|
||||
QboInvoice.sync_by_id(entity['id'].to_i)
|
||||
end
|
||||
|
||||
if entity['name'].eql? "Estimate"
|
||||
Estimate.sync_by_id(entity['id'].to_i)
|
||||
QboEstimate.sync_by_id(entity['id'].to_i)
|
||||
end
|
||||
|
||||
if entity['name'].eql? "Employee"
|
||||
Employee.sync_by_id(entity['id'].to_i)
|
||||
QboEmployee.sync_by_id(entity['id'].to_i)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user