Fix bad link
This commit is contained in:
parent
f1421a2ee4
commit
bc2342e9a4
@ -840,7 +840,7 @@ function projectLinesPerWeek(&$inc, $firstdaytoshow, $fuser, $parent, $lines, &$
|
||||
{
|
||||
// Thirdparty
|
||||
print '<td class="nowrap">';
|
||||
$thirdpartystatic->id=$lines[$i]->socid;
|
||||
$thirdpartystatic->id=$lines[$i]->thirdparty_id;
|
||||
$thirdpartystatic->name=$lines[$i]->thirdparty_name;
|
||||
print $thirdpartystatic->getNomUrl(1, 'project', 10);
|
||||
print '</td>';
|
||||
|
||||
@ -575,7 +575,7 @@ class Task extends CommonObject
|
||||
$sql = "SELECT p.rowid as projectid, p.ref, p.title as plabel, p.public, p.fk_statut as projectstatus,";
|
||||
$sql.= " t.rowid as taskid, t.ref as taskref, t.label, t.description, t.fk_task_parent, t.duration_effective, t.progress, t.fk_statut as status,";
|
||||
$sql.= " t.dateo as date_start, t.datee as date_end, t.planned_workload, t.rang,";
|
||||
$sql.= " s.nom as thirdparty_name";
|
||||
$sql.= " s.rowid as thirdparty_id, s.nom as thirdparty_name";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."projet as p";
|
||||
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON p.fk_soc = s.rowid";
|
||||
if ($mode == 0)
|
||||
@ -692,6 +692,7 @@ class Task extends CommonObject
|
||||
$tasks[$i]->date_end = $this->db->jdate($obj->date_end);
|
||||
$tasks[$i]->rang = $obj->rang;
|
||||
|
||||
$tasks[$i]->thirdparty_id = $obj->thirdparty_id;
|
||||
$tasks[$i]->thirdparty_name = $obj->thirdparty_name;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user