@extends("board.qna.layout-board-qna") @section("board-qna-content") @php $dayOfWeek = config("edmclass.day_of_weeks"); $content = $post->content; $messages = json_decode($content->content, 1); $time = ''; @endphp

문의 내용을 입력해 주세요.

[고객센터 운영시간]  상담시간 : 10:00~16:00

운영시간 내에 소중한 시간 내어 주신 회원님께 최선을 다해 답변드릴 수 있도록 하겠습니다. 답변은 고객지원 → 1:1 문의내역을 통해 확인하실 수 있습니다.

{{ date('Y-m-d', strtotime($post->created_at)) }} {{ $dayOfWeek[date('w', strtotime($post->created_at))] }}요일

{{ $post->type }}

@foreach ( $messages as $key => $message) @php $time = ! isset($messages[$key + 1]) || date('H:i', $message['timer']) != date('H:i', $messages[$key + 1]['timer']) ? date('H:i', $message['timer']) : ""; @endphp
{{ $time }} @if ($message['type'] == 'text')

{{ $message['message'] }}

@else @php $file = $post->attachments[$message['message']]; @endphp
@endif
@endforeach @if ( $post->getComments()->count() > 0 ) @php $comment = $post->getComments()->first(); @endphp @if ( date("Y-m-d", strtotime($post->created_at)) != date("Y-m-d", strtotime($comment->created_at)) )
{{ date('Y-m-d', strtotime($comment->created_at)) }} {{ $dayOfWeek[date('w', strtotime($comment->created_at))] }}요일
@endif
{{ date('H:i', strtotime($comment->created_at)) }}

{!! nl2br($comment->content) !!}

@if ($comment->attachments->isNotEmpty()) @php $data = $comment->getAttachmentByType();; extract($data); @endphp @if ( count($images) > 0 )
{{ count($images) }}
@foreach ($images as $image) @endforeach
@endif @if ( count($files) > 0 ) @foreach($files as $file)

{{ $file['pathInfo']['filename'] }}

{{ $file['pathInfo']['extension'] }}
@if($file['is_expire'])

다운로드 유효기간 ~ {{ $file['expire_at'] }}

@else

다운로드 기간이 만료되었습니다.

@endif

용량 {{ $file['sizeText'] }}

@if($file['is_expire']) @endif
@endforeach @endif @endif

답변이 종료되었습니다.
추가문의는 새로 등록해 주시기 바랍니다.

@endif

상세이미지

@endsection @section("qna-script") @endsection