@extends('layouts.teacher')
| # | Student Name | Parent Name | Phone | Replied | Action | |||
|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ ucwords($note->student_first_name) }} {{ ucwords($note->student_last_name) }} | {{ ucwords($note->parent_first_name) }} {{ ucwords($note->parent_last_name) }} | {{ $note->parent_email }} | {{ $note->parent_phone }} | @if ($note->added_by == $note->teacher_id) YES @else NO @endif | {{--@if ($note->parent_id !== null) {{ $note->parent->email }} @else {{ $note->student->email }} @endif | @if ($note->parent_id !== null) {{ $note->parent->phone }} @else {{ $note->student->phone }} @endif | --}}view |
| {{ 'No record found' }} |