Updated help messages to reflect the requirements around first/last/company_name and display_name. Actually, the messages don't make any mention of company_name, but it can be used for display_name as well.
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@763 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -391,17 +391,17 @@ echo($this->element
|
||||
array('class' => 'item contact detail',
|
||||
'caption' => isset($this->data['Contact']) ? 'Edit Contact' : 'New Contact',
|
||||
'fields' => array
|
||||
('last_name' => array('label_attributes' => array('class' => 'required empty'),
|
||||
'after' => "Required."),
|
||||
('last_name' => array('label_attributes' => array('class' => 'recommended empty'),
|
||||
'after' => "Recommended."),
|
||||
'first_name' => array('label_attributes' => array('class' => 'recommended empty'),
|
||||
'after' => "Recommended."),
|
||||
'middle_name' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional."),
|
||||
'display_name' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional: Will default to customer name."),
|
||||
'company_name' => array('name' => 'Company',
|
||||
'label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional: Company name, if corporate contact."),
|
||||
'display_name' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional with first/last name; Required otherwise."),
|
||||
'id_federal' => array('name' => 'SSN',
|
||||
'label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional: Social Security Number."),
|
||||
@@ -410,7 +410,7 @@ echo($this->element
|
||||
'after' => "Recommended: Driver's license, for example."),
|
||||
'id_local_state' => array('name' => 'ID State',
|
||||
'label_attributes' => array('class' => 'recommended empty'),
|
||||
'after' => "Recommended: State which issued the ID"),
|
||||
'after' => "Recommended: State which issued the ID."),
|
||||
/* 'id_local_exp' => array('name' => 'ID Expiration', */
|
||||
/* 'opts' => array('empty' => true)), */
|
||||
'comment' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
|
||||
@@ -135,17 +135,17 @@ function customerContactTypeDiv($obj, $stype, $values = null) {
|
||||
}
|
||||
elseif ($stype === 'new') {
|
||||
$fields = array
|
||||
('last_name' => array('label_attributes' => array('class' => 'required empty'),
|
||||
'after' => "Required."),
|
||||
('last_name' => array('label_attributes' => array('class' => 'recommended empty'),
|
||||
'after' => "Recommended."),
|
||||
'first_name' => array('label_attributes' => array('class' => 'recommended empty'),
|
||||
'after' => "Recommended."),
|
||||
'middle_name' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional."),
|
||||
'display_name' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional: Will default to customer name."),
|
||||
'company_name' => array('name' => 'Company',
|
||||
'label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional: Company name, if corporate contact."),
|
||||
'display_name' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional with first/last name; Required otherwise."),
|
||||
'id_federal' => array('name' => 'SSN',
|
||||
'label_attributes' => array('class' => 'optional empty'),
|
||||
'after' => "Optional: Social Security Number."),
|
||||
@@ -154,7 +154,7 @@ function customerContactTypeDiv($obj, $stype, $values = null) {
|
||||
'after' => "Recommended: Driver's license, for example."),
|
||||
'id_local_state' => array('name' => 'ID State',
|
||||
'label_attributes' => array('class' => 'recommended empty'),
|
||||
'after' => "Recommended: State which issued the ID"),
|
||||
'after' => "Recommended: State which issued the ID."),
|
||||
/* 'id_local_exp' => array('name' => 'ID Expiration', */
|
||||
/* 'opts' => array('empty' => true)), */
|
||||
'comment' => array('label_attributes' => array('class' => 'optional empty'),
|
||||
|
||||
Reference in New Issue
Block a user