Merge branch 'NEW/element_time_integration_sql' of github.com:atm-gauthier/dolibarr into NEW/element_time_code_integration

This commit is contained in:
Gauthier PC portable 024
2023-03-09 09:28:00 +01:00
565 changed files with 5726 additions and 3997 deletions

View File

@@ -2354,6 +2354,9 @@ class Task extends CommonObjectLine
public function getKanbanView($option = '', $arraydata = null)
{
global $langs, $conf;
$selected = (empty($arraydata['selected']) ? 0 : $arraydata['selected']);
$return = '<div class="box-flex-item box-flex-grow-zero">';
$return .= '<div class="info-box info-box-sm">';
$return .= '<span class="info-box-icon bg-infobox-action">';
@@ -2362,6 +2365,7 @@ class Task extends CommonObjectLine
$return .= '</span>';
$return .= '<div class="info-box-content">';
$return .= '<span class="info-box-ref">'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'</span>';
$return .= '<input id="cb'.$this->id.'" class="flat checkforselect fright" type="checkbox" name="toselect[]" value="'.$this->id.'"'.($selected ? ' checked="checked"' : '').'>';
if (property_exists($this, 'fk_project') ) {
$return .= '<br><span class="info-box-status ">'.$this->fk_project.'</span>';
}