@extends('frontend.layouts.master') @section('content')
@include('frontend.include.sidebar')

Update Your Basic Info

{{ _trans('landlord.Update Your Password') }}

@csrf
@error('password') {{ $message }} @enderror
@error('new_password') {{ $message }} @enderror
@error('confirm_password') {{ $message }} @enderror

{{ _trans('landlord.Update Your Address') }}

@foreach ($data['address'] as $address) @endforeach
{{ _trans('landlord.Full Name') }} {{ _trans('landlord.Address') }} {{ _trans('landlord.Region') }} {{ _trans('landlord.E-mail') }} {{ _trans('landlord.Phone Number') }} {{ _trans('landlord.Action') }}
{{ $address->name }} {{ $address->address }} {{ $address->country->name }} {{ $address->email }} {{ $address->phone }}

{{ _trans('landlord.Documents') }}

@foreach ($data['documents'] as $key => $document) @endforeach
No {{ _trans('landlord.File Name') }} {{ _trans('landlord.File Size') }} {{ _trans('landlord.Date') }}
{{ ++$key }} {{ $document->filename }} {{ $document->size }} {{ $document->created_at->format('Y-m-d') }}

{{ _trans('landlord.Emergency') }}

@foreach ($data['emergencyContact'] as $key => $emergencyContact) @endforeach
{{ _trans('landlord.No') }} {{ _trans('landlord.Name') }} {{ _trans('landlord.Relation') }} {{ _trans('landlord.phone Number') }} {{ _trans('landlord.Email') }} {{ _trans('landlord.Action') }}
{{ ++$key }}
{{ $emergencyContact->name }}
{{ $emergencyContact->occupied }}
{{ $emergencyContact->relation }} {{ $emergencyContact->phone }} {{ $emergencyContact->email }}

{{ _trans('landlord.Accounts') }}

{{ _trans('landlord.Transaction History') }}

@foreach ($data['transactionHistory'] as $key => $transactionHistory) @endforeach
{{ _trans('landlord.No') }} {{ _trans('landlord.Property Name') }} {{ _trans('landlord.Transaction Date') }} {{ _trans('landlord.Prise') }}
{{ ++$key }} {{ $transactionHistory->property->name }} {{ $transactionHistory->date }} ৳ {{ $transactionHistory->amount }}

{{ _trans('landlord.Agreements') }}

@foreach ($data['agreement'] as $key => $agreement) @endforeach
{{ _trans('landlord.No') }} {{ _trans('landlord.Property Name') }} {{ _trans('landlord.Move in Date') }} {{ _trans('landlord.Move out') }} {{ _trans('landlord.Rent Amount') }} {{ _trans('landlord.Rent Type') }} {{ _trans('landlord.Rent for') }} {{ _trans('landlord.Reminder Date') }}
{{ ++$key }} {{ $agreement->property->name }} {{ $agreement->move_in }} {{ $agreement->move_out }} $ {{ $agreement->rent_amount }} {{ $agreement->rent_type }} {{ $agreement->rent_for }} Months {{ $agreement->reminder_date }}
{{-- Edit address modal --}} @endsection @section('script') @endsection