@extends('merchant.layout.app', ['page' => 'profile']) @section('title', 'Profile') @section('content')

@if (session('success'))
{{ session('success') }}
@endif

Profile

{{ $merchant->shop }}

{{ $merchant->shop }} @if ($merchant->is_premium) Premium @endif

{{ $merchant->full_name }}

@if ($merchant->category?->category_name)

{{ $merchant->category->category_name }}

@endif @if ($merchant->address)

{{ $merchant->address }}

@endif

Business Information

Owner Name

{{ $merchant->full_name }}

Shop Name

{{ $merchant->shop }}

Email address

{{ $merchant->email }}

Phone

{{ $merchant->phone }}

Category

{{ $merchant->sub_category ?? $merchant->category?->category_name }}

Merchant ID

{{ $merchant->unique_id }}

Location

Address

{{ $merchant->address }}

Map Link

@if ($merchant->map_url) View on map @else — @endif

Latitude

{{ $merchant->latitude ?? '—' }}

Longitude

{{ $merchant->longitude ?? '—' }}

@endsection