@extends('admin.layouts.simple.master') @section('title', 'Students') @section('css') @endsection @section('style') @endsection @section('breadcrumb-title')

All Students

@endsection @section('breadcrumb-items') @endsection @section('content')
Students
Add Student
@if(Session::has('message')) @endif
@foreach($students as $key => $student) @endforeach
# Image User Name/ID Batch Contact Email Father/Guardian Name Pay Status/Fees Status Action
{{ $key}} {{ ($student->name != null) ? $student->name : '--' }} ({{$student->id}}) {{ ($student->batch_id != null) ? $student->batch->name.'-'.$student->batch->batch_id : '--' }} {{ ($student->contact != null) ? $student->contact : '--' }} {{ ($student->email != null) ? $student->email : '--' }} {{ ($student->guardian_name != null) ? $student->guardian_name : '--' }} {{ ($student->pay_status == 1) ? 'Paid ('.$student->fees_amount.')' : 'Un-Paid' }} {{ ($student->status == 1) ? 'Active' : 'In Active' }}
@endsection @section('script') @endsection