@extends("domains.common.layouts.layout") @section("header") @routes("promotion") @vite([ 'resources/js/domains/common/toastEditor.js', ]) @endsection @section("main-content")

이벤트 관리 @if ($event) 상세 @else 등록 @endif

  • 이벤트 관리
  • @if ($event) 상세 @else 등록 @endif

이벤트 구분

이벤트 번호
@if ($event) {{ $event->id }} @else - @endif
서비스 구분
@foreach ($services as $key => $service)
id == 1) || $service->id == $event?->id)>
@endforeach

전시 구분

전시 구분
activated == 1)>
activated_start_date ?? " ")[0] }}"> - activated_end_date ?? " ")[0] }}" @disabled(!$event || ($event?->is_activated_end_date_disabled === 0))>
is_activated_end_date_disabled == 1))>
activated === 0)>

이벤트 기간
event_start_date ?? " ")[0] }}"> - event_end_date ?? " ")[0] }}" @disabled(!$event || ($event?->is_event_end_date_disabled == 1))> is_event_end_date_disabled == 1))>
is_event_end_date_disabled == 1))>

이벤트 상태
status == 1))>
status === 0)>
status == 2)>

상단 고정
fixed === 0))>
fixed == 1)>

썸네일

s3_key) src="{{ app(\S3Helper::class)->getDownloadPresignedUrl($event->s3_key) }}" @endif >
* 파일 형식 : jpg, jpeg, png / 권장 이미지 사이즈 : 512*344

노출 옵션

참여자 표시

이름이 1글자인 경우 성을 마스킹 처리 합니다.

읽기/쓰기 옵션

읽기 제한
댓글
{{--
자동입력 방지
--}}

참여 조건 옵션

참여 제한

참여 방식
@foreach ($eventParticipationTypes as $key => $eventParticipationType)
event_participation_type_id == $eventParticipationType->id)>
@endforeach {{--

아무것도 선택 안 하신 경우 참여 버튼만 노출됩니다.

--}}

최소 글자수
파일 첨부

이미지만을 선택한 경우 jpg, jpeg, gif, png, tif 확장자의 파일만 업로드 가능합니다.

@if ($event) @endif
이벤트명

내용 입력
@if ($event)

댓글 {{ count($event->comments->where("activated", 1)) }}

@foreach ($event->comments->whereNull("parent_comment_id")->all() as $comment) @php $childrenComments = $comment->getAllChildren($event->comments); @endphp
activated) style="margin-bottom: 0;" @endif> @if ($comment->activated) @endif
@if ($comment->activated)
{{ $comment->createdBy->edm_id }}

{{ $comment->created_at }}

@endif

activated ? "black" : "gray")])>{{ $comment->activated ? $comment->content : "삭제된 댓글입니다." }}

@if ($comment->activated) 답글 달기 @if (count($childrenComments->where("activated", 1))) 답글 {{ count($childrenComments->where("activated", 1)) }}개 보기 @endif @endif
@if ($comment->activated) @while ($tmpComment = $childrenComments->shift()) @php if (!$tmpComment->activated) $childrenComments = $childrenComments->where("parent_comment_id", "!=", $tmpComment->id); @endphp @endwhile @endif @endforeach
@endif
@endsection @push("script") @endpush