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

Online Application received in @if($estb_code=='1' || $estb_code=='2' || $estb_code=='3' ) HC. @else DC. @endif

{{ $getTotalOnlineApplication }}

Offline Application received in @if($estb_code=='1' || $estb_code=='2' || $estb_code=='3' ) HC. @else DC. @endif

{{ $getTotalOfflineApplication }}

Pending Application in @if($estb_code=='1' || $estb_code=='2' || $estb_code=='3' ) HC. @else DC. @endif

{{ $getPendingApplication }}

@else

Total Application received

{{ $getSectionPendingApplication }}

@endif
@if($post_code=='764' || $post_code=='767')

@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_ent_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_ent_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}

@php $sno=1; @endphp @if(count($getAppPendingAcceptRejectEDetails)>0) @foreach($getAppPendingAcceptRejectEDetails 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_ent_date)) }} @php $toDate = Carbon::parse($cur_date); $fromDate = Carbon::parse($val->app_ent_date); $days = $toDate->diffInDays($fromDate); @endphp {{ $days }}
@elseif($sec_code=='341')

@php $sno=1; @endphp @if(count($getApplicationNoNotGeneratedTransferDetails)>0) @foreach($getApplicationNoNotGeneratedTransferDetails as $val)
S.No. Application No. Name Fater Name Establishment Name Pending (No. of Days)
{{ $sno }} {{ $val->app_id }}-{{ $val->app_ent_year }} {{ $val->name }} {{ $val->f_name }}