diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php
index 8459a4a5e9e..07f25b40ed8 100644
--- a/htdocs/commande/card.php
+++ b/htdocs/commande/card.php
@@ -1646,8 +1646,8 @@ if ($action == 'create' && $user->rights->commande->creer)
// Note public
print '
';
- print '| ' . $langs->trans('NotePublic') . ' | ';
- print '';
+ print ' | ' . $langs->trans('NotePublic') . ' | ';
+ print '';
$doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
print $doleditor->Create(1);
@@ -1657,8 +1657,8 @@ if ($action == 'create' && $user->rights->commande->creer)
// Note private
if (empty($user->societe_id)) {
print ' |
';
- print '| ' . $langs->trans('NotePrivate') . ' | ';
- print '';
+ print ' | ' . $langs->trans('NotePrivate') . ' | ';
+ print '';
$doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
print $doleditor->Create(1);
diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php
index 4accbed5636..0e0f8c84090 100644
--- a/htdocs/contrat/card.php
+++ b/htdocs/contrat/card.php
@@ -1056,12 +1056,7 @@ if ($result > 0)
$modCodeContract = new $module();
}
-
-/*********************************************************************
- *
- * Mode creation
- *
- *********************************************************************/
+// Create
if ($action == 'create')
{
print load_fiche_titre($langs->trans('AddContract'),'','title_commercial.png');
@@ -1158,7 +1153,7 @@ if ($action == 'create')
else
{
print ' | ';
- print $form->select_company('','socid','','SelectThirdParty',1);
+ print $form->select_company('', 'socid', '', 'SelectThirdParty', 1, 0, null, 0, 'minwidth300');
print ' | ';
}
print '
'."\n";