';
$return .= '
'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
if ($selected >= 0) {
@@ -3941,11 +3940,15 @@ class Propal extends CommonObject
if (!empty($arraydata['projectlink'])) {
$return .= '
| '.$arraydata['projectlink'].'';
}
- if (!empty($arraydata['authorlink'])) {
- $return .= '
'.$arraydata['authorlink'].'';
+ $return .= '
';
+ if (property_exists($this, 'thirdparty') && is_object($this->thirdparty)) {
+ $return .= '
'.$this->thirdparty->getNomUrl(1).'
';
}
if (property_exists($this, 'total_ht')) {
- $return .= '
'.price($this->total_ht).'';
+ $return .= '
'.price($this->total_ht).'';
+ }
+ if (!empty($arraydata['authorlink'])) {
+ $return .= '
'.$arraydata['authorlink'].'';
}
if (method_exists($this, 'getLibStatut')) {
$return .= '
'.$this->getLibStatut(3).'
';
diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php
index d45aa2881db..b740abf238e 100644
--- a/htdocs/comm/propal/list.php
+++ b/htdocs/comm/propal/list.php
@@ -1716,7 +1716,7 @@ while ($i < $imaxinloop) {
$objectstatic->id = $obj->rowid;
$objectstatic->ref = $obj->ref;
- $objectstatic->ref_client = $obj->ref_client;
+ $objectstatic->ref_customer = $obj->ref_client;
$objectstatic->note_public = $obj->note_public;
$objectstatic->note_private = $obj->note_private;
$objectstatic->statut = $obj->status;
@@ -1776,6 +1776,7 @@ while ($i < $imaxinloop) {
print '
';
}
// Output Kanban
+ $objectstatic->thirdparty = $companystatic;
$userstatic->fetch($obj->fk_user_author);
$arrayofparams = array('selected' => in_array($object->id, $arrayofselected), 'authorlink' => $userstatic->getNomUrl(-2), 'projectlink' => $projectstatic->getNomUrl(2));
print $objectstatic->getKanbanView('', $arrayofparams);
diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php
index b744df70156..f72b8187ec9 100644
--- a/htdocs/contact/class/contact.class.php
+++ b/htdocs/contact/class/contact.class.php
@@ -1453,7 +1453,7 @@ class Contact extends CommonObject
* Return name of contact with link (and eventually picto)
* Use $this->id, $this->lastname, $this->firstname, this->civility_id
*
- * @param int $withpicto Include picto with link (1=picto + name, 2=picto only, -1=photo+name, -2=photo only)
+ * @param int $withpicto Include picto with link (0=no picto, 1=picto + name, 2=picto only, -1=photo+name, -2=photo only)
* @param string $option Where the link point to
* @param int $maxlen Max length of
* @param string $moreparam Add more param into URL
@@ -2190,7 +2190,7 @@ class Contact extends CommonObject
}
$return .= '';
$return .= '
';
- $return .= '
'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'
';
+ $return .= '
'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(0) : $this->ref).'
';
if ($selected >= 0) {
$return .= '
';
}
diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php
index 1e849181944..8afe283f481 100644
--- a/htdocs/theme/eldy/info-box.inc.php
+++ b/htdocs/theme/eldy/info-box.inc.php
@@ -547,7 +547,9 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
margin-bottom: 0px;
margin-: 10px;
}
-
+.kanban .box-flex-item {
+ line-height: 1.4em;
+}
.info-box-title {
width: calc(100% - 20px);
diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php
index ebbb4ac7599..138fbed8834 100644
--- a/htdocs/theme/md/info-box.inc.php
+++ b/htdocs/theme/md/info-box.inc.php
@@ -562,7 +562,7 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
flex-wrap: wrap;
width: 100%;
margin: 0 0 0 -10px;
- justify-content: space-between;
+ /* justify-content: space-between; Do not use this: If there is 3 elements on last line and previous has 4, then the 3 are centered */
}
.box-flex-container-columns {
display: flex; /* or inline-flex */
@@ -597,6 +597,10 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
margin-bottom: 0px;
margin-: 10px;
}
+.kanban .box-flex-item {
+ line-height: 1.4em;
+}
+
@media only screen and (max-width: 767px)
{
.box-flex-container {