Typo "cibility"
This commit is contained in:
parent
6263e90ddb
commit
f973a1fb43
@ -918,7 +918,7 @@ class Contact extends CommonObject
|
||||
$result='';
|
||||
$label = '<u>' . $langs->trans("ShowContact") . '</u>';
|
||||
$label.= '<br><b>' . $langs->trans("Name") . ':</b> '.$this->getFullName($langs);
|
||||
//if ($this->cibility_id) $label.= '<br><b>' . $langs->trans("Civility") . ':</b> '.$this->civility_id; // TODO Translate cibilty_id code
|
||||
//if ($this->civility_id) $label.= '<br><b>' . $langs->trans("Civility") . ':</b> '.$this->civility_id; // TODO Translate cibilty_id code
|
||||
$label.= '<br><b>' . $langs->trans("Poste") . ':</b> '.$this->poste;
|
||||
$label.= '<br><b>' . $langs->trans("EMail") . ':</b> '.$this->email;
|
||||
$label.= '<br><b>' . $langs->trans("Phone") . ':</b> '.join(', ',array($this->phone_pro,$this->phone_mobile,$this->phone_perso));
|
||||
|
||||
@ -243,7 +243,7 @@ if (empty($reshook))
|
||||
$object->particulier = GETPOST("private");
|
||||
|
||||
$object->name = dolGetFirstLastname(GETPOST('firstname','alpha'),GETPOST('name','alpha'));
|
||||
$object->civility_id = GETPOST('civility_id'); // Note: cibility id is a code, not an int
|
||||
$object->civility_id = GETPOST('civility_id'); // Note: civility id is a code, not an int
|
||||
// Add non official properties
|
||||
$object->name_bis = GETPOST('name','alpha');
|
||||
$object->firstname = GETPOST('firstname','alpha');
|
||||
@ -995,7 +995,7 @@ else
|
||||
print '<tr class="individualline"><td>'.fieldLabel('FirstName','firstname').'</td>';
|
||||
print '<td><input type="text" size="60" name="firstname" id="firstname" value="'.$object->firstname.'"></td>';
|
||||
print '<td colspan=2> </td></tr>';
|
||||
print '<tr class="individualline"><td>'.fieldLabel('UserTitle','cibility_id').'</td><td>';
|
||||
print '<tr class="individualline"><td>'.fieldLabel('UserTitle','civility_id').'</td><td>';
|
||||
print $formcompany->select_civility($object->civility_id).'</td>';
|
||||
print '<td colspan=2> </td></tr>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user