@php $typeMap = [ 'noccfp' => 'NOCCFP', 'mpvt' => 'MPVT', 'noccul' => 'NOCCUL', ]; $filteredApplications = $applications->filter( fn($app) => $app->c_lictyp_id === ($typeMap[$mainTab] ?? '') ); $filteredInProcess = $inProcess->filter( fn($app) => $app->c_lictyp_id === ($typeMap[$mainTab] ?? '') ); $filteredInHistories = $inHistories->filter( fn($app) => $app->c_lictyp_id === ($typeMap[$mainTab] ?? '') ); @endphp
{{-- NOCCFP --}} @if($mainTab === 'noccfp')
@include("livewire.smc-clearance.scrutiny.application-type.noccfp-type")
@endif @if($mainTab === 'mpvt')
@include("livewire.smc-clearance.scrutiny.application-type.mpvt-type")
@endif @if($mainTab === 'noccul')
@include("livewire.smc-clearance.scrutiny.application-type.noccul-type")
@endif
@if($issueLicenseModal) @endif
@push('scripts') @endpush