Changeset [ec05030728f94e2e0e39ee038a0262feddcd4744] by Peter McCurdy

August 16th, 2010 @ 09:40 PM

If a contact has no name, fill in the account name instead.

Normally, you can't have a contact with no personal name, but external
scripts might not always have a full name available to import when a
contact is just the general contact information for a company.

So just display the company name in that case.
(cherry picked from commit 21ca4bda1b4272bfb59ac4eec5ebfce647b44352) http://github.com/michaeldv/fat_free_crm/commit/ec05030728f94e2e0e3...

Committed by Peter McCurdy

  • M app/models/contact.rb
  • M app/views/contacts/_contact.html.haml
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond