Fix phpcs
This commit is contained in:
parent
6f52c62f2a
commit
650bddde0d
@ -1047,12 +1047,15 @@ class Project extends CommonObject
|
|||||||
if ($option != 'nolink') $label = '<u>'.$langs->trans("ShowProject").'</u>';
|
if ($option != 'nolink') $label = '<u>'.$langs->trans("ShowProject").'</u>';
|
||||||
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('Ref').': </b>'.$this->ref; // The space must be after the : to not being explode when showing the title in img_picto
|
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('Ref').': </b>'.$this->ref; // The space must be after the : to not being explode when showing the title in img_picto
|
||||||
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('Label').': </b>'.$this->title; // The space must be after the : to not being explode when showing the title in img_picto
|
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('Label').': </b>'.$this->title; // The space must be after the : to not being explode when showing the title in img_picto
|
||||||
if (!empty($this->thirdparty_name))
|
if (!empty($this->thirdparty_name)) {
|
||||||
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('ThirdParty').': </b>'.$this->thirdparty_name; // The space must be after the : to not being explode when showing the title in img_picto
|
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('ThirdParty').': </b>'.$this->thirdparty_name; // The space must be after the : to not being explode when showing the title in img_picto
|
||||||
if (!empty($this->dateo))
|
}
|
||||||
|
if (!empty($this->dateo)) {
|
||||||
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('DateStart').': </b>'.dol_print_date($this->dateo, 'day'); // The space must be after the : to not being explode when showing the title in img_picto
|
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('DateStart').': </b>'.dol_print_date($this->dateo, 'day'); // The space must be after the : to not being explode when showing the title in img_picto
|
||||||
if (!empty($this->datee))
|
}
|
||||||
|
if (!empty($this->datee)) {
|
||||||
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('DateEnd').': </b>'.dol_print_date($this->datee, 'day'); // The space must be after the : to not being explode when showing the title in img_picto
|
$label .= ($label ? '<br>' : '').'<b>'.$langs->trans('DateEnd').': </b>'.dol_print_date($this->datee, 'day'); // The space must be after the : to not being explode when showing the title in img_picto
|
||||||
|
}
|
||||||
if ($moreinpopup) $label .= '<br>'.$moreinpopup;
|
if ($moreinpopup) $label .= '<br>'.$moreinpopup;
|
||||||
|
|
||||||
$url = '';
|
$url = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user