@php use App\Livewire\Wpc\Repa\AuthorisationActivityTypeEnum; use App\Livewire\Wpc\Repa\EquipmentTypeEnum; @endphp
@if($showInProgress)
@forelse($applications as $index => $application) @empty @endforelse
S.No Application Id Selected Activity Application Created date Application Status Action
{{ $applications->firstItem() + $index }} {{ $application->c_appln_id }} @php $activities = $application->mapApplicationCategory?->activities ?? []; $equipment = $application->mapApplicationCategory?->equipment ?? []; $selectedServices = collect($activities) ->map(fn ($value) => AuthorisationActivityTypeEnum::tryFrom($value)?->label()) ->filter() ->unique() ->values(); @endphp @if($selectedServices->isNotEmpty())
    @foreach($selectedServices as $service)
  • {{ $service }}
  • @endforeach
@else N/A @endif
{{ formatDate($application->d_create_dt, 'd-m-Y H:i:s') }} {{ $application->status->c_status_desc??'' }}
@can('repa_apply')
@endcan @switch($application->c_appln_status) @case('PRESUBMITTED') @can('repa_apply') @if(empty($application->payments)) @endif @endcan @can('repa_apply') @endcan @break @case('SAVED') @case('REVERTED') @case('SAVE_REVERTED') @can('repa_apply') edit @endcan @break @case('LOI_ISSUED') @can('repa_apply') @else {{$application?->status?->c_applicant_action}} @endcan @break @case('BG_ENTRY_SLOI_REVERTED') @can('repa_apply') @else {{$application?->status?->c_applicant_action}} @endcan @break @case('LICN_UPLOADED') @break @endswitch
No applications found
@if($applications->hasPages())
{{ $applications->links('pagination.repa-bootstrap') }}
@endif
@endif @if($showIssued)
@forelse($issued as $index => $application) @php $appTypeInfo = $this->getAppType($application->c_app_type); $migratedStatus = $appTypeInfo['desc']; @endphp @empty @endforelse
S.No Application Id Company Name Selected Activity Authorisation No Effective Date Download Status Action
{{ $issued->firstItem() + $index }} {{ $application->c_appln_id }} {{ optional($application->creator)->name ?? '' }} @php $activities = $application->mapApplicationCategory?->activities ?? []; $equipment = $application->mapApplicationCategory?->equipment ?? []; $selectedServices = collect($activities) ->map(fn ($value) => AuthorisationActivityTypeEnum::tryFrom($value)?->label()) ->filter() ->unique() ->values(); @endphp @if($selectedServices->isNotEmpty())
    @foreach($selectedServices as $service)
  • {{ $service }}
  • @endforeach
@else N/A @endif
{{ $application->c_license_no ? $application->c_license_no . ' ' . $migratedStatus : '' }} {{ formatDate($application->d_effective_date, 'd-m-Y') }} @php $file = $application->files->firstWhere('c_document_id', 'REPALCI01'); @endphp @if(!empty($file))
Download Certificate
@endif
{{ $application->status->c_status_desc ?? '' }}
No records found
@if($issued->hasPages())
{{ $issued->links('pagination::bootstrap-5') }}
@endif
@endif @if($showRenewal)
@forelse($renewal as $index => $application) @empty @endforelse
S.No Application Id Company Name Submitted Date Status Action
{{ $renewal->firstItem() + $index }} {{ $application->c_appln_id }} {{ optional($application->creator)->name ?? '' }} {{ formatDate($application->d_create_dt, 'd-m-Y') }} {{ $application->status->c_status_desc ?? '' }}
No records found
@if($renewal->hasPages())
{{ $renewal->links('pagination::bootstrap-5') }}
@endif
@endif @if($showSurrender)
@forelse($surrender as $index => $application) @empty @endforelse
S.No Application Id Company Name Surrender Date Status Action
{{ $surrender->firstItem() + $index }} {{ $application->c_appln_id }} {{ optional($application->creator)->name ?? '' }} {{ formatDate($application->d_surrender_dt, 'd-m-Y') }} {{ $application->status->c_status_desc ?? '' }}
No records found
@if($surrender->hasPages())
{{ $surrender->links('pagination::bootstrap-5') }}
@endif
@endif @if($showSuspension)
@forelse($suspension as $index => $application) @empty @endforelse
S.No Application Id Company Name Last Service Status Action
{{ $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 ?? '' }}
No records found
@if($suspension->hasPages())
{{ $suspension->links('pagination::bootstrap-5') }}
@endif
@endif @if($showCommencement)
@forelse($commencement as $index => $application) @empty @endforelse
S.No Application Id Company Name Approved Date Status Action
{{ $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 ?? '' }}
No records found
@if($commencement->hasPages())
{{ $commencement->links('pagination::bootstrap-5') }}
@endif
@endif @if($showNotices)

Issued Notices.

@endif @if($showReports)

General Reports.

@endif @if($showStocks)
@forelse($stocks as $index => $stock) @empty @endforelse
S.No Model Manufacturer Total Quantity Sold Quantity Balance Quantity Action
{{ $stocks->firstItem() + $index }} {{ $stock->c_model }} {{ $stock->c_make }} {{ $stock->n_quantity_received }} {{ $stock->n_quantity_sold }} {{ $stock->n_quantity_bal }}
No records found
@if($stocks->hasPages())
{{ $stocks->links('pagination::bootstrap-5') }}
@endif
@endif
    @for ($i = 1; $i <= 34; $i++)
  • {{$i}}. {{ config("tooltip.authorisation.$i") }}
  • @endfor
@if($showStockModal) @endif
@push('scripts') @endpush