Update comments0

This commit is contained in:
fhenry 2013-05-14 20:33:56 +02:00
parent 7de861eee4
commit b280bff809
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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'];