diff --git a/htdocs/categories/card.php b/htdocs/categories/card.php index 2a23a4a8784..e865bc5ce71 100644 --- a/htdocs/categories/card.php +++ b/htdocs/categories/card.php @@ -244,7 +244,7 @@ if ($user->hasRight('categorie', 'creer')) { print dol_get_fiche_head(); - print ''; + print '
'; // Ref print ''; @@ -265,7 +265,7 @@ if ($user->hasRight('categorie', 'creer')) { // Position print ''; - print ''; // Parent category diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index d80f7b9d1bb..ab5bf5d89c5 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1751,10 +1751,11 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio print ''; print ''; print ''; // Add logo diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index a491051e74c..93e999b2495 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1884,10 +1884,12 @@ maxscreenheightless200 { select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection):not(.select2-dropdown), input.widthcentpercentminusx { width: calc(100% - 52px) !important; display: inline-block; + min-width: 100px; } select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection):not(.select2-dropdown), input.widthcentpercentminusxx { width: calc(100% - 70px) !important; display: inline-block; + min-width: 100px; } @@ -1928,6 +1930,7 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx { width: calc(100% - 70px) !important; display: inline-block; + min-width: 100px; } input.maxwidthinputfileonsmartphone { diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 1d56e60b832..61e59572138 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -2049,10 +2049,12 @@ tr.nobottom td { select.widthcentpercentminusx, span.widthcentpercentminusx:not(.select2-selection), input.widthcentpercentminusx { width: calc(100% - 50px) !important; display: inline-block; + min-width: 100px; } select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx { width: calc(100% - 70px) !important; display: inline-block; + min-width: 100px; } /* Force values for small screen 768 */ @@ -2086,6 +2088,7 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-selection), input.widthcentpercentminusxx { width: calc(100% - 70px) !important; display: inline-block; + min-width: 100px; } input.maxwidthinputfileonsmartphone {
'.$langs->trans("Position").''; + print ''.$langs->trans("Position").''; print'
'.$form->editfieldkey('AllocateCommercial', 'commercial_id', '', $object, 0).''; - $userlist = $form->select_dolusers('', '', 0, null, 0, '', '', '0', 0, 0, 'AND u.statut = 1', 0, '', '', 0, 2); + // TODO Use select_doluser in multiselect mode + $userlist = $form->select_dolusers($selected, '', 0, null, 0, '', '', '0', 0, 0, 'AND u.statut = 1', 0, '', '', 0, 2); // Note: If user has no right to "see all thirdparties", we force selection of sale representative to him, so after creation he can see the record. $selected = (GETPOSTISARRAY('commercial') ? GETPOST('commercial', 'array:int') : (GETPOSTINT('commercial') > 0 ? array(GETPOSTINT('commercial')) : array($user->id))); - print img_picto('', 'user').$form->multiselectarray('commercial', $userlist, $selected, null, null, 'quatrevingtpercent widthcentpercentminusx', 0, 0); + print img_picto('', 'user').$form->multiselectarray('commercial', $userlist, $selected, 0, 0, 'quatrevingtpercent widthcentpercentminusx', 0, 0); print '