diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php
index 8d07fd48f36..6318b4ace0e 100644
--- a/htdocs/comm/index.php
+++ b/htdocs/comm/index.php
@@ -649,6 +649,7 @@ print '
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 .= '
'.dol_substr($langs->trans("Customer"), 0, 1).'';
}
- /*
- if ((isModEnabled("supplier_order") || isModEnabled("supplier_invoice")) && $obj->fournisseur)
- {
- $s .= '
'.dol_substr($langs->trans("Supplier"), 0, 1).'';
- }*/
print $s;
print '';
@@ -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 .= '
'.dol_substr($langs->trans("Prospect"), 0, 1).'';
- }
- if (($obj->client == 1 || $obj->client == 3) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS))
- {
- $s .= '
'.dol_substr($langs->trans("Customer"), 0, 1).'';
- }*/
if ((isModEnabled("supplier_order") || isModEnabled("supplier_invoice")) && $obj->fournisseur) {
$s .= '
'.dol_substr($langs->trans("Supplier"), 0, 1).'';
}
@@ -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);
-}*/
+*/
/*
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index c4a4ce105ea..d67b140a653 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -7567,7 +7567,7 @@ class Form
}
if (!$options_only) {
- $return .= '
';
}
}
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 4c37fdfb2ef..c2682d11ea8 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -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;
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 590040f5677..273247a344c 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -570,6 +570,7 @@ input.downloadexternallink {
.refidno input {
margin-top: 0 !important;
padding: 0;
+ padding-left: 6px;
}
.refidno .button.smallpaddingimp {
padding: 3px !important;