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