{{ __('frontend::lang.member.list.title', ['label' => __('frontend::lang.member.sidemenu.' . $type)]) }} : {{ __('frontend::lang.btn.' . $mode) }}

{{ __('frontend::lang.btn.back') }}

{{ __('frontend::lang.member.list.detail_cover') }}

@if ($image) ภาพหน้าปกร้าน @elseif ($existing_image) ภาพหน้าปกร้าน @else ภาพหน้าปกร้าน @endif @if ($mode != 'view')
@if ($image || $existing_image) @endif
@error('image')
{{ $message }}
@enderror @endif

{{ __('frontend::lang.member.list.detail_logo') }}

@if ($logo) ภาพโลโก้ร้าน @elseif ($existing_logo) ภาพโลโก้ร้าน @else ภาพโลโก้ร้าน @endif @if ($mode != 'view')
@if ($logo || $existing_logo) @endif
@error('logo')
{{ $message }}
@enderror @endif
{{ __('frontend::lang.input.youtube_hint') }}
@if ($showYoutubePreview && $youtubeVideoId)
{{ __('frontend::lang.error.youtube_not_found') }}
@endif

{{ __('frontend::lang.member.list.product_list', ['label' => __('frontend::lang.member.sidemenu.' . $type), 'max' => 10]) }}

@if (count($frm_list_item) === 0)
{{ __('frontend::lang.member.list.product_empty', ['label' => __('frontend::lang.member.sidemenu.' . $type)]) }}
@endif
@foreach ($frm_list_item as $index => $item)
@if (isset($item['image']) && is_object($item['image'])) Product Image @elseif (isset($item['image']) && is_string($item['image']) && !empty($item['image'])) Product Image @else Product Image @endif @if ($mode != 'view') @if (isset($item['image']) && $item['image']) @endif @error('frm_list_item.' . $index . '.image')
{{ $message }}
@enderror @endif
@if ($type != 'place')
@endif @if ($mode != 'view')
@endif
@endforeach
@if ($mode != 'view') @endif @if (count($frm_list_item) > 0) {{ count($frm_list_item) }} / 10 {{ __('frontend::lang.member.list.product_count') }} @endif

{{ __('frontend::lang.member.list.detail_cert') }}

{{ __('frontend::lang.member.list.enterprise_title') }}
@if ($enterprise_image) เอกสารแนบ @elseif ($existing_enterprise_image) เอกสารแนบ @else เอกสารแนบ @endif
{{ __('frontend::lang.member.list.commerce_title') }}
@if ($commerce_image) เอกสารแนบ @elseif ($existing_commerce_image) เอกสารแนบ @else เอกสารแนบ @endif
@if ($type != 'accommodation' && $type != 'place') {{-- ===== OTOP Section ===== --}}

{{ __('frontend::lang.member.list.otop_title') }}

@if ($mode != 'view') @endif
@if (count($otop_image) === 0)
{{ __('frontend::lang.member.list.cert_empty') }}
@endif
@foreach ($otop_image as $index => $image)
@if (is_object($image)) OTOP Image {{ $index + 1 }} @elseif (is_string($image) && !empty($image)) OTOP Image {{ $index + 1 }} @else OTOP Image {{ $index + 1 }} @endif @if ($mode != 'view') @error('otop_image.' . $index)
{{ $message }}
@enderror @endif
@endforeach
@if (count($otop_image) > 0) {{ count($otop_image) }} / 3 {{ __('frontend::lang.member.list.product_count') }} @endif
{{-- ===== มาตรฐานสินค้าการเกษตร ===== --}}

{{ __('frontend::lang.member.list.goods_standard_title') }}

@if ($mode != 'view') @endif
@if (count($goods_image) === 0)
{{ __('frontend::lang.member.list.cert_empty') }}
@endif
@foreach ($goods_image as $index => $image)
@if (is_object($image)) Standard Image {{ $index + 1 }} @elseif (is_string($image) && !empty($image)) Standard Image {{ $index + 1 }} @else Standard Image {{ $index + 1 }} @endif @if ($mode != 'view') @error('goods_image.' . $index)
{{ $message }}
@enderror @endif
@endforeach
@if (count($goods_image) > 0) {{ count($goods_image) }} / 3 {{ __('frontend::lang.member.list.product_count') }} @endif
@endif {{-- ===== ใบรับรองอื่นๆ ===== --}}

{{ __('frontend::lang.member.list.other_cert_title') }}

@if ($mode != 'view') @endif
@if (count($other_image) === 0)
{{ __('frontend::lang.member.list.cert_empty') }}
@endif
@foreach ($other_image as $index => $image)
@if (is_object($image)) Certificate Image {{ $index + 1 }} @elseif (is_string($image) && !empty($image)) Certificate Image {{ $index + 1 }} @else Certificate Image {{ $index + 1 }} @endif @if ($mode != 'view') @error('other_image.' . $index)
{{ $message }}
@enderror @endif
@endforeach
@if (count($other_image) > 0) {{ count($other_image) }} / 3 {{ __('frontend::lang.member.list.product_count') }} @endif
@if ($mode != 'view')
@endif