@extends('layouts.agent.app') @section('content')

Profile

@php $reset = 0; if(session()->has('success') || session()->has('error')) { $reset = 1; } @endphp
Profile Details
Agent Name
{{$profileDetails->name}}
Contact Person
{{$profileDetails->contact_person}}
Email
{{$profileDetails->email}}
Allternative emails
@if(!empty($profileDetails->alternate_email)) @foreach(json_decode($profileDetails->alternate_email, true) ?? [] as $alt_email) {{ $alt_email }} @if(!$loop->last) , @endif @endforeach @endif
Phone no
{{$profileDetails->phone_no}}
Alternative Phone no
@if(!empty($profileDetails->alternate_phone_no)) @foreach(json_decode($profileDetails->alternate_phone_no, true) ?? [] as $alternate_phone_no) {{ $alternate_phone_no }} @if(!$loop->last) , @endif @endforeach @endif
Address
{{$profileDetails->address}}
Change Password
@csrf
@if(session()->has('success')) @elseif(session()->has('error')) @endif
@endsection