Fix CSS and look and feel v23

This commit is contained in:
Laurent Destailleur 2026-03-15 14:33:46 +01:00
parent 4908f4acba
commit 7c399bd78b
5 changed files with 15 additions and 33 deletions

View file

@ -649,6 +649,7 @@ print '</div><div class="secondcolumn fichehalfright boxhalfright" id="boxhalfri
/*
* Last modified customers or prospects
*/
/* Hidden, already into the menu thirdparty, and it is more relevant in this menu.
if (isModEnabled("societe") && $user->hasRight('societe', 'lire')) {
$sql = "SELECT s.rowid as socid, s.nom as name, s.name_alias";
$sql .= ", s.code_client, s.code_compta as code_compta_client, s.client";
@ -724,11 +725,6 @@ if (isModEnabled("societe") && $user->hasRight('societe', 'lire')) {
if (($obj->client == 1 || $obj->client == 3) && !getDolGlobalString('SOCIETE_DISABLE_CUSTOMERS')) {
$s .= '<a class="customer-back" title="'.$langs->trans("Customer").'" href="'.DOL_URL_ROOT.'/comm/card.php?socid='.$companystatic->id.'">'.dol_substr($langs->trans("Customer"), 0, 1).'</a>';
}
/*
if ((isModEnabled("supplier_order") || isModEnabled("supplier_invoice")) && $obj->fournisseur)
{
$s .= '<a class="vendor-back" title="'.$langs->trans("Supplier").'" href="'.DOL_URL_ROOT.'/fourn/card.php?socid='.$companystatic->id.'">'.dol_substr($langs->trans("Supplier"), 0, 1).'</a>';
}*/
print $s;
print '</td>';
@ -751,6 +747,7 @@ if (isModEnabled("societe") && $user->hasRight('societe', 'lire')) {
dol_print_error($db);
}
}
*/
/*
@ -949,6 +946,7 @@ if (isModEnabled('order')) {
/*
* Last suppliers
*/
/* Hidden, should be into the Thirdparty menu
if ((isModEnabled("supplier_order") || isModEnabled("supplier_invoice")) && $user->hasRight('societe', 'lire')) {
$sql = "SELECT s.rowid as socid, s.nom as name, s.name_alias";
$sql .= ", s.code_client, s.code_compta as code_compta_client, s.client";
@ -1008,13 +1006,6 @@ if ((isModEnabled("supplier_order") || isModEnabled("supplier_invoice")) && $use
$obj = $companystatic;
$s = '';
/*if (($obj->client == 2 || $obj->client == 3) && empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) {
$s .= '<a class="customer-back opacitymedium" title="'.$langs->trans("Prospect").'" href="'.DOL_URL_ROOT.'/comm/card.php?socid='.$companystatic->id.'">'.dol_substr($langs->trans("Prospect"), 0, 1).'</a>';
}
if (($obj->client == 1 || $obj->client == 3) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS))
{
$s .= '<a class="customer-back" title="'.$langs->trans("Customer").'" href="'.DOL_URL_ROOT.'/comm/card.php?socid='.$companystatic->id.'">'.dol_substr($langs->trans("Customer"), 0, 1).'</a>';
}*/
if ((isModEnabled("supplier_order") || isModEnabled("supplier_invoice")) && $obj->fournisseur) {
$s .= '<a class="vendor-back" title="'.$langs->trans("Supplier").'" href="'.DOL_URL_ROOT.'/fourn/card.php?socid='.$companystatic->id.'">'.dol_substr($langs->trans("Supplier"), 0, 1).'</a>';
}
@ -1040,22 +1031,7 @@ if ((isModEnabled("supplier_order") || isModEnabled("supplier_invoice")) && $use
dol_print_error($db);
}
}
/*
* Last actions
*/
/*if ($user->hasRight('agenda', 'myactions', 'read')) {
show_array_last_actions_done($max);
}*/
/*
* Actions to do
*/
/*if ($user->hasRight('agenda', 'myactions', 'read')) {
show_array_actions_to_do($max);
}*/
*/
/*

View file

@ -7567,7 +7567,7 @@ class Form
}
if (!$options_only) {
$return .= '<select class="flat minwidth75imp maxwidth100 right" id="' . $htmlname . '" name="' . $htmlname . '"' . ($disabled ? ' disabled' : '') . $title . '>';
$return .= '<select class="flat valignmiddle minwidth75imp maxwidth100 right" id="' . $htmlname . '" name="' . $htmlname . '"' . ($disabled ? ' disabled' : '') . $title . '>';
}
$selectedfound = false;

View file

@ -108,7 +108,7 @@ if (in_array($object->element, array('propal', 'commande', 'facture', 'supplier_
$societe_acheteuse = strpos($object->element, 'supplier') === false ? $object->thirdparty : $mysoc;
$vat_mode = strpos($object->element, 'supplier') === false ? 1 : 2;
print $form->load_tva('vatforalllines', '', $societe_vendeuse, $societe_acheteuse, 0, 0, '', false, 1, $vat_mode);
print '<input class="inline-block button smallpaddingimp" type="submit" name="submitforalllines" value="'.$langs->trans("Update").'">';
print '<input class="inline-block button smallpaddingimp valignmiddle" type="submit" name="submitforalllines" value="'.$langs->trans("Update").'">';
print '</div>';
}
}

View file

@ -464,10 +464,13 @@ input {
padding-left: 6px;
}
.refidno .button.smallpaddingimp {
padding: 3px !important;
padding: 4px !important;
padding-left: 6px !important;
padding-right: 6px !important;
}
.refid input[type="text"] {
height:22px;
}
select {
padding-top: 4px;
@ -1015,7 +1018,7 @@ button:focus {
th .button {
box-shadow: none !important;
border-radius:0px !important;
border-radius: 0px;
}
.maxwidthsearch { /* Max width of column with the search picto */
width: 54px;
@ -4380,9 +4383,11 @@ tr.nocellnopadd td.nobordernopadding, tr.nocellnopadd td.nocellnopadd
}
.smallpaddingimp {
padding: 4px !important;
padding: 7px !important;
padding-left: 7px !important;
padding-right: 7px !important;
line-height: 1em !important;
border-radius: 3px !important;
}
input.button.smallpaddingimp, input.buttonreset.smallpaddingimp {
font-size: 0.8em;

View file

@ -570,6 +570,7 @@ input.downloadexternallink {
.refidno input {
margin-top: 0 !important;
padding: 0;
padding-left: 6px;
}
.refidno .button.smallpaddingimp {
padding: 3px !important;