@extends('layout.report', ['max_width' => '100%']) @section('report')

Students Report

@if($batch != null)
Batch: {{ $batch->batch_name }}          Start Date: {{ date('d-m-Y', strtotime($batch->start_date))}}           Expected End Date: {{ date('d-m-Y', strtotime($batch->start_date . " +2 year"))}}

@else
                             {{ 'exported at: ' . date('d-m-Y H:i') }}
@endif @if($status == 0 || $status == 3 || $status == 4 || $status == 5 ) @endif @foreach ($students->whereNull('deleted_at') as $student) @if($status == 0 || $status == 3 || $status == 4 || $status == 5 ) @endif @endforeach
# Name Phone Email IDDate
{{ $loop->iteration }} {{ $student->user->name }} {{ $student->user->phone }} {{ $student->user->email }} {{ $student->user->id_number }}{{ $student->updated_at->format('d-m-Y') }}
@endsection