@php use App\Models\Student; @endphp {{$status}} Students - Dreamers Academy
@if (Auth::guard('web')->user()->can('students.add')) Add New @endif
@if($status == 'Terminated') @else @endif @foreach($students as $student) @if($status == 'Terminated') @else @endif @endforeach
Student Info Class Info Payment InfoTerminated OnAdmitted OnNotes
user()->can('students.edit')) href="/students/{{$student->id}}/edit" @endif> {{ $student->student_name }}
  {{ $student->email }},
  {{ $student->student_id }},
  {{ $student->phone }},  Call
  {{ $student->gender }},
  {{ Student::status($student->status) }}
 {{ $student->class_name }} ({{ $student->teacher_name }}),

{{ $student->schedule_info }}

  {{ $student->coordinatorName }},
 Started At : {{ $student->class_start_date}},
 Total Classes : {{$student->no_of_classes}}
Active Payments : {{ $student->active_payment == 1 ? 'Yes' : 'No' }},
Payable Amount : {{ $student->payable_amount }},
Payment Status : {{ $student->payment_status }},
Due Date : {{ $student->due_date }},
Due Installments : {{ $student->due_installments }} Month(s)
Due For Months : {{ $student->due_for_months }}
{{Carbon\Carbon::parse($student->terminated_on)->format('D d M, Y')}} At
{{Carbon\Carbon::parse($student->terminated_on)->addHours(6)->format('h:i A')}}
{{ date('d M, Y', strtotime($student->admitted_on ))}} At
{{date('h:i A', strtotime($student->admitted_on." +6 hours" )) }}
@foreach($note_histories as $note_history) @if($student->id == $note_history->student_id) {{ $note_history->note }} - [{{ $note_history->stenographer->name }} on {{date('M d, Y', strtotime($note_history->created_at. ' + 6 hours'))}} at {{date('h:i A', strtotime($note_history->created_at. ' + 6 hours'))}}]
@endif @endforeach