@error('name')
{{ $message }}
@enderror
{{-- depend inputs --}}
@if (!empty($item->url))
@endif
{{-- video --}}
{{-- image --}}
{{-- document --}}
@error('document_file')
{{ $message }}
@enderror
@error('image_file')
{{ $message }}
@enderror
@error('video_file')
{{ $message }}
@enderror
{{-- end --}}
@if (count($notifyRef) < 1 || $notifyRef->where('type', 'BEFORE')->count() < 1)
@endif
@if (count($notifyRef) > 0)
@php
$beforeSwitch = false;
@endphp
@foreach ($notifyRef->where('type', 'BEFORE') as $key => $val)
@php
$genUID += 1;
@endphp
@if (!$beforeSwitch)
@php
$beforeSwitch = true;
@endphp
@else
@endif
@if (!empty($val->notify_at))
@endif
@endforeach
@endif
{{--
--}}
@if (count($notifyRef) < 1 || $notifyRef->where('type', 'AFTER')->count() < 1)
@endif
@if (count($notifyRef) > 0)
@php
$afterSwitch = false;
@endphp
@foreach ($notifyRef->where('type', 'AFTER') as $key => $val)
@php
$genUID += 1;
@endphp
@if (!$afterSwitch)
@php
$afterSwitch = true;
@endphp
@else
@endif
@if (!empty($val->notify_at))
@endif
@endforeach
@endif
@error('expired_at')
{{ $message }}
@enderror