@extends('admin.admin_dashboard') @section('admin')

@foreach ($prod_objective as $key => $objective) @endforeach
Sl Product Name Chapter Title Section Question Answer Status Action
{{ $key + 1 }} {{ $objective->product->product_name }} {{ $objective->study->chapter_title }} @if ($objective->section == 1) EBook @elseif($objective->section == 2) Opening Credit @elseif($objective->section == 3) Introduction @elseif($objective->section == 4) Chapter One @elseif($objective->section == 5) Chapter Two @elseif($objective->section == 6) Chapter Three @elseif($objective->section == 7) Chapter Four @elseif($objective->section == 8) Chapter Five @elseif($objective->section == 9) Chapter Six @elseif($objective->section == 10) Chapter Seven @elseif($objective->section == 11) Chapter Eight @elseif($objective->section == 12) Chapter Nine @elseif($objective->section == 13) Chapter Ten @elseif($objective->section == 14) Chapter Eleven @elseif($objective->section == 15) Chapter Twelve @elseif($objective->section == 16) Chapter Thirteen @elseif($objective->section == 17) Chapter Fourteen @elseif($objective->section == 18) Chapter Fifteen @elseif($objective->section == 19) Chapter Sixteen @elseif($objective->section == 20) Conclusion @elseif($objective->section == 21) Closing Credit @endif {{ $objective->question }} {{ $objective->correct_answer }} @if ($objective->status == 1) Active @else Deactivated @endif @if (Auth::user()->can('product.objective.edit')) @endif @if ($objective->status == 1) @if (Auth::user()->can('product.objective.deactivate')) @endif @else @if (Auth::user()->can('product.objective.activate')) @endif @endif @if (Auth::user()->can('product.objective.delete')) @endif
Sl Product Name Section Question Answer Status Action
@endsection