@extends('layouts.teacher') {{ config('app.name', 'Laravel') }} | Teacher | Students @section('main-content')
@if (Session::has('success')) @endif

Student / {{ isset($studentdetail->first_name) ? ucwords($studentdetail->first_name) : ' ' }} {{ isset($studentdetail->last_name) ? ucwords($studentdetail->last_name) : ' ' }}

@if (isset($studentimages) && count($studentimages) > 0) @foreach ($studentimages as $key => $data)

{{ dateformatter($key) }}

{!! isset($activty_description[$key][0]->description) ? nl2br(e($activty_description[$key][0]->description)) : '' !!}

@foreach ($data as $val) activity_image @endforeach
@endforeach @elseif (isset($activty_description) && count($activty_description) > 0) @foreach ($activty_description as $key => $data)

{{ dateformatter($key) }}

{!! isset($data[0]->description) ? nl2br(e($data[0]->description)) : '' !!}

@endforeach @else
No Activity Found.
@endif
@endsection