@extends('layouts.dealer.app') @section('title', trans('profile.page.title')) @section('content') @php $primaryAddress = $dealer->addresses->firstWhere('is_primary', true) ?? $dealer->addresses->first(); @endphp
{{-- Sidebar --}} {{-- Main Content --}}
{{-- Account Information --}} {{-- Company Information --}} {{-- Representative Information --}}

@lang('profile.representative_information.title')

@if($dealer->representatives->count() > 0) @foreach($dealer->representatives as $rep) @endforeach
@lang('profile.representative_information.full_name') @lang('profile.representative_information.cnic') @lang('profile.representative_information.position') @lang('profile.representative_information.contact') Actions
{{ $rep->full_name }} {{ $rep->nic_number ?? trans('global.text.not_available') }} {{ $rep->position ?? trans('global.text.not_available') }} {{ $rep->contact_phone ?? ($rep->contact_email ?? trans('global.text.not_available')) }}
@else

@lang('profile.representative_information.no_data')

@lang('profile.representative_information.add.button')
@endif
{{-- Financial Information --}}

@lang('profile.financial_information.title')

@if($dealer->finances->count() > 0) @foreach($dealer->finances as $finance) @endforeach
@lang('profile.financial_information.bank_name') @lang('profile.financial_information.account_holder') @lang('profile.financial_information.account_number') Actions
{{ $finance->name }} {{ $finance->account_holder_name }} {{ $finance->account_number }}
@else

@lang('profile.financial_information.no_data')

@lang('profile.financial_information.add.button')
@endif
{{-- Business Information --}} {{-- Documents --}}
{{-- tab-content --}}
@endsection @push('scripts') @endpush