Positionne le pays sur celui sélectionné dans la conf, par défaut lors

de la création
This commit is contained in:
Rodolphe Quiedeville 2004-07-21 08:46:32 +00:00
parent a27601960b
commit 83ff5e5abd

View File

@ -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>';