2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2024-05-13 03:53:24 +02:00
parent c8c0fe5a20
commit a8423b45b3
2 changed files with 5 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ if ($permission) {
print '<input type="hidden" name="withproject" value="'.$withproject.'">'; print '<input type="hidden" name="withproject" value="'.$withproject.'">';
} ?> } ?>
<div class="tagtd"><?php echo $conf->global->MAIN_INFO_SOCIETE_NOM; ?></div> <div class="tagtd"><span class="paddingleft"><?php echo getDolGlobalString('MAIN_INFO_SOCIETE_NOM'); ?></span></div>
<!-- <div class="nowrap tagtd"><?php echo img_object('', 'user').' '.$langs->trans("Users"); ?></div> --> <!-- <div class="nowrap tagtd"><?php echo img_object('', 'user').' '.$langs->trans("Users"); ?></div> -->
<div class="tagtd maxwidthonsmartphone"> <div class="tagtd maxwidthonsmartphone">
<?php echo img_object('', 'user', 'class="pictofixedwidth"').$form->select_dolusers($user->id, 'userid', 1, (!empty($userAlreadySelected) ? $userAlreadySelected : null), 0, null, null, 0, 56, 0, '', 0, '', 'minwidth100imp widthcentpercentminusxx maxwidth400 userselectcontact'); <?php echo img_object('', 'user', 'class="pictofixedwidth"').$form->select_dolusers($user->id, 'userid', 1, (!empty($userAlreadySelected) ? $userAlreadySelected : null), 0, null, null, 0, 56, 0, '', 0, '', 'minwidth100imp widthcentpercentminusxx maxwidth400 userselectcontact');
@@ -141,7 +141,7 @@ if ($permission) {
if (($object->element == 'shipping' || $object->element == 'reception') && is_object($objectsrc)) { if (($object->element == 'shipping' || $object->element == 'reception') && is_object($objectsrc)) {
$tmpobject = $objectsrc; $tmpobject = $objectsrc;
} }
$formcompany->selectTypeContact($tmpobject, '', 'type', 'internal', 'position', 0, 'minwidth125imp widthcentpercentminusx maxwidth400'); ?></div> $formcompany->selectTypeContact($tmpobject, '', 'type', 'internal', 'position', 0, 'minwidth150imp widthcentpercentminusx maxwidth400'); ?></div>
<div class="tagtd">&nbsp;</div> <div class="tagtd">&nbsp;</div>
<div class="tagtd center"><input type="submit" class="button small" value="<?php echo $langs->trans("Add"); ?>"></div> <div class="tagtd center"><input type="submit" class="button small" value="<?php echo $langs->trans("Add"); ?>"></div>
</form> </form>
@@ -164,7 +164,7 @@ if ($permission) {
<div class="tagtd nowrap noborderbottom"> <div class="tagtd nowrap noborderbottom">
<?php <?php
$selectedCompany = GETPOSTISSET("newcompany") ? GETPOSTINT("newcompany") : (empty($object->socid) ? 0 : $object->socid); $selectedCompany = GETPOSTISSET("newcompany") ? GETPOSTINT("newcompany") : (empty($object->socid) ? 0 : $object->socid);
$selectedCompany = $formcompany->selectCompaniesForNewContact($object, 'id', $selectedCompany, 'newcompany', '', 0, '', 'minwidth300imp'); // This also print the select component?> $selectedCompany = $formcompany->selectCompaniesForNewContact($object, 'id', $selectedCompany, 'newcompany', '', 0, '', 'minwidth300imp maxwidth400 widthcentpercentminusx'); // This also print the select component?>
</div> </div>
<div class="tagtd noborderbottom minwidth500imp"> <div class="tagtd noborderbottom minwidth500imp">
<?php <?php
@@ -186,7 +186,7 @@ if ($permission) {
if (($object->element == 'shipping' || $object->element == 'reception') && is_object($objectsrc)) { if (($object->element == 'shipping' || $object->element == 'reception') && is_object($objectsrc)) {
$tmpobject = $objectsrc; $tmpobject = $objectsrc;
} }
$formcompany->selectTypeContact($tmpobject, $preselectedtypeofcontact, 'typecontact', 'external', 'position', 0, 'minwidth125imp widthcentpercentminusx maxwidth400'); ?> $formcompany->selectTypeContact($tmpobject, $preselectedtypeofcontact, 'typecontact', 'external', 'position', 0, 'minwidth150imp widthcentpercentminusx maxwidth400'); ?>
</div> </div>
<div class="tagtd noborderbottom">&nbsp;</div> <div class="tagtd noborderbottom">&nbsp;</div>
<div class="tagtd center noborderbottom"> <div class="tagtd center noborderbottom">

View File

@@ -1781,6 +1781,7 @@ maxscreenheightless200 {
.minwidth50imp { min-width: 50px !important; } .minwidth50imp { min-width: 50px !important; }
.minwidth75imp { min-width: 75px !important; } .minwidth75imp { min-width: 75px !important; }
.minwidth100imp { min-width: 100px !important; } .minwidth100imp { min-width: 100px !important; }
.minwidth150imp { min-width: 150px !important; }
.minwidth200imp { min-width: 200px !important; } .minwidth200imp { min-width: 200px !important; }
.minwidth250imp { min-width: 250px !important; } .minwidth250imp { min-width: 250px !important; }
.minwidth300imp { min-width: 300px !important; } .minwidth300imp { min-width: 300px !important; }