@extends('layouts.app') @push('css') @endpush @section('content')
Topics
@foreach ($chapter as $key => $item) @endforeach
# Author Session Name Topics Name Learning Outcome Created At Action
{{ $key + 1 }} @if (isset($item->user->full_name) && !empty($item->user->full_name)) {{ $item->user->full_name }} @else @endif @if (isset($item->questionbank->title) && !empty($item->questionbank->title)) {{ $item->questionbank->title }} @else @endif {{ $item->name }} {{ $item->learning_outcome }} {{ Carbon\Carbon::parse($item->created_at)->format('d-m-Y') }} @can('chapter.edit') Edit @endcan @can('chapter.destroy') @endcan
@endsection @push('js') @endpush