@extends('admin.layouts.app') @section('title', 'EMI Cards | PG Finsev') @section('page-title', 'EMI Cards') @section( 'page-description', 'Manage client EMI cards' ) @push('styles') @endpush @section('content')
Generate, activate, block and manage client EMI cards.
| Client | Verification | Action |
|---|---|---|
|
{{
strtoupper(
substr(
$client->name,
0,
1
)
)
}}
{{ $client->name }}
{{ $client->email }}
@if($client->mobile)
·
{{ $client->mobile }}
@endif
|
Personal KYC Job |
| Client | Card Number | Limit | Available | Payment | Expiry | Status | Loans | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ $initial }}
{{ $name }}
@if($email)
{{ $email }}
@endif
|
{{-- CARD NUMBER --}}
{{ $card->card_number }} | {{-- LIMIT --}}₹{{ number_format( $card->card_limit ?? 0, 2 ) }} | {{-- AVAILABLE --}}
₹{{ number_format(
$card->available_limit ?? 0,
2
) }}
@if(
$card->status === 'active'
)
Available
@endif
|
{{-- PAYMENT --}}
@if($hasPaidPayment) ✓ Paid @else ⏳ Pending @endif | {{-- EXPIRY --}}@if($card->expires_at) {{ $card->expires_at->format( 'd M Y' ) }} @else - @endif | {{-- STATUS --}}@if($isExpired) Expired @else @switch($card->status) @case('pending') Pending @break @case('active') Active @break @case('blocked') Blocked @break @case('expired') Expired @break @default {{ ucfirst( $card->status ) }} @endswitch @endif | {{-- LOANS --}}@if($user && method_exists($user, 'loans')) @php $activeLoanCount = $user->loans() ->whereIn('status', ['approved', 'disbursed', 'active', 'overdue']) ->count(); @endphp @if($activeLoanCount > 0) {{ $activeLoanCount }} Active @else No Active Loan @endif @else — @endif | {{-- ACTIONS --}}