@extends('../layout/' . $layout) @section('subhead') Atarud MIS - Student Attendance Monthly Report @endsection @section('subcontent')

Student Attendance Monthly Report

@csrf @method('get')
Select Program Select Semester Select Section Select Course Action
{{--
--}}
@if(isset($students))

Student Monthly Attendance Report

Program: {{$data['program']->title}}     Semester: {{$data['semester']->name}}     Section: {{$data['section']->name}}     Date: {{$data['date']}}

{{--

{{$accountName[$loop->index]}}

--}}
{{--

asdfasdf

--}} @foreach($students as $row) @php $invoice = App\Models\Invoice::where('student_id', $row->id) ->where('section_id',$row->course_id) ->first(); $invoice_id = $invoice != null ? $invoice->id: ''; @endphp
# iD Student Name Invoice_id 1 Present Absent Leave Trady
{{$loop->index}} {{$row->id}} {{$row->name}} {{$invoice_id}}