@extends('layouts.default', ['appTopMenu' => true]) @push('scripts') @endpush @section('content') @php use Carbon\Carbon; $cur_date=date('Y-m-d'); @endphp

Online Application received in HC.

{{ $getTotalOnlineApplication }}

Offline Application received in HC.

{{ $getTotalOfflineApplication }}

Pending Application in HC.

{{ $getPendingApplication }}

@if($post_code=='113')

@php $sno=1; @endphp @if(count($getAppPendingAcceptRejectDetails)>0) @foreach($getAppPendingAcceptRejectDetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($applicationForwardSPIODetails)>0) @foreach($applicationForwardSPIODetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($getApplicationSPIODetails)>0) @foreach($getApplicationSPIODetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}
@elseif($sec_code=='341')

@php $sno=1; @endphp @if(count($getAppGeneratedPendingSPIODetails)>0) @foreach($getAppGeneratedPendingSPIODetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($getAppPendingSectionDetails)>0) @foreach($getAppPendingSectionDetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($applicationReceivesSPIODetails)>0) @foreach($applicationReceivesSPIODetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($applicationReceivedSectionDetails)>0) @foreach($applicationReceivedSectionDetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($applicationPendingCostDetails)>0) @foreach($applicationPendingCostDetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($applicationCostReceivedDetails)>0) @foreach($applicationCostReceivedDetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($getApplicationPendingLitigantDetails)>0) @foreach($getApplicationPendingLitigantDetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}
@else

@php $sno=1; @endphp @if(count($getAppPendingSectionDetails)>0) @foreach($getAppPendingSectionDetails as $val) @php $sno++; @endphp @endforeach @endif
S.No. Application No. Name Receiving Date Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ date('Y',strtotime($val->app_ent_date)) }} {{ $val->name }} {{ date('d-m-Y',strtotime($val->app_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}
@endif
@endsection