@extends('../layout/' . $layout) @section('subhead') Atarud MIS - Teacher Salary Payment @endsection @section('subcontent')

Teacher Salary Payment

Teacher Courses

@php $c = 0; @endphp @foreach ( $data['subject_teach'] as $row) @php $from = new DateTime($row->from_date); $to = new DateTime($row->to_date); $ddate = $from->diff($to); $course = App\Models\Course::where('id', $row->course_id)->first(); @endphp @endforeach
# Teacher Name Course Subject Percentage Status From To
{{ ++$c }} {{ $teacher->name }} {{ $course->title }} {{ $row->subject }} {{ $row->percentage }} {{ $row->status }} {{ $row->from_date }} {{ $row->to_date }}

Payment

@csrf @method('post')
@include('../pages/course/teachingComplete') @endsection @section('script') @endsection