@extends('../layout/' . $layout)
@section('subhead')
Atarud MIS - Course Details
@endsection
@section('subcontent')
Profile: ({{ $course->title }})
Name |
{{ $course->title }} |
Start Date |
{{ $course->start_date }} |
End Date |
{{ $course->endingDate }} |
Start Time |
{{ $course->time_start }} |
End Time |
{{ $course->end_time }} |
Teachers
# |
Teacher Name |
From |
Date |
Status |
@php
$c = 0;
@endphp
@foreach ( $data['teachers'] as $row)
@php
$teacher = App\Models\Teacher::where('id', $row->teacher_id)->first();
@endphp
{{ ++$c }} |
{{ $teacher != null ? $teacher->name : '' }} |
{{ $row->from_date }} |
{{ $row->to_date }} |
{{ $row->status }} |
@endforeach
Students Information
# |
ID |
Name |
Father Name |
Status |
Invoice |
@php
$c = 0
@endphp
@foreach ( $data['students'] as $row)
@php
$student = App\Models\Student::where('id', $row->student_id)->first();
$invoice = App\Models\Invoice::where('student_id', $row->student_id)->where('section_id', $row->course_id)->first();
@endphp
{{ ++$c }} |
{{ $row->student_id }} |
{{ $student != null ? $student->name : '' }} |
{{ $student != null ? $student->father_name : '' }} |
{{ $row->status }} |
@if ($invoice == null)
Add Invoice
@endif
|
@endforeach
@endsection
@section('script')
@endsection