diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index 57f2662bcfc..173ee8a6510 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -1035,7 +1035,7 @@ if ($object->id > 0) {
$sql .= " WHERE e.fk_soc = s.rowid AND s.rowid = ".((int) $object->id);
$sql .= " AND e.entity IN (".getEntity('expedition').")";
$sql .= ' GROUP BY e.rowid';
- $sql .= ', e.ref';
+ $sql .= ', e.ref, e.entity';
$sql .= ', e.date_creation';
$sql .= ', e.fk_statut';
$sql .= ', s.nom';
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 9568ec25828..50858391da3 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -9375,7 +9375,8 @@ class Form
$ret .= '
'; // gravatar need md5 hash
} else {
if ($nophoto == 'company') {
- $ret .= '
'.img_picto('', 'company').'
';
+ $ret .= ''.img_picto('', 'company').'
';
+ $ret .= '';
} else {
$ret .= '
';
}
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 9b75313d73d..8a9196c9729 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -2196,7 +2196,7 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi
}
if ($showbarcode) {
- $morehtmlleft .= ''.$form->showbarcode($object, 100, 'photoref').'
';
+ $morehtmlleft .= ''.$form->showbarcode($object, 100, 'photoref valignmiddle').'
';
}
if ($object->element == 'societe') {
diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php
index 897a372dc27..314fb663631 100644
--- a/htdocs/societe/price.php
+++ b/htdocs/societe/price.php
@@ -543,6 +543,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
print '';
print '';
+ print '';
print "";
}
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index ba67bf5fdcf..6a2ce22fa68 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -2396,6 +2396,10 @@ div.photoref {
vertical-align:middle;
text-align:center;
}
+.difforspanimgright {
+ display: table-cell;
+ padding-right: 10px;
+}
img.photorefnoborder {
padding: 2px;
height: 48px;
@@ -4713,9 +4717,10 @@ label.radioprivate {
/* margin-bottom: 2px;
margin-top: 2px; */
}
-div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
+div.divphotoref > div > .photowithmargin, div.divphotoref > img.photowithmargin, div.divphotoref > a > .photowithmargin { /* Margin right for photo not inside a div.photoref frame only */
margin-right: 15px;
}
+
.photowithborder {
border: 1px solid #f0f0f0;
}
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index a710e8417ec..03e9565db21 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -2403,6 +2403,10 @@ img.photoref, div.photoref {
width: 80px;
object-fit: contain;
}
+.difforspanimgright {
+ display: table-cell;
+ padding-right: 10px;
+}
img.photokanban, div.photokanban {
padding: 0;