@extends('layouts.frontend.app') @section('content')
{{__('Account')}} {{ $member->account }}
{{__('Area')}} {{ $member->area->name }}
{{__('Name')}} {{ $member->m_name }}
{{__('Address')}} {{ $member->address }}
{{__('Phone')}} {{ $member->m_mobile }}
{{-- --}} @forelse ($member->loans as $loan) {{-- --}} @empty @endforelse {{-- --}}
# {{__('Name')}} {{__('Acc')}} {{__('Area')}} {{__('Scheme')}} {{__('Duration')}} {{__('Inst.')}} {{__('Inst. Amt.')}} {{__('Ledg.')}} {{__('Product')}} {{__('')}} {{__('Total')}} {{__('Paid')}} {{__('Due')}} {{__('Status')}}TypeAction
{{ $loop->iteration }} {{ $loan->member->m_name }} {{ $loan->account_id }} {{ $loan->member->area->name }} {{ Str::ucfirst($loan->scheme) }} {{ date('d M Y', strtotime($loan->date)) }} - {{ date('d M Y', strtotime($loan->expire_date)) }} {{ $loan->installment_count }}/{{ $loan->installment }} {{ $loan->installment_amount }} {{ $loan->ledger_no }} {{ $loan->product ? $loan->product : '-' }} {{ $loan->loan_amount }} {{ $loan->total_amount }} {{ $loan->total_paid }} {{ $loan->due_amount }} @if ($loan->status == '1') {{__('Open')}} @elseif ($loan->status = '2') {{__('Running')}} @elseif ($loan->status = '3') {{__('Complete')}} @else {{-- if: $savings->status == 0 --}} {{__('Closed')}} @endif
{{__('No loan issued yet')}}
Total:
@endsection