@extends('frontend::layouts.master') @section('styles') @endsection @section('content') @php $b = [['name' => $detail['name_store'] ?? '']]; @endphp
{{ $detail['name_store'] ?? '' }}

{{ $detail['name_store'] ?? '' }}

{!! $detail['detail'] ?? '' !!}

@if (!empty($detail['youtube']))
@endif
@if (!empty($detail['items'][0]))
@endif
@if (!empty($detail['enterprise_image']) && !empty($detail['enterprise_code']) && !empty($detail['enterprise_date']))

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

{{ __('frontend::lang.input.enterprise_code') }} {{ $detail['enterprise_code'] ?? '' }}

{{ __('frontend::lang.input.enterprise_date') }} {{ str_date($detail['enterprise_date'] ?? '', 'd M Y') }}

@if (!empty($detail['enterprise_image']))
{{ $detail['enterprise_code'] ?? '' }}
@endif
@endif @if (!empty($detail['commerce_image']) && !empty($detail['commerce_code']) && !empty($detail['commerce_code_request']) && !empty($detail['commerce_date']))

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

{{ __('frontend::lang.input.commerce_code') }} {{ $detail['commerce_code'] ?? '' }}

{{ __('frontend::lang.input.commerce_code_request') }} {{ $detail['commerce_code_request'] ?? '' }}

{{ __('frontend::lang.input.commerce_date') }} {{ str_date($detail['commerce_date'] ?? '', 'd M Y') }}

@if (!empty($detail['commerce_image']))
{{ $detail['commerce_code'] ?? '' }}
@endif
@endif
@if (!empty($detail['otop_image'][0]))

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

@foreach ($detail['otop_image'] as $item)
{{ __('frontend::lang.member.list.otop_title') }}_{{ $item['index'] ?? '' }}
@endforeach
@endif @if (!empty($detail['goods_image'][0]))

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

@foreach ($detail['goods_image'] as $item)
{{ __('frontend::lang.member.list.goods_standard_title') }}_{{ $item['index'] ?? '' }}
@endforeach
@endif @if (!empty($detail['other_image'][0]))

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

@foreach ($detail['other_image'] as $item)
{{ __('frontend::lang.member.list.other_cert_title') }}_{{ $item['index'] ?? '' }}
@endforeach
@endif @if (!empty($detail['contact']) || !empty($detail['contact']['social']) || !empty($detail['contact']['google_map']))

{{ __('frontend::lang.member.page.contact_title') }}

@php $contactFields = [ 'first_name' => __('frontend::lang.input.first_name'), 'last_name' => __('frontend::lang.input.last_name'), 'tel' => __('frontend::lang.input.tel'), 'email' => __('frontend::lang.input.email'), 'address' => __('frontend::lang.input.address'), ]; @endphp @foreach ($contactFields as $field => $label) @if (!empty($detail['contact'][$field]))

{{ $label }} : {{ $detail['contact'][$field] ?? '' }}

@endif @endforeach @php $social = [ 'line' => 'fab fa-line', 'facebook' => 'fab fa-facebook-f', 'youtube' => 'fab fa-youtube', 'instagram' => 'fab fa-instagram', 'twitter' => 'fab fa-x-twitter', 'tiktok' => 'fab fa-tiktok', ]; @endphp
@if (!empty($detail['contact']['google_map']))
{!! $detail['contact']['google_map'] !!}
@endif
@endif @endsection @section('scripts') @endsection