@if($showInProgress)
| S.No
@if($sortField === 'id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Application Id
@if($sortField === 'c_appln_id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Service |
Application Created date
@if($sortField === 'd_create_dt')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Application Status |
Action |
@forelse($applications as $index => $application)
| {{ $applications->firstItem() + $index }} |
{{ $application->appln_code }} |
{{ $application->services[0]->serviceMaster->c_serv_long_name ?? null }} |
{{ formatDate($application->d_create_dt, 'd-m-Y H:i:s') }} |
{{ $application->status->c_status_desc??'' }}
|
@can('sandbox_apply')
@can('sandbox_view')
@endcan
@endcan
@php
$isProcessing = $application->payments->contains('c_payment_typ', 'PROCESSING');
@endphp
@switch($application->c_appln_status)
@case('PRESUBMITTED')
@can('sandbox_apply')
@if(!$isProcessing)
@endif
@endcan
@can('sandbox_apply')
@endcan
@break
@case('SAVED')
@case('PRESCRU_REVERTED')
@case('SAVE_PRESCRU_REVERTED')
@can('sandbox_apply')
@endcan
@break
@case('LOI_ISSUED')
@can('sandbox_apply')
@else
{{$application?->status?->applicant_action}}
@endcan
@break
@case('BG_ENTRY_SLOI_REVERTED')
@can('sandbox_apply')
@else
{{$application?->status?->applicant_action}}
@endcan
@break
@case('LICN_UPLOADED')
@break
@endswitch
|
@empty
| No applications found |
@endforelse
{{ $applications->links() }}
@endif
@if($showIssued)
| S.No
@if($sortField === 'id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Application Id
@if($sortField === 'c_appln_id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Company Name |
Services Name, Area & Authorisation |
{{-- Authorisation No
@if($sortField === 'c_license_no')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Effective Date
@if($sortField === 'd_effective_date')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Download | --}}
Status |
Action |
@forelse($issued as $index => $application)
@php
$appTypeInfo = $this->getAppType($application->c_app_type);
$migratedStatus = $appTypeInfo['desc'];
@endphp
| {{ $issued->firstItem() + $index }} |
{{ $application->appln_code }} |
{{ optional($application->creator)->name ?? '' }} |
|
{{-- {{ $application->c_license_no }}{{ $migratedStatus }} |
{{ formatDate($application->d_effective_date, 'd-m-Y') }} |
@if(isset($application->files[0]->c_file_name))
Download Certificate
@endif
| --}}
{{ $application->status->c_status_desc ?? '' }} |
|
@empty
| No records found |
@endforelse
{{ $issued->links() }}
@endif
@if($showRejection)
| S.No
@if($sortField === 'id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Application Id
@if($sortField === 'c_appln_id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Services Name & Area |
Application Created date
@if($sortField === 'd_create_dt')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Application Status |
Action |
@forelse($rejected as $index => $application)
| {{ $rejected->firstItem() + $index }} |
{{ $application->appln_code }} |
|
{{ formatDate($application->d_create_dt, 'd-m-Y H:i:s') }} |
{{ $application->status->c_status_desc??'' }}
|
@can('nso_apply')
@can('nso_view')
@endcan
@endcan
|
@empty
| No applications found |
@endforelse
{{ $rejected->links() }}
@endif