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

{{$page_title}}

User Info

Name: {{$fund->name}}
Father / Husband Name: {{$fund->husband_father_name}}
Contact Number: {{$fund->contact_number}}
Address: {{$fund->address}}
DMM Name: {{$fund->dmm_name}}
DSM Name: {{$fund->dsm_name}}

Amount Info

Requested Amount: ₹ {{$fund->amount}}
Approved Amount: ₹ {{$fund->approved_amount??'0'}}
File Charge: ₹ {{$fund->filing_charge??'0'}}
Duration: {{$fund->duration??'0'}} Month

Added By

{{$fund->addedBy?$fund->addedBy->name:"--"}}
Sakhi Name: {{$fund->sakhi_name}}
Sakhi Phone: {{$fund->sakhi_phone}}
@forelse ($fund->emi as $key=> $emi) @empty @endforelse
# Date Amount Extra Amount Final Amount Late Fine Payment Status Payment Detail
{{$key+1}} {{$emi->date}} {{$emi->amount}} {{$emi->extra_amount}} {{$emi->final_amount}} @if($emi->payment_status == 'pending') @else {{$emi->late_fine}} @endif @if($emi->payment_status == 'pending') @else {{ucfirst($emi->payment_status)}} @endif @isset($emi->payment_detail['changed_by']) {{App\Models\User::where('id',$emi->payment_detail['changed_by'])->first()?->name}}
@endisset @isset($emi->payment_detail['changed_at']) {{date('d-m-Y h:i A',strtotime($emi->payment_detail['changed_at']))}}
@endisset

Opps!! There Are No Data Found..
@endsection