@extends('layouts.app') @section('content')
| # | Exercise | Type | Student | Week | Status | Assigned By | Date |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $hw->ex_name }} | {{ $hw->exercise_type }} | {{ $hw->student_id }} | {{ $hw->week_id }} | @if($hw->status == 0) Pending @else Completed @endif | {{ $hw->teacher_name }} | {{ \Carbon\Carbon::parse($hw->date)->format('d M Y') }} |