@extends('layouts.app') @section('content')

{{ simpleDate() }}

Filter Daily Class Implementation by Date


@csrf
Select Month and Year


@if(session('summary')) @php $monthly = session()->get('summary'); $count = 1; $dates = session()->get('dates'); $monthYear = Carbon\Carbon::parse($dates)->format('F Y'); $mnth_y = Carbon\Carbon::parse($dates)->format('Y-m'); $days = Carbon\Carbon::parse($dates)->daysInMonth; @endphp

Monthly CIR Summary of {{ $monthYear }}


See in Detail

@foreach ($monthly as $col => $month) @php $ncc = $month['conducted']; $ncs = $month['planned']; @endphp @php $count++; @endphp @endforeach
S/N. College/Institute NCS NCC NMC CIR
{{ $count }}. {{ $col }} {{ $ncs }} {{ $ncc }} {{ $month['not_conducted'] }} @php if ($ncs != 0){ $cir = round(($ncc/$ncs) * 100, 1); }else{ $cir = 0; } @endphp {{ $cir }}% View

View Individual Dates

@for ($day = 1; $day <= $days; $day++) Day {{ $day }}   @endfor
@endif
@endsection