\# Clear unused code.

This commit is contained in:
tianshujie
2023-06-12 18:50:02 +08:00
parent 3b062db376
commit 2fa2ccf147
-3
View File
@@ -1519,11 +1519,8 @@ class execution extends control
$deptID = $this->app->user->admin ? 0 : $this->app->user->dept;
$teamMembers = array();
$totalHours = 0;
foreach($this->view->teamMembers as $member)
{
$totalHours += $member->totalHours;
$member->days = $member->days . $this->lang->execution->day;
$member->hours = $member->hours . $this->lang->execution->workHour;
$member->total = $member->totalHours . $this->lang->execution->workHour;