@if($showInProgress)
| 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($applications as $index => $application)
| {{ $applications->firstItem() + $index }} |
{{ $application->appln_code}}
|
|
{{ isset($application->d_create_dt) ? formatDate($application->d_create_dt, 'd-m-Y H:i:s') : '-' }} |
@if(in_array($application->c_appln_id, ['MIS20260020', 'MIS20260033']))
Application could not be processed due to a technical glitch. For technical assistance, please contact the help desk at +91 11 2335 0020/25.
|
@else
{{ $application->status->c_status_desc ?? '-' }} |
@endif
@can('pmrts_apply')
@can('pmrts_view')
{{-- --}}
@endcan
@else
@endcan
@if(in_array($application->c_appln_status,['SAVED','PRESCRU_REVERTED','SAVE_PRESCRU_REVERTED']))
@can('pmrts_apply')
@endcan
@endif
@if(in_array($application->c_appln_status, ['PRESUBMITTED']))
@can('pmrts_apply')
@if(!$application->payments->contains('c_payment_typ', 'PROCESSING'))
@endif
@endcan
@endif
@if(in_array($application->c_appln_status,['LOI_ISSUED','BG_ENTRY_SLOI_REVERTED']))
@can('pmrts_apply')
@endcan
@endif
@if(in_array($application->c_appln_status,['LICN_UPLOADED']))
@endif
|
@empty
| No applications found |
@endforelse
{{ $applications->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
@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 |
Status |
Action |
@forelse($issued as $index => $application)
@php
$appTypeInfo = $this->getAppType($application->c_app_type);
$migratedStatus = $appTypeInfo['desc'];
@endphp
@if($application->c_appln_status == 'REJECTED')
@php
$migratedStatus = null;
@endphp
@endif
| {{ $issued->firstItem() + $index }} |
{{$application->appln_code}}
|
{{ optional($application->creator)->name ?? '' }} |
|
{{ $application->status->c_status_desc ?? '' }} |
|
@empty
| No records found |
@endforelse
{{ $issued->links() }}
@endif
@if($showRenewal)
| S.No |
Application Id |
Company Name |
Submitted Date |
Status |
Action |
@forelse($renewal as $index => $application)
| {{ $renewal->firstItem() + $index }} |
{{ $application->c_appln_id }} |
{{ optional($application->creator)->name ?? '' }} |
{{ formatDate($application->d_create_dt, 'd-m-Y') }} |
{{ $application->status->c_status_desc ?? '' }} |
|
@empty
| No records found |
@endforelse
{{ $renewal->links() }}
@endif
@if($showSurrender)
| S.No |
Application Id |
Company Name |
Surrender Date |
Status |
Action |
@forelse($surrender as $index => $application)
| {{ $surrender->firstItem() + $index }} |
{{ $application->c_appln_id }} |
{{ optional($application->creator)->name ?? '' }} |
{{ formatDate($application->d_surrender_dt, 'd-m-Y') }} |
{{ $application->status->c_status_desc ?? '' }} |
|
@empty
| No records found |
@endforelse
{{ $surrender->links() }}
@endif
@if($showSuspension)
| S.No |
Application Id |
Company Name |
Last Service |
Status |
Action |
@forelse($suspension as $index => $application)
| {{ $suspension->firstItem() + $index }} |
{{ $application->c_appln_id }} |
{{ optional($application->creator)->name ?? '' }} |
{{ optional(optional($application->services->first())->serviceMaster)->c_serv_short_name ?? '' }} |
{{ $application->status->c_status_desc ?? '' }} |
|
@empty
| No records found |
@endforelse
{{ $suspension->links() }}
@endif
@if($showCommencement)
| S.No |
Application Id |
Company Name |
Approved Date |
Status |
Action |
@forelse($commencement as $index => $application)
| {{ $commencement->firstItem() + $index }} |
{{ $application->c_appln_id }} |
{{ optional($application->creator)->name ?? '' }} |
{{ formatDate($application->d_service_start_appr_dt, 'd-m-Y') }} |
{{ $application->status->c_status_desc ?? '' }} |
|
@empty
| No records found |
@endforelse
{{ $commencement->links() }}
@endif
@if($showNotices)
@endif
@if($showReports)
@endif
@if($showSpmApproval && app()->environment(['local', 'development']))
| S.No
@if($sortField === 'id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Application Id
@if($sortField === 'c_appln_id')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Company Name |
M2M Authorisation No
|
Operational Date
@if($sortField === 'd_effective_date')
{{ $sortDirection === 'asc' ? '↑' : '↓' }}
@endif
|
Submitted On |
SPM Platform Location |
Status |
Action |
@forelse($spmApproval as $index => $application)
| {{ $spmApproval->firstItem() + $index }} |
{{ $application->c_appln_id }}
|
{{ optional($application->mapUsers)->name ?? '' }} |
{{ $application->mapServiceTrans->c_license_no }} |
{{ formatDate($application->operational_date, 'd-m-Y') }} |
{{ formatDate($application->updated_at, 'd-m-Y H:i:s') }} |
{{ $application->spm_location }} |
{{ $application->mapStatus->c_status_desc ?? '' }} |
@php
$encodedAppId = encode_id($application->id);
$encodedApplicationId = encode_id($application->mapServiceTrans->c_appln_id);
$encodedId = encode_id($application->mapServiceTrans->id);
@endphp
@php
$paymentStatus = $application->mapPayments?->c_status;
$hasPaid = in_array($paymentStatus, ['SUCC', 'INS']);
$isEditableStatus = in_array($application->c_appln_status, ['SPM_PRESUBMITTED', 'SPM_SAVED']);
$isReverted = ($application->c_appln_status === 'SPM_PRESCRU_REVERTED');
$canEdit = $isReverted || ($isEditableStatus && !$hasPaid);
@endphp
@if($canEdit)
@endif
@if(in_array($application->c_appln_status, ['SPM_PRESUBMITTED']))
@endif
@if(in_array($application->c_appln_status, ['SPM_SUBMITTED', 'SPM_SCRUTINY_VERIFIED', 'SPM_RESUBMITTED']))
@endif
|
@empty
| No records found |
@endforelse
{{ $issued->links() }}
@endif