Fix: add error message
Fix: delete obsolete action
This commit is contained in:
parent
a93e38d111
commit
eafca74fe8
@ -81,6 +81,7 @@ ProjectsDedicatedToThisThirdParty=Projects dedicated to this third party
|
||||
NoTasks=No tasks for this project
|
||||
LinkedToAnotherCompany=Linked to other third party
|
||||
TaskIsNotAffectedToYou=Task not allocated to you
|
||||
ErrorTimeSpentIsEmpty=Time spent is empty
|
||||
##### Types de contacts #####
|
||||
TypeContact_project_internal_PROJECTLEADER=Project leader
|
||||
TypeContact_project_external_PROJECTLEADER=Project leader
|
||||
|
||||
@ -81,6 +81,7 @@ ProjectsDedicatedToThisThirdParty=Projets dédiés à ce tiers
|
||||
NoTasks=Aucune tâche pour ce projet
|
||||
LinkedToAnotherCompany=Liés à autre société
|
||||
TaskIsNotAffectedToYou=Tâche qui ne vous est pas affectée
|
||||
ErrorTimeSpentIsEmpty=Le temps consommé n'est pas renseigné
|
||||
##### Types de contacts #####
|
||||
TypeContact_project_internal_PROJECTLEADER=Chef de projet
|
||||
TypeContact_project_external_PROJECTLEADER=Chef de projet
|
||||
|
||||
@ -75,7 +75,7 @@ if ($_POST["action"] == 'addtime' && $user->rights->projet->creer)
|
||||
}
|
||||
}
|
||||
|
||||
if ($timespent_duration > O)
|
||||
if ($timespent_duration > 0)
|
||||
{
|
||||
$task->fetch($id);
|
||||
$task->timespent_duration = $timespent_duration;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user