{{ __e('Write a comment') }} @if ($status = $this->get_status()) @php $status_color = 'yellow'; if ($status == 'verify') { $status_color = 'green'; } elseif ($status == 'refused') { $status_color = 'red'; } @endphp {{ $status }} @endif
{{ __e('Upload files') }} @if ($status == 'verify' || $status == 'refused') @else
{{ __e('Click to upload') }}
@endif
@if ($old_homework_file) @foreach ($old_homework_file as $key => $u_file) @endforeach
@if ($status == 'verify' || $status == 'refused') @else @endif {{ $u_file->name }} {{ $u_file->library_file_type->name }} {{ $u_file->library_file_size() }}
@endif @if ($homework_file) @foreach ($homework_file as $key => $u_file) @endforeach
{{ $u_file->getClientOriginalName() }} {{ Str::substr($u_file->getMimeType(), 0, 30) }} {{ $this->byteConvert($u_file->getSize()) }}
@endif