@isset($settings->address_en) {{ __('header.address') }}

@if (app()->getLocale() == 'np') {{ $settings->address_np }} @else {{ $settings->address_en }} @endif

@endisset
@isset($settings->phone_number_en) {{ __('header.phone') }} @php // Pick correct locale-based phone numbers $phoneNumbers = app()->getLocale() == 'np' ? $settings->phone_number_np : $settings->phone_number_en; // Split multiple numbers by '/' $telNumbers = array_map('trim', explode('/', $phoneNumbers)); @endphp

@foreach ($telNumbers as $tel) {{ $tel }} @if (!$loop->last) / @endif @endforeach

@endisset
@if ($settings->email || $settings->agent_notify_email) {{ __('header.email') }} @php // Combine both email fields into a single string separated by '/' $emails = trim(($settings->email ?? '') . '/' . ($settings->agent_notify_email ?? ''), '/'); // Split multiple emails by '/' $emailAddresses = array_filter(array_map('trim', explode('/', $emails))); @endphp

@foreach ($emailAddresses as $email) {{ $email }} @if (!$loop->last) / @endif @endforeach

@endif
Email Service @isset($settings->facebook) {{ __('footer.social_media.facebook') }} @endisset @isset($settings->twitter) {{ __('footer.social_media.twitter') }} @endisset @isset($settings->linkedin) {{ __('footer.social_media.linkedin') }} @endisset
{{ __('header.language.en') }} | {{ __('header.language.np') }}
{{ __('header.logo_alt') }}
    @foreach ($menus as $i => $menu)
  • @if ($menu->children->isEmpty()) {{-- Only if there are no children, render it as a link --}} @endif @if ($menu->children->isNotEmpty())
      @foreach ($menu->children as $j => $child)
    • @if (app()->getLocale() == 'np') {{ $child->name_np }} @else {{ $child->name_en }} @endif @if ($child->children->isNotEmpty()) @endif @if ($child->children->isNotEmpty())
        @foreach ($child->children as $sub)
      • @if (app()->getLocale() == 'np') {{ $sub->name_np }} @else {{ $sub->name_en }} @endif
      • @endforeach
      @endif
    • @endforeach
    @endif
  • @endforeach
{{ __('header.logo_alt') }}
    @foreach ($menus as $menuIndex => $menu)
  • @if ($menu->children->isEmpty()) @if (app()->getLocale() == 'np') {{ $menu->name_np }} @else {{ $menu->name_en }} @endif @else @endif @if ($menu->children->isNotEmpty())
      @foreach ($menu->children as $childIndex => $child)
    • @if ($child->children->isEmpty()) @if (app()->getLocale() == 'np') {{ $child->name_np }} @else {{ $child->name_en }} @endif @else @endif @if ($child->children->isNotEmpty())
        @foreach ($child->children as $sub)
      • @if (app()->getLocale() == 'np') {{ $sub->name_np }} @else {{ $sub->name_en }} @endif
      • @endforeach
      @endif
    • @endforeach
    @endif
  • @endforeach
Western Union Logo