@if($showLandingPage)
{{-- ── Application Type Toggle ── --}}
{{-- ── Fresh Section ── --}} @if($applicationType === 'fresh')
@endif {{-- ── Amendment / Surrender Section ── --}} @if($applicationType === 'amendment')
{{-- License Type --}}
{{-- WOL No --}}
@if(!empty($landingErrors['wolNo']))
{{ $landingErrors['wolNo'] }}
@endif
{{-- Amendment Type --}}
@if(!empty($landingErrors['amendmentType']))
{{ $landingErrors['amendmentType'] }}
@endif
@endif {{-- ── Go Button ── --}}
@endif @if($showInProgress)
@forelse($applications as $index => $application) @empty @endforelse
S.No Application Id Application Type Submitted Date Application Status Action
{{ $applications->firstItem() + $index }} {{ $application->c_appln_id }} {{ $application->c_lictyp_id=='NT0411'? "Non-Dealer Possession Licence (NDPL)":"Dealer Possession Licence (DPL)" }} {{ formatDate($application->created_at, 'd-m-Y') }} {{ $application->status->c_status_desc ?? '' }}
@can('dpl_apply')
@else email @endcan @switch($application->c_appln_status) @case('SUBMITTED') @can('dpl_view') {{----}} @endcan @break @case('VERIFIED') @can('dpl_view') {{ $application->status->c_applicant_action??'' }} @endcan @break @case('LICENSE_GENERATED') @can('dpl_view') {{ $application->status->c_applicant_action??'' }} @endcan @break @case('LICENSE_ISSUED') @break @case('PRESUBMITTED') @can('dpl_apply') @endcan @break @case('SAVED') @case('REVERTED') @case('PRESUBMITTED') @case('SAVE_PRESCRU_REVERTED') @can('dpl_apply') @endcan @break @case('LOI_ISSUED') @can('dpl_apply') @else {{$application?->status?->applicant_action}} @endcan @break @case('BG_ENTRY_SLOI_REVERTED') @can('dpl_apply') @else {{$application?->status?->applicant_action}} @endcan @break @case('LICN_UPLOADED') @break @endswitch
No applications found
@if($applications->hasPages())
{{ $applications->links('pagination::bootstrap-5') }}
@endif
@endif @if($showIssued)
@forelse($issued as $index => $application) @empty @endforelse
S.No Application Id License No Application Type Application Submitted Date Validity Date Application Status Action
{{ $issued->firstItem() + $index }} {{ $application->c_appln_id }} {{ $application->c_wol_no }} {{ $application->c_lictyp_id }} {{ formatDate($application->d_wol_issue_dt, 'd-m-Y') }} {{ formatDate($application->d_wol_val_dt, 'd-m-Y') }} {{ $application->status->c_status_desc ?? '' }}
No records found
@if($issued->hasPages())
{{ $issued->links('pagination::bootstrap-5') }}
@endif
@endif @if($showStocks)
@forelse($stocks as $index => $application) @empty @endforelse
S.No Model Manufacturer Total Quantity Sold Quantity Balance Quantity Action
{{ $issued->firstItem() + $index }} {{ $application->c_model }} {{ $application->c_make }} {{ $application->n_quantity_received }} {{ $application->n_quantity_sold }} {{ $application->n_quantity_bal }}
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($showStockModal) @endif
@push('scripts') @endpush