Update qbo_customer.rb

This commit is contained in:
2016-04-28 10:03:52 -04:00
parent dd8bf530c9
commit 2ce4e8b346

View File

@@ -39,12 +39,12 @@ class QboCustomer < ActiveRecord::Base
# returns the customer's primary phone
def primary_phone
return @details.primary_phone.free_form_number if @details
return @details.primary_phone.number if @details
end
# returns the customer's mobile phone
def mobile_phone
return @details.mobile_phone.free_form_number if @details
return @details.mobile_phone.number if @details
end
# returns the customer's notes