Update comments0
This commit is contained in:
parent
7de861eee4
commit
b280bff809
@ -116,7 +116,7 @@ if ($action == 'createtask' && $user->rights->projet->creer)
|
||||
$task->fk_project = $projectid;
|
||||
$task->label = $label;
|
||||
$task->description = $description;
|
||||
$task->planned_workload = $planned_workload * 3600;//We set the planned workload into minutes
|
||||
$task->planned_workload = $planned_workload * 3600;//We set the planned workload into seconds
|
||||
$task->fk_task_parent = $task_parent;
|
||||
$task->date_c = dol_now();
|
||||
$task->date_start = $date_start;
|
||||
|
||||
@ -76,7 +76,7 @@ if ($action == 'update' && ! $_POST["cancel"] && $user->rights->projet->creer)
|
||||
$object->label = $_POST["label"];
|
||||
$object->description = $_POST['description'];
|
||||
$object->fk_task_parent = $task_parent;
|
||||
$object->planned_workload = $planned_workload*3600; //We set the planned workload into minutes
|
||||
$object->planned_workload = $planned_workload*3600; //We set the planned workload into seconds
|
||||
$object->date_start = dol_mktime(0,0,0,$_POST['dateomonth'],$_POST['dateoday'],$_POST['dateoyear']);
|
||||
$object->date_end = dol_mktime(0,0,0,$_POST['dateemonth'],$_POST['dateeday'],$_POST['dateeyear']);
|
||||
$object->progress = $_POST['progress'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user