mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
update txn_date too
This commit is contained in:
@@ -46,6 +46,7 @@ class QboEstimate < ActiveRecord::Base
|
|||||||
estimate = get_base.fetch_by_id(id)
|
estimate = get_base.fetch_by_id(id)
|
||||||
qbo_estimate = find_or_create_by(id: id)
|
qbo_estimate = find_or_create_by(id: id)
|
||||||
qbo_estimate.doc_number = estimate.doc_number
|
qbo_estimate.doc_number = estimate.doc_number
|
||||||
|
qbo_estimate.txn_date = estimate.txn_date
|
||||||
qbo_estimate.save!
|
qbo_estimate.save!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user