@extends('member.layouts.app') @section('title', 'Partner Profile') @section('content') @php $partnerName = $partner->company_name ?: $partner->name; $businessType = $partner->business_type ? ucfirst($partner->business_type) : 'Partner'; $logo = $partner->business_logo ? asset('storage/' . $partner->business_logo) : null; @endphp
Detailed information about {{ $partnerName }}.
Category: {{ $businessType }}
{{ $partner->business_description ?: 'This partner is part of the SaveSmart network and accepts SaveSmart member cards.' }}
Address
{{ $partner->business_address ?: 'Not provided' }}
Phone
{{ $partner->phone_number ?: 'Not provided' }}
Contact Person
{{ $partner->contact_person ?: 'Not provided' }}
{{ $location->label ?: 'Branch' }}
@if ($location->is_primary) Primary @endifLogo
@php $logoPath = $location->business_logo ?: $partner->business_logo; @endphp @if ($logoPath)No logo
@endifStore Image
@php $imagePath = $location->business_image ?: $partner->business_image; @endphp @if ($imagePath)No image
@endif{{ $location->address }}
Open branch mapNo branch locations available yet.
@endforelse