Positionne le pays sur celui sélectionné dans la conf, par défaut lors
de la création
This commit is contained in:
parent
a27601960b
commit
83ff5e5abd
@ -79,7 +79,8 @@ $form = new Form($db);
|
|||||||
|
|
||||||
if ($_GET["action"] == 'create')
|
if ($_GET["action"] == 'create')
|
||||||
{
|
{
|
||||||
if ($user->rights->societe->creer) {
|
if ($user->rights->societe->creer)
|
||||||
|
{
|
||||||
/*
|
/*
|
||||||
* Fiche societe en mode création
|
* Fiche societe en mode création
|
||||||
*/
|
*/
|
||||||
@ -104,7 +105,7 @@ if ($_GET["action"] == 'create')
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans('Country').'</td><td colspan="3">';
|
||||||
print $form->select_pays($soc->pays_id);
|
print $form->select_pays(MAIN_INFO_SOCIETE_PAYS);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td>'.$langs->trans('Phone').'</td><td><input type="text" name="tel"></td>';
|
print '<tr><td>'.$langs->trans('Phone').'</td><td><input type="text" name="tel"></td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user