mirror of
https://github.com/robonen/education-project.git
synced 2026-03-20 02:44:31 +00:00
Модуль Задания(fix some bugs)
This commit is contained in:
@@ -33,7 +33,8 @@ class AnswerToTaskController extends Controller
|
||||
$answer->deadline = $task->deadline;
|
||||
$studentFile = TaskFile::where([
|
||||
['user_id', '=', '2'], // Auth::id()
|
||||
['task_id', '=', $task->id]
|
||||
['task_id', '=', $task->id],
|
||||
['review', '=', 0]
|
||||
])
|
||||
->get(['id','name', 'type', 'url']);
|
||||
$teacherFile = TaskFile::where([
|
||||
|
||||
Reference in New Issue
Block a user