{{ $eligibility->id }} |
{{ $eligibility->name }} |
{{ $eligibility->certificate_name}} |
{{ $eligibility->education_level}} |
{{ $eligibility->course_title }} |
{{ $eligibility->job_title}} |
{{ $eligibility->working_period_start_month }} - {{ $eligibility->working_period_end_month }} |
@php
$status = strtolower($eligibility->status);
$badgeClass = '';
switch($status) {
case 'process':
$badgeClass = 'badge bg-warning';
break;
case 'pending':
$badgeClass = 'badge custom-bg-orange';
break;
case 'approved':
$badgeClass = 'badge green-approval';
break;
case 'rejected':
$badgeClass = 'badge bg-danger';
break;
default:
$badgeClass = 'badge bg-warning';
}
@endphp
{{ ucfirst($status) }}
|
@php
$paid = strtolower($eligibility->paid);
$badgeClass = '';
switch($paid) {
case 'due':
$badgeClass = 'badge bg-warning';
break;
case 'paid':
$badgeClass = 'badge green-approval';
break;
case 'rejected':
$badgeClass = 'badge bg-danger';
break;
default:
$badgeClass = 'badge bg-warning';
}
@endphp
{{ ucfirst($paid) }}
|
Update
|
@endforeach