This commit is contained in:
Laurent Destailleur 2017-05-18 03:12:29 +02:00
parent 58f789659d
commit ff5d682d49
2 changed files with 6 additions and 11 deletions

View File

@ -1646,8 +1646,8 @@ if ($action == 'create' && $user->rights->commande->creer)
// Note public // Note public
print '<tr>'; print '<tr>';
print '<td class="border" valign="top">' . $langs->trans('NotePublic') . '</td>'; print '<td class="tdtop">' . $langs->trans('NotePublic') . '</td>';
print '<td valign="top" colspan="2">'; print '<td colspan="2">';
$doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%'); $doleditor = new DolEditor('note_public', $note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
print $doleditor->Create(1); print $doleditor->Create(1);
@ -1657,8 +1657,8 @@ if ($action == 'create' && $user->rights->commande->creer)
// Note private // Note private
if (empty($user->societe_id)) { if (empty($user->societe_id)) {
print '<tr>'; print '<tr>';
print '<td class="border" valign="top">' . $langs->trans('NotePrivate') . '</td>'; print '<td class="tdtop">' . $langs->trans('NotePrivate') . '</td>';
print '<td valign="top" colspan="2">'; print '<td colspan="2">';
$doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%'); $doleditor = new DolEditor('note_private', $note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%');
print $doleditor->Create(1); print $doleditor->Create(1);

View File

@ -1056,12 +1056,7 @@ if ($result > 0)
$modCodeContract = new $module(); $modCodeContract = new $module();
} }
// Create
/*********************************************************************
*
* Mode creation
*
*********************************************************************/
if ($action == 'create') if ($action == 'create')
{ {
print load_fiche_titre($langs->trans('AddContract'),'','title_commercial.png'); print load_fiche_titre($langs->trans('AddContract'),'','title_commercial.png');
@ -1158,7 +1153,7 @@ if ($action == 'create')
else else
{ {
print '<td>'; print '<td>';
print $form->select_company('','socid','','SelectThirdParty',1); print $form->select_company('', 'socid', '', 'SelectThirdParty', 1, 0, null, 0, 'minwidth300');
print '</td>'; print '</td>';
} }
print '</tr>'."\n"; print '</tr>'."\n";