mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-08-18 20:30:43 -04:00
added name function to estimate
This commit is contained in:
@@ -16,6 +16,10 @@ class Estimate < QboBaseModel
|
|||||||
self.primary_key = :id
|
self.primary_key = :id
|
||||||
qbo_sync push: false
|
qbo_sync push: false
|
||||||
|
|
||||||
|
def name
|
||||||
|
to_s
|
||||||
|
end
|
||||||
|
|
||||||
# returns a human readable string
|
# returns a human readable string
|
||||||
def to_s
|
def to_s
|
||||||
return self[:doc_number]
|
return self[:doc_number]
|
||||||
|
|||||||
Reference in New Issue
Block a user