mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Webhook
This commit is contained in:
@@ -80,15 +80,15 @@ class QboController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
if entity['name'].eql? "Invoice"
|
if entity['name'].eql? "Invoice"
|
||||||
Invoice.sync_by_id(entity['id'].to_i)
|
QboInvoice.sync_by_id(entity['id'].to_i)
|
||||||
end
|
end
|
||||||
|
|
||||||
if entity['name'].eql? "Estimate"
|
if entity['name'].eql? "Estimate"
|
||||||
Estimate.sync_by_id(entity['id'].to_i)
|
QboEstimate.sync_by_id(entity['id'].to_i)
|
||||||
end
|
end
|
||||||
|
|
||||||
if entity['name'].eql? "Employee"
|
if entity['name'].eql? "Employee"
|
||||||
Employee.sync_by_id(entity['id'].to_i)
|
QboEmployee.sync_by_id(entity['id'].to_i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user