| {{ ($cases->currentpage()-1) * $cases->perpage() + $key + 1 }} |
{{ $item->caseType->case_type }} |
নাম: {{ $item->plaintiff[0]?->name }}
পিতা / স্বামী: {{ $item->plaintiff[0]?->husband_or_father }}
মোবাইল: {{ $item->plaintiff[0]?->phone }}
|
{{ $item->plaintiff[0]?->word_no }} |
আবেদনকারী: {{ $item->user_id != null ? $item->user?->name : 'Online' }}
আবেদনের সময়: {{ date('d M, Y h:i a', strtotime($item->created_at)) }}
@if($item->status == 1)
অনুমোদনকারী: {{ $item->approve_by != null ? $item->approve_by_user?->name : '' }}
অনুমোদনের সময়: {{ $item->approve_at != null ? date('d M, Y h:i a', strtotime($item->approve_at)) : '' }}
@elseif($item->status == 2)
প্রত্যাখ্যানকারী: {{ $item->approve_by != null ? $item->approve_by_user?->name : '' }}
প্রত্যাখ্যানের সময়: {{ $item->approve_at != null ? date('d M, Y h:i a', strtotime($item->approve_at)) : '' }}
@endif
|
@if($item->status == 0 && $item->payment_status == 0 && $item->application_by == 1)
Pending Payment
@elseif($item->status == 0 && $item->payment_status == 1)
Waiting for verification
@elseif($item->status == 1 && $item->payment_status == 1)
Approved
@elseif($item->status == 2)
Reject
@elseif($item->status == 3)
Solved
@endif
|
@if($item->status == 0 && $item->payment_status == 0 && $item->application_by == 1)
@php
$tooltip = 'Pending App Payment';
$btnClass = 'btn-warning';
$icon = 'fas fa-credit-card';
@endphp
@elseif($item->status == 0 && $item->payment_status == 1)
@php
$tooltip = 'View';
$btnClass = 'btn-success';
$icon = 'fas fa-eye';
@endphp
@elseif($item->status == 1 && $item->payment_status == 1)
@php
$tooltip = 'View';
$btnClass = 'btn-success';
$icon = 'fas fa-eye';
@endphp
@elseif($item->status == 2 || $item->status == 3)
@php
$tooltip = 'View';
$btnClass = 'btn-success';
$icon = 'fas fa-eye';
@endphp
@endif
@if($item->status == 0 && $item->payment_status == 1)
{{-- --}}
@endif
|
@endforeach