@extends('layouts.frontend.app') @section('content')
CC Loans to This Member

@foreach ($member->cc_loans()->latest()->get() as $loan) @endforeach {{-- --}}
Action Account Member Start & End Date Type Profit rate Opening Balance Balance Generated Profit Profit Paid Receivable Profit Category Area Name Status Action
{{ $loop->iteration }} {{ $loan->account_id }} {{ $loan->member->m_name }} 24 Sep 2026-24 Sep 2026 {{ $loan->type == '1'? 'Fixed' : "$loan->installment_sequence Days" }} {{ $loan->profit_rate }} % {{ $loan->opening_balance }} {{ $loan->loan_amount }} {{ $loan->profit_amount }} 0 0 {{ $loan->category->title }} {{ $loan->member->area->name }} @if ($loan->status == 2) Active|Unpaid @elseif ($loan->status == 3) Closed|Paid @else Rejected @endif @role('admin|manager') @if ($loan->status == 2) @endif @endrole
Total: Avg {{ $avg_profit }} % {{ $total_opening_balance }} 00000 {{ $total_generated_profit }} 48,580
@endsection