mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Setter for notes
This commit is contained in:
1 parent
2e32d8f6e5
commit
f094ef57ec
1 file changed
+7
@@ -88,6 +88,13 @@ class Customer < ActiveRecord::Base
|
|||||||
update_mobile_phone_number
|
update_mobile_phone_number
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Convenience Method
|
||||||
|
# Sets the notes
|
||||||
|
def notes=(s)
|
||||||
|
pull unless @details
|
||||||
|
@details.notes = s
|
||||||
|
end
|
||||||
|
|
||||||
# update the localy stored phone number as a plain string with no special chars
|
# update the localy stored phone number as a plain string with no special chars
|
||||||
def update_phone_number
|
def update_phone_number
|
||||||
begin
|
begin
|
||||||
|
|||||||
Reference in new issue
Block a user