{{-- Sidebar --}}
{{-- Main Content --}}
{{-- Account Information --}}
{{-- Company Information --}}
{{-- Representative Information --}}
{{-- Financial Information --}}
{{-- Business Information --}}
@endif
{{-- Documents --}}
{{-- tab-content --}}
@lang('profile.account_information.detail.name')
{{ $dealer->user->fullName ?? trans('global.text.not_available') }}
@lang('profile.account_information.detail.email')
{{ $dealer->user->email ?? trans('global.text.not_available') }}
@lang('profile.account_information.detail.phone')
{{ $dealer->user->phone ?? trans('global.text.not_available') }}
@lang('profile.account_information.detail.gender')
{{ $dealer->user->gender ?? trans('global.text.not_available') }}
@lang('profile.account_information.detail.date_of_birth')
{{ $dealer->user->date_of_birth ?? trans('global.text.not_available') }}
@lang('profile.company_information.title')
@lang('profile.company_information.company_name')
{{ $dealer->company_name ?? trans('global.text.not_available') }}
@lang('profile.company_information.registration_number')
{{ $dealer->registration_number ?? trans('global.text.not_available') }}
@lang('profile.company_information.tax_number')
{{ $dealer->tax_identification_number ?? trans('global.text.not_available') }}
@lang('profile.company_information.address')
@if ($primaryAddress)
{{ $primaryAddress->street }},
{{ $primaryAddress->city }},
{{ $primaryAddress->state }},
{{ $primaryAddress->country }}
@else
{{ trans('global.text.not_available') }}
@endif
@lang('profile.company_information.contact_phone')
{{ $dealer->user->phone ?? trans('global.text.not_available') }}
@lang('profile.company_information.contact_email')
{{ $dealer->user->email ?? trans('global.text.not_available') }}
@lang('profile.representative_information.title')
@forelse($dealer->representatives as $rep)
@endforelse
@lang('profile.representative_information.full_name')
{{ $rep->full_name }}
@lang('profile.representative_information.cnic')
{{ $rep->nic_number ?? trans('global.text.not_available') }}
@lang('profile.representative_information.position')
{{ $rep->position ?? trans('global.text.not_available') }}
@lang('profile.representative_information.contact')
{{ $rep->contact_phone ?? ($rep->contact_email ?? trans('global.text.not_available')) }}
@empty
{{ trans('global.text.not_available') }}
@lang('profile.financial_information.title')
@forelse($dealer->finances as $finance)
@endforelse
@lang('profile.financial_information.bank_name')
{{ $finance->name }}
@lang('profile.financial_information.account_holder')
{{ $finance->account_holder_name }}
@lang('profile.financial_information.account_number')
{{ $finance->account_number }}
@empty
{{ trans('global.text.not_available') }}
@lang('profile.business_information.title')
@lang('profile.business_information.operations')
@forelse($dealer->operations as $op)
{{ $op->operation }}
@empty
{{ trans('global.text.not_available') }}
@endforelse
@if ($dealer->branches->count())
@foreach ($dealer->branches as $branch)
@lang('profile.business_information.branch_name')
{{ $branch->branch_name ?? trans('global.text.not_available') }}
@endforeach
@else
@lang('profile.business_information.branches')
{{ trans('global.text.not_available') }}
@lang('profile.business_information.website')
{{ $dealer->website ?? trans('global.text.not_available') }}
@lang('profile.documents_information.title')
@lang('profile.documents_information.business_license')
{{ $dealer->media->where('type', 'business_license')->count() ? trans('profile.documents_information.view_uploaded') : trans('global.text.not_available') }}
@lang('profile.documents_information.tax_certificate')
{{ $dealer->media->where('type', 'tax_certificate')->count() ? trans('profile.documents_information.view_uploaded') : trans('global.text.not_available') }}
@lang('profile.documents_information.bank_statement')
{{ $dealer->media->where('type', 'bank_statement')->count() ? trans('profile.documents_information.view_uploaded') : trans('global.text.not_available') }}
@lang('profile.documents_information.constitution')
{{ $dealer->media->where('type', 'constitution')->count() ? trans('profile.documents_information.view_uploaded') : trans('global.text.not_available') }}
@lang('profile.documents_information.swift')
{{ $dealer->bank_swift ?? trans('global.text.not_available') }}