Close #16075
This commit is contained in:
parent
0de06b7ef4
commit
8a13ad2f26
@ -665,8 +665,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action))
|
||||
print $formcompany->select_civility(GETPOSTISSET("civility_code") ? GETPOST("civility_code", 'alpha') : $object->civility_code, 'civility_code');
|
||||
print '</td></tr>';
|
||||
|
||||
// Job position
|
||||
print '<tr><td><label for="title">'.$langs->trans("PostOrFunction").'</label></td>';
|
||||
print '<td colspan="3"><input name="poste" id="title" type="text" class="minwidth100" maxlength="80" value="'.dol_escape_htmltag(GETPOST("poste", 'alpha') ?GETPOST("poste", 'alpha') : $object->poste).'"></td>';
|
||||
print '<td colspan="3"><input name="poste" id="title" type="text" class="minwidth100" maxlength="255" value="'.dol_escape_htmltag(GETPOSTISSET("poste") ?GETPOST("poste", 'alphanohtml') : $object->poste).'"></td>';
|
||||
|
||||
$colspan = 3;
|
||||
if ($conf->use_javascript_ajax && $socid > 0) $colspan = 2;
|
||||
@ -968,8 +969,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action))
|
||||
print $formcompany->select_civility(GETPOSTISSET("civility_code") ? GETPOST("civility_code", "aZ09") : $object->civility_code, 'civility_code');
|
||||
print '</td></tr>';
|
||||
|
||||
// Job position
|
||||
print '<tr><td><label for="title">'.$langs->trans("PostOrFunction").'</label></td>';
|
||||
print '<td colspan="3"><input name="poste" id="title" type="text" class="minwidth100" maxlength="80" value="'.(GETPOSTISSET("poste") ? GETPOST("poste") : $object->poste).'"></td></tr>';
|
||||
print '<td colspan="3"><input name="poste" id="title" type="text" class="minwidth100" maxlength="255" value="'.dol_escape_htmltag(GETPOSTISSET("poste") ? GETPOST("poste", 'alphanohtml') : $object->poste).'"></td></tr>';
|
||||
|
||||
// Address
|
||||
print '<tr><td><label for="address">'.$langs->trans("Address").'</label></td>';
|
||||
|
||||
@ -119,3 +119,5 @@ ALTER TABLE llx_societe CHANGE fk_entrepot fk_warehouse INTEGER DEFAULT NULL;
|
||||
--ALTER TABLE llx_societe ADD CONSTRAINT fk_propal_fk_warehouse FOREIGN KEY (fk_warehouse) REFERENCES llx_entrepot(rowid);
|
||||
ALTER TABLE llx_societe ADD INDEX idx_societe_warehouse(fk_warehouse);
|
||||
|
||||
ALTER TABLE llx_socpeople MODIFY poste varchar(255);
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ create table llx_socpeople
|
||||
fk_departement integer,
|
||||
fk_pays integer DEFAULT 0,
|
||||
birthday date,
|
||||
poste varchar(80),
|
||||
poste varchar(255),
|
||||
phone varchar(30),
|
||||
phone_perso varchar(30),
|
||||
phone_mobile varchar(30),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user